|
|
1. 在作LFS6.1的时候,我作到8.3. Linux-2.6.11.12之前都很顺利,就差引导了。我想用自己的宿主系统去引导LFS,所以我没有按照8.4的作。
2.我自己修改了宿主系统的/boot/grub/grub.conf
增加了:
title LFS 6.1
root (hd0,7)
kernel(hd0,7) /boot/lfskernel-2.6.11.12 root=/dev/hdc8
boot
3.我就一块硬盘,GRUB在MBR里。
grub.conf如下:
# grub.conf generated by MagicInstaller.
# Note that you do not have to rerun grub after making changes to this file.
default=0
timeout=10
splashimage=(hd0,8)/boot/grub/splash.xpm.gz
title dos
rootnoverify (hd0,0)
chainloader +1
title MagicLinux
root (hd0,8)
kernel /boot/vmlinuz-2.6.9 ro root=/dev/hdc9 vga=791 splash=silent
initrd /boot/initrd-2.6.9.img
title MagicLinux (Graphics Mode)
root (hd0,8)
kernel /boot/vmlinuz-2.6.9 init 5 ro root=/dev/hdc9 vga=791 splash=silent
initrd /boot/initrd-2.6.9.img
title MagicLinux (Console Mode)
root (hd0,8)
kernel /boot/vmlinuz-2.6.9 init 3 ro root=/dev/hdc9 vga=791 splash=silent
initrd /boot/initrd-2.6.9.img
title MagicLinux (Single Mode)
root (hd0,8)
kernel /boot/vmlinuz-2.6.9 init 1 ro root=/dev/hdc9 vga=791 splash=silent
initrd /boot/initrd-2.6.9.img
title LFS 6.1
root (hd0,7)
kernel(hd0,7) /boot/lfskernel-2.6.11.12 root=/dev/hdc8
boot
4.然后开机起动进入LFS 6.1
提示 不识别的 文件系统
5.我在fdisk -l中查看/dev/hdc8是
Disk /dev/hdc: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 1216 9767488+ c W95 FAT32 (LBA)
/dev/hdc2 1217 9964 70268310 f W95 Ext'd (LBA)
/dev/hdc5 1217 3648 19535008+ b W95 FAT32
/dev/hdc6 3649 6080 19535008+ b W95 FAT32
/dev/hdc7 6081 7993 15366141 b W95 FAT32
/dev/hdc8 7994 8460 3751146 b W95 FAT32
/dev/hdc9 8461 9821 10932201 83 Linux
/dev/hdc10 9822 9964 1148616 82 Linux swap
6 但是mount的时候却显示
/dev/hdc9 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
usbdevfs on /sys/bus/usb type usbdevfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hdc1 on /mnt/hdc1 type vfat (rw,iocharset=cp936,umask=0)
/dev/hdc5 on /mnt/hdc5 type vfat (rw,iocharset=cp936,umask=0)
/dev/hdc6 on /mnt/hdc6 type vfat (rw,iocharset=cp936,umask=0)
/dev/hdc7 on /mnt/hdc7 type vfat (rw,iocharset=cp936,umask=0)
/dev/hdc8 on /mnt/hdc8 type ext2 (rw)
/dev/hdc8 on /mnt/lfs type ext2 (rw)
我不知道 是不是文件系统出了问题。到底是不是ext2的呢?
请大侠们帮我找个解决方案
谢谢! |
|