|
LFS 6.3-rc1
启动LFS系统时出现如下提示:
VFS: Unable to mount root fs via NFS , trying floppy
VFS: Insert root floppy and press ENTER
回车后
VFS: Cannot open root device "sda3" or unknown-block(2,0)
Please append a correct "root=" boot option ;
here are the available partitions:
1640 4194302 hdd driver : ide-cdrom
kernel panic - not syncing : VFS : Unable to mount root fs on
unknow-block(2,0)
编译内核时已经加了 ext2 、 ext3 和 Rom file system support
/boot/grub/menu.lst 文件的内容
# Begin /boot/grub/menu.lst
# By default boot the first menu entry.
default 0
# Allow 30 seconds before booting the default.
timeout 30
# Use prettier colors.
color green/black light-green/black
# The first entry is for LFS.
title LFS 6.3-rc1
root (hd0,2)
kernel /boot/lfs-kernel root=/dev/sda3
fstab 文件的内容
/dev/sda3 / ext2 defaults 1 1
/dev/sda5 swap swap pri=1 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
grub 是装在 sda3 而不是 MBR
还有许多问题:
1)/boot/grub/menu.lst 里 kernel /boot/lfs-kernel root=/dev/sda3 内核是怎样找到/dev/sda3这个文件的?这是指 $LFS/dev 中的文件吗?但里面只有console 和 null 两个文件 , 那么这是指 /dev?
2)运行useradd -D -b /home 失败,不知道什么,只提示失败,这样对以后的LFS系统有影响吗?
3)许多测试都是以失败结束的,但似乎又没什么影响。如果想通过测试要怎样做呢?或者应该去哪里找答案?Tcl-8.4.15、Expect-5.43.0、DejaGNU-1.4.4 不装行不?
4)补丁不打行吗?
5)之前第一步binutils重新编译ld时老是出错,原因是gcc内置的specs提供了 --hash-style=gun,而新的ld不支持,我想知道能不能先编译gcc?
先多谢了! |
|