grub引导iso镜像硬盘安装Deepin2015问题
Tofloor
poster avatar
aceking
deepin
2016-01-12 22:03
Author
之前基于Ubuntu的iso文件(/casper/vmlinuz,/casper/initrd.lz)成功安装,现在基于Debian的iso镜像启动时加载(/live/vmlinuz,/live/initrd.lz)内核失败,谁知道什么原因?
镜像内核的问题吗?

Reply Favorite View the author
All Replies
avatar
linux0208
deepin
2016-01-13 14:16
#1
grub配置应该改一改,类似这样的
menuentry "Deepin 2015 ISO" {
set isofile="/ISO/deepin-15-amd64.iso"
search --set -f $isofile
loopback loop $isofile
linux (loop)/live/vmlinuz.efi boot=live union=overlay username=user live-config  findiso=$isofile locales=zh_CN.UTF-8 quiet splash nomodeset
initrd (loop)/live/initrd.lz
}
Reply View the author
Comments
aceking
2016-01-13 18:15
我选项没加全,已解决,安装成功,谢谢.
aceking
2016-01-13 15:31
我使用的i386镜像,你亲测能成功?我改过了也不行
avatar
aceking
deepin
2016-01-13 15:29
#2
https://bbs.deepin.org/post/35941
grub配置应该改一改,类似这样的
menuentry "Deepin 2015 ISO" {
set isofile="/ISO/deepin-15-amd64.iso"

已经改过了,内核加载卡到initramfs
Reply View the author
avatar
aceking
deepin
2016-01-13 15:33
#3
/etc/grub.d/40_custom文件

  1. #!/bin/sh
  2. exec tail -n +3 $0
  3. # This file provides an easy way to add custom menu entries.  Simply type the
  4. # menu entries you want to add after this comment.  Be careful not to change
  5. # the 'exec tail' line above.
  6. menuentry "Deepin Live 15 i386"  {
  7. set isoname="deepin-15-i386.iso"
  8. set isofile="/deepin-15-i386.iso"
  9. loopback loop $isofile
  10. linux (loop)/live/vmlinuz boot=live findiso=${isofile} config quiet splash
  11. initrd (loop)/live/initrd.lz
  12. }
  13. ~            
Copy the Code



Reply View the author
avatar
linux0208
deepin
2016-01-13 16:04
#4
你改的和我发的不一样,参数不一样,建议复制过去再改一改
Reply View the author
avatar
aceking
deepin
2016-01-13 18:13
#5
https://bbs.deepin.org/post/35941
/etc/grub.d/40_custom文件

加上union=overlay可以了.二楼正解.
Reply View the author