|

楼主 |
发表于 2008-12-12 17:24:30
|
显示全部楼层
自己终于解决了此问题。
我的硬盘分区情况如下:
[root@localhost ~]# fdisk -l
Disk /dev/sda: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 19456 135797445 f W95 Ext'd (LBA)
/dev/sda5 2551 3187 5116671 b W95 FAT32
/dev/sda6 3188 3200 104391 83 Linux
/dev/sda7 3201 3391 1534176 82 Linux swap / Solaris
/dev/sda8 3392 5558 17406396 83 Linux
/dev/sda9 5559 7776 17816053+ 83 Linux
/dev/sda10 7777 10326 20482843+ 83 Linux
/dev/sda11 10327 19456 73336693+ 7 HPFS/NTFS
Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 2 14593 117210240 f W95 Ext'd (LBA)
/dev/sdb5 2 7650 61440561 7 HPFS/NTFS
/dev/sdb6 7651 14593 55769616 7 HPFS/NTFS
Disk /dev/sdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 38913 312568641 42 SFS
其中sda6为fedora的boot分区(安装时分区选的是ext3),sda8为home分区,sda9为fedora分区,sda10为redflag分区。先安装的fedora,然后redflag,用redflag的grub引导各系统,在刚装完redflag时,sda6分区的文件格式显示为fat6,我用fdisk将该分区格式转换为ext3以后,重新编辑redflag的menu.lst如下:
# 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,9)
# kernel /boot/vmlinuz-version ro root=/dev/sdb10
# initrd /boot/initrd-version.img
#boot=/dev/sdb10
default=0
timeout=5
gfxmenu (hd0,9)/boot/message
title RedFlag (2.6.23.1-4)
root (hd0,9)
kernel /boot/vmlinuz-2.6.23.1-4 ro root=LABEL=/1 vga=788 splash=silent resume=/dev/sdb7
initrd /boot/initrd-2.6.23.1-4.img
title WinXP
rootnoverify (hd0,0)
chainloader +1
title Fedora 10
root (hd0,5)
kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=/dev/sda9 rhgb quiet
initrd /initrd-2.6.27.5-117.fc10.i686.img
重新启动以后就可以进入fedora了,太兴奋了,折腾了好几天了。在此说明一下,(hd0,5)为boot所在分区,/dev/sda9/为fedora所在分区,原先就一直没搞明白这儿。希望能为遇到此问题的和我一样的新手提供参考。 |
|