|
全新安装,按照手册步骤进行。硬盘分区如下:
/dev/sda1 ext2 /boot
/dev/sda2 swap
/dev/sda3 ext4 /home
/dev/sda4 ext4 /
配置内核时,我把文件系统中所有的支持都配进了内核里
然后grub.conf是这么写的:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 2.6.37-r4
root (hd0,0)
kernel /boot/kernel-2.6.37-gentoo-r4 root=/dev/sda4
重启后,进入grub,选择系统后,报错:
...
Root-NFS: no NFS server address
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda4" or unknown-block(2.0)
Please append a correct "root=" boot option; here are the available partitions:
0b00 1048575 sr0 driver:sr
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Pid: 1, comm: swapper Not tainted 2.6.37-gentoo-r4 #1
...
我尝试过编译内核很多次,次次都出现这样的情况。我不知道这到底是说什么地方的错误。我成功过的就只有genkernel安装,然后grub也按照那种方式写。谁能帮忙指点下迷津? |
|