|
|
首先,我的lfs 安装过程没有什么问题,但重启时出现了问题
我的grub.conf用了以前linux系统的,修改如下:# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,10)
# kernel /vmlinuz-version ro root=/dev/hda14
# initrd /initrd-version.img
#boot=/dev/hda11
default=0
timeout=10
splashimage=(hd0,10)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,10)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ vga=0x303
initrd /initrd-2.4.20-8.img
title Lfs Linux 5.0 (2004-7-19)
root (hd0,9)
kernel /boot/lfskernel root=/dev/hda10 ro
title WINDOWS XP
rootnoverify (hd0,0)
chainloader +1 启动选择 Lfs 5.0 (2004-7-19)时,出现如下错误:
Filesystem type unknown, partition type 0xb
进入以前的linux 使用 fdisk -l 命令查看分区信息如下:[blue@smartblue blue]$ sudo /sbin/fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 584 4690948+ 7 HPFS/NTFS
/dev/hda2 585 9729 73457212+ f Win95 Ext'd (LBA)
/dev/hda5 585 1225 5148801 7 HPFS/NTFS
/dev/hda6 1226 2506 10289601 7 HPFS/NTFS
/dev/hda7 2507 4427 15430401 7 HPFS/NTFS
/dev/hda8 4428 5799 11020558+ 7 HPFS/NTFS
/dev/hda9 5800 7967 17414428+ 7 HPFS/NTFS
/dev/hda10 7968 8222 2048256 b Win95 FAT32
/dev/hda11 8223 8235 104391 83 Linux
/dev/hda12 8236 8885 5221093+ 83 Linux
/dev/hda13 8886 9522 5116671 83 Linux
/dev/hda14 9523 9649 1020096 83 Linux
/dev/hda15 9650 9728 634536 82 Linux swap 而当 mount /dev/hda10 /mnt/lfs 后,用 df -T 命令查看时如下:[blue@smartblue blue]$ df -T
文件系统 类型 1K-块 已用 可用 已用% 挂载点
/dev/hda14 ext3 1004024 249300 703720 27% /
/dev/hda11 ext3 101089 9322 86548 10% /boot
/dev/hda12 ext3 5139108 4047236 830820 83% /home
none tmpfs 123592 0 123592 0% /dev/shm
/dev/hda13 ext3 5036284 4664552 115900 98% /usr
/dev/hda9 ntfs 17414428 14376452 3037976 83% /mnt/H-Share
/dev/hda8 ntfs 11020556 10220432 800124 93% /mnt/G-Data
/dev/hda7 ntfs 15430400 14086224 1344176 92% /mnt/F-Backup
/dev/hda6 ntfs 10289600 7935732 2353868 78% /mnt/E-Tools
/dev/hda10 ext2 2016016 762284 1151320 40% /mnt/lfs 请大虾们指点一二,谢谢! |
|