|
发表于 2004-4-24 23:14:07
|
显示全部楼层
最初由 vvlaw 发表

是我书写错了,两边都有空格。
关于这个
default 0
timeout 15
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
title=Gentoo Linux 1.4 Release (kernel-2.4.23-pre8-gss)
root (hd0,6)
kernel /boot/linux-2.4.23_pre8-gss root=/dev/hda7 hdc=ide-scsi vga=791
title=Windows 98 SE
root (hd0,0)
chainloader +1
-------------------------------------------
的
kernel /boot/linux-2.4.23_pre8-gss root=/dev/hda7
该写的kernel文件是什么?
----------------------------------------
还有grub写的内核文件在哪里?
我写
grub> kernel /boot/linux-2.4.20-gentoo-r5 ro root=/dev/hdb5 hdc=ide-scsi
会提示文件没有找到
Error : Files not Found.
grub> setup (hd0)
会出现失败
checking if "/boot/grub/stage1" exists...yes
checking if "/boot/grub/stage2" exists...yes
checking if "/boot/grub/reiserfs-tage1-5(hd0,0)"...failed(this is not fatal)
checking if "/boot/grub/reiserfs-tage1-5(hd0,4"...failed(this is not fatal)
Running"install /boot/grub/stage1(hd0,0) /boot/grub/stage2 p /boot/grub/grub.conf"...succeeded
Done.
hda5和hda7,到底哪个是gentoo的根分区?你是不是还有个/boot的分区?请贴出/etc/fstab看看。 |
|