|

楼主 |
发表于 2008-2-2 17:36:05
|
显示全部楼层
[root@localhost /]# fdisk -l
Disk /dev/hda: 17.1 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1769 14209461 83 Linux
/dev/hda2 1770 1834 522112+ 82 Linux swap
/dev/hda3 1835 2088 2040255 83 Linux
----------------------------------------------------------------------------------------------
[root@localhost /]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
#LABEL=/home /home ext3 defaults 1 2
/dev/hda3 /mnt/lfs ext3 default 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-hda2 swap swap defaults 0 0
/dev/hdc /media/cdrom auto pamconsole,fscontext=system_u bject_r:removable_t,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u bject_r:removable_t,exec,noauto,managed 0 0
---------------------------------------------------------------------------------------------------
[root@localhost /]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/hda1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS-4 i386 (2.6.9-42.EL)
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-42.EL ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-42.EL.img
title LFS 6.1.1
root (hd0,2)
kernel /boot/lfskernel-2.6.11.12 ro root=/dev/hda3
-------------------------------------------------------------------------------------------------
Booting 'LFS 6.1.1'
root (hd0,2)
Filesystem type is ext2fs,partition type 0x83
kernel /boot/lfskernel-2.6.11.12 ro root=/dev/hda3
Error 15: File not found
Press any key to continue... |
|