vielkacarolina1239
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
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
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
try using yast2 from root
#yast2 disk -------- (yast2 ->system -> partitioner)
or manually
vim /boot/grub/menu.lst