LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1391|回复: 14

双系统中分区安装LFS 6.3启动出现问题,路过的来看看!

[复制链接]
发表于 2008-1-14 11:25:05 | 显示全部楼层 |阅读模式
拿空闭分区sda9安装LFS,直接用原先的GRUB,启动之后出现如下错误:
udevd-event[1921]:run_program: '/sbin/modprobe' abnormal exit
udevd-event[1927]:run_program: '/sbin/modprobe' abnormal exit
udevd-event[1930]:run_program: '/sbin/modprobe' abnormal exit

fsck.ext3: No such file or directory while trying to open /dev/sda9,
/dev/sda9: The superblock could not be read or does not describe a correct ext2 filesystem.If the device is valid and it really contains an ext2 filesystem,then the superblock is corrupt,and you might try running e2fsck with an alternate superblock:e2fsck -b 8139 <device>      [FAIL]
FAILURE:

   File system errors were encoutered that could not be fixed automatically.This system connot continue to boot and will therefore be halted until those errors are fixed manully by a System Administrator.

    这问题应该如何解决?谢谢!!
发表于 2008-1-14 12:47:08 | 显示全部楼层
内核没 SCSI 或 SATA 支持?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-14 13:44:30 | 显示全部楼层
有SCSI支持,试了下fsck.ext3 -b superblock 恢复superblock确实太慢了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-14 14:08:02 | 显示全部楼层
错误依旧啊。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-14 17:33:30 | 显示全部楼层
/boot/grub/grub.conf为LFS增加的一项内容为:
  title mylinux
  root (hd0,6)
  kernel /boot/lfskernel-2.6.22.5 root=/dev/sda9

不知道是否有错??
回复 支持 反对

使用道具 举报

发表于 2008-1-14 18:58:47 | 显示全部楼层
Post by djstava;1807056
/boot/grub/grub.conf为LFS增加的一项内容为:
  title mylinux
  root [color="Red"](hd0,6)
  kernel /boot/lfskernel-2.6.22.5 root=/dev/[color="Red"]sda9

不知道是否有错??
有点不对劲!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-14 19:16:01 | 显示全部楼层
重编e2fsprogs和udev,又在内核中加入对SATA的支持后,错误变成如下,grub.conf还是没变:
     VFS: Cannot open root device "sda9" or unknown-block(0,0)
   Please append a correct "root=" boot option
   Kernel panic - not syncing:VFS: Unable to mount root fs on unknown-block(0,0)
回复 支持 反对

使用道具 举报

发表于 2008-1-14 19:25:45 | 显示全部楼层
不是已给你提示了吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-14 19:59:10 | 显示全部楼层
sda9改为hda9(不明白发行版明明是sda9),上面的错误消失(运行已通过),又出现第一楼的错误:
udevd-event[1921]:run_program: '/sbin/modprobe' abnormal exit
udevd-event[1927]:run_program: '/sbin/modprobe' abnormal exit
udevd-event[1930]:run_program: '/sbin/modprobe' abnormal exit

fsck.ext3: No such file or directory while trying to open /dev/sda9,
/dev/sda9: The superblock could not be read or does not describe a correct ext2 filesystem.If the device is valid and it really contains an ext2 filesystem,then the superblock is corrupt,and you might try running e2fsck with an alternate superblock:e2fsck -b 8139 <device> [FAIL]
FAILURE:

File system errors were encoutered that could not be fixed automatically.This system connot continue to boot and will therefore be halted until those errors are fixed manully by a System Administrator.
无语中。。。
回复 支持 反对

使用道具 举报

发表于 2008-1-14 20:16:28 | 显示全部楼层
说了嘛,grub.conf 的内容明显不对!
回复 支持 反对

使用道具 举报

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

本版积分规则

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