Results 1 to 3 of 3

Thread: GRUB separate multiple hard drives and make each bootable. Can this be done?

  1. #1
    Join Date
    Oct 2007
    Beans
    172
    Distro
    Ubuntu 14.04 Trusty Tahr

    GRUB separate multiple hard drives and make each bootable. Can this be done?

    I have 2 working hard drives, the first, sda, has Ubuntu 11.10 (Oneiric Ocelot) installed and the other, sdc, has Ultimate Edition 3.5 installed. I have them coexisting wonderfully, but now I wonder if I can separate them, unplug either one, and still have either one boot as a single install?

    If there is a way to do this, can it be done without a usb or cd?

  2. #2
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GRUB separate multiple hard drives and make each bootable. Can this be done?

    Yes it can be done. You will have to install GRUB on Both the HDD. However, you will have to "update-grub" from the existing HDD whenever the other HDD is plugged in to boot the os on the plugged in OS.

    Suppose this /dev/sdc is an external HDD, plugged in via USB then you can adjust the BIOS to BOOT "USB devices first". This way whenever the Usb is plugged in your mobo will boot it, otherwise the regular HDD will boot.
    "Evolution is Nature's way of issuing upgrades."


  3. #3
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,779
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GRUB separate multiple hard drives and make each bootable. Can this be done?

    Just further clarification. Yes you need to install grub on both, but not the "same" grub. If you put grub from 11.10 on both for example, it won't work after disconnecting sda because there will be no /boot folder with the grub files to use.

    I assume the Ultimate edition works like the normal one. What you need to do is boot the 11.10 and install its grub to /dev/sda:
    Code:
    sudo grub-install /dev/sda
    Then boot the Ultimate and install its grub to /dev/sdc:
    Code:
    sudo grub-install /dev/sdc
    After that each disk will have its own separate grub which is from the OS on that disk. If you disconnect one disk, the other OS can keep going.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •