|
|
情况是这样的
本机原来的硬盘(主盘hda)装有ubuntu6.06+xp- [/CODE]
- 引导程序grub装载在hda MBR
- 昨儿又装了一块硬盘(从盘hdb)
- 昨天在从盘上装了gentoo 2006.0
- hdb的分区是这样的
- hdb1 /boot 100M
- hdb2 / 7.8G
- hdb3 swap 256M(这是以前在旧电脑上分好的,有点小,没修改)
- 安装gentoo的时候没有安装grub
- 想直接从hda的grub引导gentoo,可是不成功(注:ubuntu和XP可正常引导)
- 总是有这样的提示:
- [QUOTE]
- [color="Red"]VFS: cannot open root device "hdb2" or unknown-block(0,0)
- please append a correct "root=" boot option
- kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0)[/color]
- [/QUOTE]
- google了半天,据说这样的提示可能是因为编译内核的时候有些模块没有加载的缘故,也尝试了重新编译,可错误依然。
- 请高手支招吧,折腾到快天亮才睡,还是没有搞好。。。。
- 附上ubuntu下的menu.list
- [CODE]
- title Ubuntu, kernel 2.6.15-26-386
- root (hd0,5)
- kernel /vmlinuz-2.6.15-26-386 root=/dev/hda8 ro quiet splash
- initrd /initrd.img-2.6.15-26-386
- savedefault
- boot
- title Ubuntu, kernel 2.6.15-26-386 (recovery mode)
- root (hd0,5)
- kernel /vmlinuz-2.6.15-26-386 root=/dev/hda8 ro single
- initrd /initrd.img-2.6.15-26-386
- boot
- title Ubuntu, kernel 2.6.15-23-386
- root (hd0,5)
- kernel /vmlinuz-2.6.15-23-386 root=/dev/hda8 ro quiet splash
- initrd /initrd.img-2.6.15-23-386
- savedefault
- boot
- title Ubuntu, kernel 2.6.15-23-386 (recovery mode)
- root (hd0,5)
- kernel /vmlinuz-2.6.15-23-386 root=/dev/hda8 ro single
- initrd /initrd.img-2.6.15-23-386
- boot
- title Ubuntu, memtest86+
- root (hd0,5)
- kernel /memtest86+.bin
- boot
- ### END DEBIAN AUTOMAGIC KERNELS LIST
- title Gentoo linux 2.6.17-r4
- root (hd1,0)
- kernel /boot/bzImage root=/dev/hdb2
- # This entry automatically added by the Debian installer for a non-linux OS
- # on /dev/hda1
- title Microsoft Windows XP Professional
- root (hd0,0)
- savedefault
- makeactive
- chainloader +1
复制代码 |
|