|
花了十几个小时, 似乎终于装上了基本系统. 不过, 不能启动, 我也不知道该在虚拟系统中制作启动软盘. (高手请指教)
Grub 中也不行. 一下是我的硬盘分区.
Disk /dev/hda: 255 heads, 63 sectors, 2490 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 510 4096543+ 7 HPFS/NTFS
/dev/hda2 511 513 24097+ 83 Linux
/dev/hda3 * 514 959 3582463+ 83 Linux
/dev/hda4 960 2490 12297757+ f Win95 Ext'd (LBA)
/dev/hda5 960 1220 2096451 b Win95 FAT32
/dev/hda6 1221 1481 2096451 b Win95 FAT32
/dev/hda7 1482 1506 200781 82 Linux swap
/dev/hda8 1507 1767 2096451 4 FAT16 <32M
/dev/hda9 1768 1894 1020096 83 Linux
/dev/hda10 1895 2490 4787338+ b Win95 FAT32
grub 装在/dev/hda2 : 是redhat 8 的, 但是我机器上已经没有redhat 8, 我只是用它做一个启动管理器.
/dev/hda3 是debian /
/dev/hda9 LFS
问题: 该怎样编辑 grub, 才能引导 LFS ? 下面是我的 grub.lst
# 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,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
root (hd0,1)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
title Windows 2K
rootnoverify (hd0,0)
chainloader +1
title Debian (woody)
root (hd0,2)
chainloader (hd0,2)+1 |
|