|
|
发表于 2006-7-23 14:23:06
|
显示全部楼层
Post by yearsbefore
好辛苦 好开心 gentoo装好了 但是 按照文档设定好所有步骤重启后 grub提示hd(0,5)----根分区--- 不是可用的启动磁盘 。 配置在下面 帮帮忙 谢谢 大家 。
fdisk -l
----------------------------------------
[root@localhost ~]# 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 1275 10241406 7 HPFS/NTFS
/dev/hda2 1276 5100 30721824 c W95 FAT32 (LBA)
Partition 2 does not end on cylinder boundary.
/dev/hda3 5101 7012 15358140 83 Linux
/dev/hda4 7013 9729 21824302+ f W95 Ext'd (LBA)
/dev/hda5 7013 7076 514048+ 82 Linux swap / Solaris
/dev/hda6 7077 8322 10008463+ 83 Linux
/dev/hda7 8323 9729 11301696 83 Linux
Disk /dev/hdb: 20.5 GB, 20547841536 bytes
255 heads, 63 sectors/track, 2498 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 500 4016218+ b W95 FAT32
/dev/hdb2 501 819 2562367+ b W95 FAT32
/dev/hdb3 820 2498 13486567+ c W95 FAT32 (LBA)
-------------------------------------------------------
/boot/grub/grub.conf
----------------------------------
[color="black"]default 0
timeout 30
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title=Gentoo linux
root (hd0,5)
kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5
initrd /boot/initramfs-genkernel-x86-2.6.15-gentoo-r5
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
title=Fedora 5
root (hd0,2)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5.img
--------------------------------------------------------------
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 7 HPFS/NTFS ----->>注意这一行里面的“*”
/dev/hda2 1276 5100 30721824 c W95 FAT32 (LBA)
Partition 2 does not end on cylinder boundary.
/dev/hda3 5101 7012 15358140 83 Linux
/dev/hda4 7013 9729 21824302+ f W95 Ext'd (LBA)
/dev/hda5 7013 7076 514048+ 82 Linux swap / Solaris
/dev/hda6 7077 8322 10008463+ 83 Linux
/dev/hda7 8323 9729 11301696 83 Linux
从你fdisk的结果可以看出来,hda1是你的启动分区,而hda6(就是grub提示的hd(0,5))不适启动分区,因为hda6那一行没有哪个“*”,所以不能启动。
解决办法,启动fdisk,使用a命令将hda6设置成启动分区即可!~ |
|