|
|
已解决Post by aiyi
试试这样:
title=Debian GNU/Linux, kernel 2.6.16-2-k7
kernel (hd0,5)/boot/vmlinuz-2.6.16-2-k7 root=/dev/hda6 ro
initrd (hd0,5)/boot/initrd.img-2.6.16-2-k7
使用以上方法,改变 (hd0,5)的位子,引导成功
原帖如下:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
用Gentoo的grub无法引导Debian Testing,但Debian的grub能正常引导Gentoo。
由于以前机子上一直有Debian,安装Gentoo后理所当然的用Debian的Grub引导,所以才注意到这个现象。
硬件环境:
hda2 ext2 Gentoo /boot
hda3 ext3 Gentoo /
hda6 ext3 Debian
出错信息:- Booting command-list
- root (hd0,5)
- Filesystem type is ext2fs, partition type 0x83 //说明grub已正确识别了Debian的分区
- kernel /boot/vmlinuz-2.6.16-2-k7 root=/dev/hda6 ro
- [Linux-bzImage, setup=0x1e00, size=0x117719]
- initrd /boot/initrd.img-2.6.16-2-k7
- [linux-initrd @ 0x2fbc2000, 0x42d613 bytes]
- savedefault
- Error 15: File not found
- Press any key to continue...
复制代码
Gentoo grub.conf And Debian menu.list
- default 0
- timeout 5
- title=Gentoo Linux x86
- root (hd0,1)
- kernel /boot/kernel-2.6.17-gentoo-r7 root=/dev/hda3
- title=Gentoo kernel-testing
- root (hd0,1)
- kernel /boot/kernel-testing root=/dev/hda3
- title=Debian GNU/Linux, kernel 2.6.16-2-k7
- root (hd0,5)
- kernel /boot/vmlinuz-2.6.16-2-k7 root=/dev/hda6 ro
- initrd /boot/initrd.img-2.6.16-2-k7
- savedefault
- boot
- title=Windows XP
- rootnoverify (hd0,0)
- makeactive
- chainloader +1
复制代码 |
|