grub4dos引导ubuntu的iso,can't open /dev/sr0:No medium found的解决方案
(2011-09-20 11:09:31)
标签:
杂谈 |
分类: linux |
做过很多次u盘的安装盘了,ubuntu也已经安装了N多次了,这次做多系统启动盘遇到问题,ubuntu在启动内核之后找不到iso文件,这个问题的menu.lst是这么写的:
title install ubuntu-10.04-desktop-i386.iso
#find --set-root /boot/iso/
#find --set-root --ignore-floppies --ignore-cd
/ubuntu-10.04-desktop-i386.iso
find --set-root --ignore-floppies --ignore-cd
/ubuntu-10.04-desktop-i386.iso
#map /ubuntu-10.04-desktop-i386.iso || map --mem
/ubuntu-10.04-desktop-i386.iso (0xff)
map /boot/iso/ubuntu-10.04-desktop-i386.iso (0xff) || map
/ubuntu-10.04-desktop-i386.iso (0xff)
kernel /vmlinuz boot=casper
iso-scan/filename=ubuntu-10.04-desktop-i386.iso
initrd /initrd.lz
boot
包括注释在内的几种都测试过了,都不行,一样的错误。我曾经做过硬盘的启动。最后终于发现了问题所在,不能用find的方式去set
root,原因我不知道,反正结果就是不行,可以将menu.lst改成一下:
title Install ubuntu
root (hd0,3)
kernel /vmlinuz boot=casper
iso-scan/filename=/ubuntu-10.04-desktop-i386.iso ro quiet splash
locale=zh_CN.UTF-8
initrd /initrd.lz
boot
其中root (hd0,3)是我的u盘的位置,根据个人需要修改,一般u盘启动的话都是一样的,可以不用修改。
enjoy your ubuntu!