hsl9999 发表于 2005-3-2 22:00:05

启动gentoo后出错,救命。

最初挂载如下:
# mount /dev/sda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/sda1 /mnt/gentoo/boot

grub.conf如下:
-----------content of grub.conf-------------------
default 0
timeout 15
color cyan/blue white/blue

title=Gentoo Linux 2.6.7-r11
root (hd0,0)
kernel /boot/kernel-2.6.7-gentoo-r11 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3
initrd /boot/initrd-2.6.7-gentoo-r11

grub如下:
root (hd0,0)
setup (hd0,0)
quit

错误提示如下:
>>Block Device /dev/sda3 is not valid root device...
>>The root block device is unspecified or not deteced.
Please specify a device to boot . or "shell" for shell

skyfolly 发表于 2005-3-2 22:14:54

你用什么编译KERNEL?最好你确定你的SATA驱动装好了,最好手动编译KERNEL。

BOOT入LIVECD,可以进行chroot.




试试用这个

kernel /boot/kernel-2.6.7-gentoo-r11 root=/dev/sda3
initrd /boot/initrd-2.6.7-gentoo-r11

hsl9999 发表于 2005-3-2 22:51:28

kernel /boot/kernel-2.6.7-gentoo-r11 root=/dev/sda3
initrd /boot/initrd-2.6.7-gentoo-r11

用这个不行:(

要装SATA?我都没动过。

herngwah 发表于 2005-3-3 09:27:35

看看 ls -l /dev/sda3

hsl9999 发表于 2005-3-3 09:35:39

现在直接进GRUB了,不能用 ls -l /dev/sda3
用了也是无效,会不会在安装的时候要注意什么呢?

herngwah 发表于 2005-3-3 10:21:16

BOOT入LIVECD看看,

试试用statis:
/etc/conf.d/rc 內
RC_DEVICES="statis"

hsl9999 发表于 2005-3-3 10:26:34

我用VM装Gentoo,载入CD镜像没用,直接转到GRUB.
该怎么进?谢谢

herngwah 发表于 2005-3-3 10:51:20

能挂载嗎?

skyfolly 发表于 2005-3-3 11:16:28

SDX!!!!明显你用的是SATA或SCSI,怎么不用在KERNEL选择适当的DRIVER?

GENKERNEL一定程度不能自动辨认出DRIVER,看看MB的是什么SATA吧

VM???

8O

That does not need me in that case.

hsl9999 发表于 2005-3-3 11:37:24

看看MB的是什么SATA,什么意思?
我要重新安装吗?
Device Drivers---> SCSI device support ---> SCSI lowlevel drivers --->
BusLogic SCSI support
这个我已经打上“*”了,还要注意什么?

skyfolly 发表于 2005-3-3 11:48:52

算了,VM!我的回复到此为止

hsl9999 发表于 2005-3-3 11:51:36

好,不管怎么还是谢谢你!

fudaming 发表于 2005-3-3 12:03:08

Re: 启动gentoo后出错,救命。


grub.conf如下:
-----------content of grub.conf-------------------
default 0
timeout 15
color cyan/blue white/blue

title=Gentoo Linux 2.6.7-r11
root (hd0,0)<-- 我不知道sata怎么样,但是这个没有问题吗?
........
grub如下:
root (hd0,0)
setup (hd0,0)
quit

错误提示如下:
>>Block Device /dev/sda3 is not valid root device...
>>The root block device is unspecified or not deteced.
Please specify a device to boot . or "shell" for shell

hsl9999 发表于 2005-3-3 12:42:19

root (hd0,0) 是要用这个,不然用其他的不行
会出现错误在grub中:
执行:setup (hd0,0)
提示如下:
checking if "/boot/grub/stage1 exits ....no
checking if "/grub/stage1 exits ....no

Error 15 file is not found
页: [1]
查看完整版本: 启动gentoo后出错,救命。