|
宿主OS:redflag-6.0-sp3
包:lfs-packages-6.6.tar
参考:lfs-6.6英文文档
制作完成lfs,重启之后,在引导界面。
提示:
swapon:/dev/sda8:stat faild:No such file or directory
Mounting root file system in read-only mode…
checking file system…
fsck.ext3:No such file or dirctory while trying to opn /dev/sda10
/dev/sda10:
The superblock could not be read or does describe a correct ext2 filesystem.if the device is 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 esfsck with an alternate superblock:
e2fsck -b 8193 <device>
=======================
root:/# more /etc/fstab
# Begin /etc/fstab
# file system mount-point type options dump fsck
# order
/dev/sda10 / ext3 defaults 1 1
/dev/sda8 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
tmpfs /dev/shm tmpfs defaults 0 0
# End /etc/fstab
=======================
root:/# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0xea67ea67
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1894 15213523+ 7 HPFS/NTFS
/dev/sda2 1895 19457 141074797+ f W95 Ext'd (LBA)
/dev/sda5 1895 7650 46235038+ 7 HPFS/NTFS
/dev/sda6 7651 11522 31101808+ 7 HPFS/NTFS
/dev/sda7 11523 13373 14868126 83 Linux
/dev/sda8 13374 13495 979933+ 82 Linux swap / Solaris
/dev/sda9 13496 17958 35840000 83 Linux
/dev/sda10 17958 19457 12048705 83 Linux
===============================
/boot/grub/grub.cfg
menuentry "GNU/Linux, with Linux 2.6.32.8-lfs-6.6" {
insmod ext2
set root=(hd0,10)
search --no-floppy --fs-uuid --set 11c7d93a-3a17-4e23-985f-36717d36c7ad
linux /boot/vmlinux-2.6.32.8-lfs-6.6 root=/dev/sda10 ro
} |
|