LinuxSir.cn,穿越时空的Linuxsir!

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

求助:LFS5.1安装之后启动失败!

[复制链接]
发表于 2004-10-7 10:11:42 | 显示全部楼层 |阅读模式
LFS5.1安装之后启动失败!先是SWAP分区MOUNT失败,然后竟然连我的根分区都不认了.说我的EXT2分区有问题.要我用e2fsck -b 8193命令进行扫描.可运行e2fsck -b 8193命令,还是出错,显示魔数未定义.还让我用e2fsck -b 8193命令扫描.又回到前一步了
发表于 2004-10-7 22:38:44 | 显示全部楼层
What did you do when you were LFSing?

SWAP partition should not be changed.

Can you enter your old host system?
 楼主| 发表于 2004-10-7 23:59:47 | 显示全部楼层
Sure I can enter my old host system. I do not install GRUB, but only add the configure to grub.conf of my old host system. And SWAP partition detail only add to my /etc/fstab file.
 楼主| 发表于 2004-10-8 00:02:31 | 显示全部楼层
Here is my grub.conf:

default=2
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Red Hat Linux (2.6.4)
        root (hd0,6)
        kernel /vmlinuz-2.6.4 ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.6.4.img
title Red Hat Linux (2.4.20-8)
        root (hd0,6)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi vga=785
        initrd /initrd-2.4.20-8.img
title Windows XP
        rootnoverify (hd0,0)
        chainloader +1
title LFS 5.1
        root (hd0,10)
        kernel --no-mem-option /boot/lfskernel root=/dev/hda11
 楼主| 发表于 2004-10-8 00:04:47 | 显示全部楼层
And here is my LFS's /etc/fstab file:

# Begin /etc/fstab

# file system  mount-point  fs-type  options         dump  fsck-order

/dev/hda11     /            ext2      defaults        1     1
/dev/hda9      swap         swap      defaults        0     0
proc           /proc        proc      defaults        0     0
devpts         /dev/pts     devpts    gid=4,mode=620  0     0
shm            /dev/shm     tmpfs     defaults        0     0

# End /etc/fstab
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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