Chinaunix首页 | 论坛 | 博客
  • 博客访问: 387738
  • 博文数量: 61
  • 博客积分: 4650
  • 博客等级: 上校
  • 技术积分: 786
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-11 21:07
个人简介

少抱怨,多实干;

文章分类

全部博文(61)

文章存档

2017年(1)

2016年(13)

2015年(1)

2013年(2)

2011年(1)

2010年(3)

2009年(23)

2008年(17)

我的朋友

分类: LINUX

2008-12-04 22:42:41

今天把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
LFS book,place be so kind to inform us at lfs-dev@linuxfromscratch.org.
 
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) |
0

上一篇:开怀一笑

下一篇:从LfsLiveCD的X下安装lfs

给主人留下些什么吧!~~