今天把lfs安装完了,但是启动内核时出现了问题,错误信息如下:
...
swapon: cannot stat /dev/sda9 : No such file or direcotry [FAIL]
/etc/rc.d/rcsysinit.d/S25setclock: line 17: /etc/sysconfig/clock:
No such file or directory [FAIL]
FAILURE:
You should not be reading this error message.
It means that an unforeseen error took place in /etc/rc.d/rcsysinit.d/S25setclock,
which exited with a return value of 1.
If you're able to track this erro down to a bug in one of the files provided by the
Press Enter to continue...
...
fsck.ext3: No such file or directory while trying to open /dev/sda10
/dev/sda10:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device if valid and it really contains an ext2
filesystem(and not swap or ufs or something else),then the superblock
is corrupt,and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 [FAIL]
FAILURE:
File system errors were encountered that could not be fixed automatically.
This system cannot continue to boot and will therefore be halted until those
errors are fixed manually by a System Administrator.
After you press Enter,this system will be halted and powered off.
Press Enter to continue...
我的/etc/fstab下的文件的内容是:
/dev/sda10 / ext3 defaults 1 1
/dev/sda11 /boot ext2 defaults 1 0
/dev/sda9 swap swap pri=1 0 0
proc /proc ...
sysfs ...
devpts ....
shm ....
...
title LFS
root (hd0,10)
kernel /lfskernel-2.6.22.5 root=/dev/hda10
我想应该是该文件没有配置好,因为在我的grub的引导菜单中用的是hda10
于是我把fstab修改了一下,但是第一个错误还存在
阅读(1300) | 评论(0) | 转发(0) |