|
|
只有一个硬盘,但分区成了hdcX.且编辑/boot/grub/grub.conf后第二个系统不能启动.
经查资料,第一个硬盘的分区应为hdaX,每二个硬盘的分区应为hdbX,每三个硬盘的分区应为hdcX,
但我只有一个硬盘分区为什么后分区变为hdcX,如下:
# fdisk -l
Disk /dev/hdc: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 33 265041 83 Linux
/dev/hdc2 34 1945 15358140 83 Linux
/dev/hdc3 1946 1978 265072+ 82 Linux swap
/dev/hdc4 1979 9726 62235810 f Win95 Ext'd (LBA)
/dev/hdc5 1979 3890 15358108+ 83 Linux
/dev/hdc6 3891 5802 15358108+ 83 Linux
/dev/hdc7 5803 7077 10241406 83 Linux
然后,我将第二个rhel4装在hdc6中,但安装时没装grub.现在我编/boot分区下面的grub.conf文件, 但是第hdc6中的rhel4不能启动起来,而且键盘的右上角两个指示灯不停的闪.
grub.conf文件如下:
# more /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 have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hdc2
# initrd /initrd-version.img
#boot=/dev/hdc
default=0
timeout=3
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8smp)
root (hd0,0)
kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/
initrd /initrd-2.4.20-8smp.img
title Red Hat Linux-up (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title RHEL4-1
root (hd0,5)
kernel /boot/vmlinuz-2.6.9-5.ELsmp ro root=/dev/hdc6
initrd /boot/initrd-2.6.9-5.ELsmp.img
title RHEL4-2
root (hd0,5)
kernel /boot/vmlinuz-2.6.9-5.EL ro root=/dev/hdc6
initrd /boot/initrd-2.6.9-5.EL.img
请高手指点!!! |
|