加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

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!

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有