分页: 1 / 1

[已解决] 关于Grub启动 kernel 2.6.24-22 的问题

发表于 : 2008-12-07 23:14
Sonic.XP
前几天我把ubuntu从.disk文件复制到了物理硬盘里,windows下装了grub4dos,把ubuntu /boot/grub/menu.lst的内容复制到了c:\boot\grub\menu.lst中
今天更新2.6.24-22内核后 我将c:\boot\grub\menu.lst 修改为如下信息:

代码: 全选

title		Ubuntu 8.04.1, kernel 2.6.24-22-generic
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.24-22-generic root=UUID=a3cbcd8a-d22b-4998-95e6-0409c3b7daeb ro quiet splash
initrd		/boot/initrd.img-2.6.24-22-generic

title		Ubuntu 8.04.1, kernel 2.6.24-22-generic (recovery mode)
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.24-22-generic root=UUID=a3cbcd8a-d22b-4998-95e6-0409c3b7daeb ro single
initrd		/boot/initrd.img-2.6.24-22-generic

title		Ubuntu 8.04.1, kernel 2.6.24-21-generic
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.24-21-generic root=UUID=a3cbcd8a-d22b-4998-95e6-0409c3b7daeb ro quiet splash
initrd		/boot/initrd.img-2.6.24-21-generic

title		Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.24-21-generic root=UUID=a3cbcd8a-d22b-4998-95e6-0409c3b7daeb ro single
initrd		/boot/initrd.img-2.6.24-21-generic
但发现2.6.24-22无法启动,2.6.24-21可以正常启动

grub提示是在
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=a3cbcd8a-d22b-4998-95e6-0409c3b7daeb ro quiet splash 行后
提示Error 15: File not found
但 2.6.24-21 可以正常启动
更新了grub4dos 0.4.4亦是如此

麻烦各位看看这该如何解决?

Re: [求助] 关于Grub启动 kernel 2.6.24-22 的问题

发表于 : 2008-12-09 18:04
Sonic.XP
修改了下 错误提示是error15: file not found

Re: [求助] 关于Grub启动 kernel 2.6.24-22 的问题

发表于 : 2008-12-09 19:55
fei3ban
如果你的-21可以启动,-22不能启动。提示是很清楚的:文件没有找到!file not found
你在grub下,用find /boot/vmlinuz-2.6.24-22-generic,找下有没有,initrd.img-2.6.24-22-generic也一起找下就知道了

Re: [求助] 关于Grub启动 kernel 2.6.24-22 的问题

发表于 : 2008-12-09 22:08
Sonic.XP
呃,搞定了
是我从.disk转移到物理硬盘 修改/etc/fstab时把 /host/boot mount到/boot 上了
所以在系统里看文件存在而grub找不到文件

Re: [求助] 关于Grub启动 kernel 2.6.24-22 的问题

发表于 : 2008-12-20 23:45
ws_105
Sonic.XP 写了:呃,搞定了
是我从.disk转移到物理硬盘 修改/etc/fstab时把 /host/boot mount到/boot 上了
所以在系统里看文件存在而grub找不到文件
fstab 中的条目会影响 Grub 引导时候寻找文件吗? :em23