CentOS - dual boot from new partition

Posted by Dima on Super User See other posts from Super User or by Dima
Published on 2011-01-03T18:19:46Z Indexed on 2011/01/03 20:56 UTC
Read the original article Hit count: 327

Filed under:
|
|
|

I need to install two copies of the CentOS 5.5 (bank A and bank B) on different partitions of the same hard disk and install grub boot loader to another partition (visible from both banks). The boot loader should redirect the boot menu to bank A or bank B (according to the configuration).

The new partition is mounted to /common_partition and grub is installed on it using following command:

grub-install /dev/hda

In the new partition I'm created the following menu.lst file:

title BOOTCONTROL REDIRECT : PLEASE WAIT
root (hd0,1)
configfile /boot/menu.lst
boot

On my setup: both partitions (bank A and bank B) are primary and grub is installed on MBR.

The problem is: but the new boot loader (on common_partition) did not load. What wrong on my configuration?

© Super User or respective owner

Related posts about linux

Related posts about centos