Monday, 11 June 2018

debian - EFI Boot: Two independently bootable physical hard drives?

My computer has two physical hard drives.



  • sdd internal hdd0

  • hdd internal hdd1


The BIOS (EFI) allows the boot either one.


Since I never know when one hdd, especially the ssd, stops working, I would prefer to have backup operating system on the second hard drive. Ideally that second hdd is bootable without requiring anything from the first hdd. (I mean, I want to use the BIOS as the boot manager and not involve grub on hdd0.)


I would like to have Debian Wheezy installed on both hdds.


I don't use Windows at all.


One thing that might work is physically removing hdd0, but I'd prefer not physically removing any hdds to avoid voiding warranty.


Installing Debian on hdd0 was simple. It created an EFI boot partition, boot partition and root partition. Installing Debian on hdd1 didn't work so well. It only created a boot partition and there was no option to install grub on hdd1, only on hdd0.


I booted from hdd0, set the bootable flag for /dev/sdb1 in gparted and used "sudo grub-install /dev/sdb" (and also tried /dev/sdb1) but that didn't make that hdd bootable.


Long story short, how can I have two independently bootable hdds?

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...