找回密码
 注册
查看: 656|回复: 13

启动gentoo后出错,救命。

[复制链接]
发表于 2005-3-2 22:00:05 | 显示全部楼层 |阅读模式
最初挂载如下:
# 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
发表于 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
回复

使用道具 举报

 楼主| 发表于 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?我都没动过。
回复

使用道具 举报

发表于 2005-3-3 09:27:35 | 显示全部楼层
看看 ls -l /dev/sda3
回复

使用道具 举报

 楼主| 发表于 2005-3-3 09:35:39 | 显示全部楼层
现在直接进GRUB了,不能用 ls -l /dev/sda3
用了也是无效,会不会在安装的时候要注意什么呢?
回复

使用道具 举报

发表于 2005-3-3 10:21:16 | 显示全部楼层
BOOT入LIVECD看看,

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

使用道具 举报

 楼主| 发表于 2005-3-3 10:26:34 | 显示全部楼层
我用VM装Gentoo,载入CD镜像没用,直接转到GRUB.
该怎么进?谢谢
回复

使用道具 举报

发表于 2005-3-3 10:51:20 | 显示全部楼层
能挂载嗎?
回复

使用道具 举报

发表于 2005-3-3 11:16:28 | 显示全部楼层
SDX!!!!明显你用的是SATA或SCSI,怎么不用在KERNEL选择适当的DRIVER?

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

VM???



That does not need me in that case.
回复

使用道具 举报

 楼主| 发表于 2005-3-3 11:37:24 | 显示全部楼层
看看MB的是什么SATA,什么意思?
我要重新安装吗?
Device Drivers  ---> SCSI device support ---> SCSI lowlevel drivers --->
BusLogic SCSI support
这个我已经打上“*”了,还要注意什么?
回复

使用道具 举报

发表于 2005-3-3 11:48:52 | 显示全部楼层
算了,VM!我的回复到此为止
回复

使用道具 举报

 楼主| 发表于 2005-3-3 11:51:36 | 显示全部楼层
好,不管怎么还是谢谢你!
回复

使用道具 举报

发表于 2005-3-3 12:03:08 | 显示全部楼层

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

[quote:aaa910aa7a="hsl9999"]
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[/quote]
回复

使用道具 举报

 楼主| 发表于 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
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-16 03:09 , Processed in 0.025738 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表