1

I'm attempting to setup a 2-drive (sda, sdb) RAID 1 in my PC, using Raider to convert from my old single drive (sda) system to the new RAID 1.

From sda, on sdb I ran:

# raider -R1 
# raider --run

and it finished ok setting up the empty drive into the RAID array and copied all data. Now I have to swap the disks, but I can't make my PC boot from sdb, it always boot from sda.

I've tried to modify the BIOS boot settings but nothing changed, I can only choose HD as boot device and change mount order, but not boot order between them.

I'm using Debian Squeeze and Grub as boot loader.

EDITED

Motherboard: ASROCK N68C-S UCC

HD: 2x 1Tb WD SATA2

migrated from serverfault.com Aug 7 '13 at 13:33

This question came from our site for system and network administrators.

  • Does your server not have hot swap drive bays? Just pull the drives and put them back in in the opposite order. What kind of server is it? – Grant Aug 7 '13 at 13:13
  • I'm sorry, It's a regular PC, I use it as a server at home, sorry. I'll edit & change it. – Amin Aug 7 '13 at 13:28
  • Can you please provide your grub.conf file? It's typically under /etc or /boot. – slm Aug 7 '13 at 13:48
  • /boot/grub/grub.cfg? it's an autogenerated file, it think it's not what you need, isn't it? I've been looking for the clasical menu.lst but I can't find it – Amin Aug 7 '13 at 18:39
1

Solved, to boot from second drive, in GRUB's command line:

set root=(hd1)
chainloader +1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.