1

I have a very simple setup which is based on two hard drives, let's call them sda and sdb. I want to have two different distributions on those hard drives, one based on Ubuntu and another based on Xubuntu for example.

Now reading about the Linux Boot Process, I get that the GRUB is loaded from the MBR and is used to select the kernel you want to load among other things.

But if I have two different drives, can I have two different GRUB with two different configuration files?

  • I have two different drives .... yes, but only one is bootable, so you have one copy of grub ..... the system on the second drive gets to have an entry in the grub boot menu – jsotola Jan 29 at 0:15
  • 1
    Or you could switch the active drive (sdb) on bootup with a hot key (F12 or whatever key your bios wants) and install grub this way on both drives. And then add an "extra" entry for the missing drive to each installation. This way you will always have the possibility to boot the "other drive" with the function key. – Freddy Jan 29 at 1:09
  • Exactly the setup that I was looking for. Two drives, two installs of Grub, but I didn't think about adding each grub a reference to the other drive for simpler boot. Thanks. – devconnected Jan 29 at 6:34

Your Answer

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

Browse other questions tagged or ask your own question.