找回密码
 注册
查看: 562|回复: 2

GENTOO初次启动的问题

[复制链接]
发表于 2004-8-8 13:59:29 | 显示全部楼层 |阅读模式
我刚装好后,启动后,硬件检测后,出现如下错误:
mount: Mounting /dev/hdb12 on /newroot failed: Invalid Argument

>> Could not mount specified ROOT, try again
>> The root block device is unspecified or not detected

Please specify a device to boot, "shell" for a shell

boot() ::


我的grub.conf文件如下:
default 0
timeout 30
splashimage=(hd0,9)/grub/splash.xpm.gz

title=Gentoo Linux 2.4.26-r6
root (hd0,9)
kernel /kernel-2.4.26-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb12
initrd /initrd-2.4.26-gentoo-r6


我的fstab文件如下:
# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb10 /boot ext2 noauto,noatime 1 2
/dev/hdb12 / ext3 noatime 0 1
/dev/hdb11 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none /dev/shm tmpfs defaults 0 0
 楼主| 发表于 2004-8-9 19:22:27 | 显示全部楼层
我已经解决这个问题了,看来是genkernel搞得鬼,可能是2004.2中的BUG吧,我手动编译后就解决了!
回复

使用道具 举报

发表于 2004-8-10 01:56:59 | 显示全部楼层
哈哈,我刚看了你第一帖子就准备告诉你是genkernel的问题。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-13 00:41 , Processed in 0.053487 second(s), 16 queries .

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

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