Results 1 to 2 of 2

Thread: Moving bootloader to another disk

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Beans
    27

    Smile Moving bootloader to another disk

    After some trouble with installing Ubuntu (the automatically installation actually installed to an external hd without my knowledge), I finally made it working yesterday by makeing partitions myself and run the manual installationprocess. I can now boot both Ubuntu and Windows.

    But; When I manually chose the installationpartitions, I missed on the bootloader - which I placed in a wrong hd... That means that I now have to go into bios and choose that drive every time I want to boot into Ubuntu.

    I know I should reinstall, but is there a (simple) way to move that bootloader and merge it into the one on my systemdrive without loosing the opportunity to dualboot?

  2. #2
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Moving bootloader to another disk

    No need to reinstall. Simply boot ubuntu, and in terminal do:
    sudo grub-install /dev/sdX

    using the correct letter for the disk instead of X. That will install it on the MBR of that disk.

    Further more, to double check with which disks grub2 is "connected", you can do:
    sudo dpkg-reconfigure grub-pc

    You should be able to select/unselect disks in the list. You select/unselect with Space bar. You do need to do the grub-install command above first.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

Tags for this Thread

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
  •