Link to home
Start Free TrialLog in
Avatar of vielkacarolina1239
vielkacarolina1239Flag for United States of America

asked on

how to change the boot drive on CentOS

Hi,
I am using CentOs
I have two drive connected to a CentOS box. One drive is a scsi drive that is connected on the board using a pci-x card for scsi HD. I have a sencond drive on an FC enclosure that is connected to the computer mobo with an HBA card. The box sees both HD. I was able to install a copy of CentOS on both HD. I want to boot from the FC enclosure. How can I change the boot record so that the box boots from the FC drive instead of the scsi drive?

I am using GRUB

I found this link, but,cannot get it to work.
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/install-guide/s1-x86-bootloader.html

Thanks

Avatar of askb
askb

You need add another grub entry.

try using yast2 from root

#yast2 disk  -------- (yast2 ->system -> partitioner)

or manually

vim /boot/grub/menu.lst

You need add another grub entry.

try looking up the partition info using yast2 as root

#yast2 disk  -------- (yast2 ->system -> partitioner)

#yast2 bootloader ---- now add the grub entry using this tool.

or manually edit and add an entry

vim /boot/grub/menu.lst

ASKER CERTIFIED SOLUTION
Avatar of Crunched
Crunched

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vielkacarolina1239

ASKER

thanks everybody. I was abled to set up the configuration and boot from the SAN. I am using qlogic hba. I went to the hba bios and enabled booting from SAN and specified the HD ID to boot from. The box new were to find the boot HD after doing this.