|
|
因为想装LFS,所以从Windows的G盘分出5G的空间来.现在我不敢贸然的分区,因为我怕GRUB不能识别系统使我原本的XP SP2和RedHat9.0都没法启动.特发帖寻高手帮忙.
我的硬盘分区情况如下,我只有一个硬盘:
/dev/hda
hda2 1276 7476 48642 扩展
hda5 1276 2516 9735 fat32
hda6 2517 3757 9735 fat32
hda7 3758 4998 9735 fat32
hda8 4999 5510 4016 fat32
5511 6239 5718 空闲空间
hda9 6240 6252 102 ext3
hda10 6253 7444 9350 ext3
hda11 7445 7476 251 linux-swap
hda1 1 1275 10001 fat32
如果我在G盘后安装LFS,GRUB可能就没办法引导系统了.因为盘符都发生变化.
下面是我的grub的配置文件的内容:
# 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,8)
# kernel /vmlinuz-version ro root=/dev/hda10
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=60
splashimage=(hd0,8)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,8)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Win XP
rootnoverify (hd0,0)
chainloader +1
想请高手帮忙改一下grub的配置,或者还有什么更好的方法解决这个问题.
ps:我不是要装载LFS,而是使主系统能被引导. |
|