Adding a new Linux Installation to Grub
Hello All!!
I have two HDs of 80GB that are set in RAID. When I attempted to install Red Hat EL 5 on my box it identified all my 160GB and the installation was just fine. I had to install another version of Red Hat in the same box so I skipped the step to install Grub.
Below is my partitioning schema:
Disk /dev/mapper/nvidia_ifbacfhg: 160.0 GB, 160052674560 bytes
255 heads, 63 sectors/track, 19458 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/mapper/nvidia_ifbacfhg1 * 1 13 104391 83 Linux
/dev/mapper/nvidia_ifbacfhg2 14 6387 51199155 83 Linux
/dev/mapper/nvidia_ifbacfhg3 6388 7024 5116702+ 82 Linux swap / Solaris
/dev/mapper/nvidia_ifbacfhg4 7025 19458 99876105 5 Extended
/dev/mapper/nvidia_ifbacfhg5 7025 7037 104391 83 Linux
/dev/mapper/nvidia_ifbacfhg6 7038 13411 51199123+ 83 Linux
FIRST INSTALLATION
/dev/mapper/nvidia_ifbacfhg1 -> /boot
/dev/mapper/nvidia_ifbacfhg2 -> /
/dev/mapper/nvidia_ifbacfhg3 -> swap
SECOND INSTALLATION
/dev/mapper/nvidia_ifbacfhg5 -> /boot
/dev/mapper/nvidia_ifbacfhg6 -> /
The following is the default menu.lst from the First Installation:
# 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/mapper/nvidia_ifbacfhgp2
# initrd /initrd-version.img
#boot=/dev/mapper/nvidia_ifbacfhg
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-8.el5.img
What should I put in my menu.lst to add the second installation of Red Hat?
Thank You!!
|