Windows – Dual boot Windows 10 UEFI and Ubuntu using windows bootloader

bootbootloadergrubUbuntuwindows 10

Any tutorials I can find online use the GRUB bootloader. The only similar thing I can find is this, and it is unanswered and not at all clear what he has done or is trying to do.

I have a laptop with OEM Windows 10 UEFI installed. I don't really understand how the UEFI boot process works, so that's part of my issue. What I would like to do is install Ubuntu (preferably on a secondary drive) and have the boot option added to the existing windows bootloader. I'm scared to try anything for fear of accidentally overwriting the windows bootloader with the GRUB one from Ubuntu (which is what happened on legacy BIOS versions of Ubuntu).

Best Answer

What I would like to do is install Ubuntu (preferably on a secondary drive) and have the boot option added to the existing windows bootloader.

I don't understand why do you want to use the Windows bootloader instead of GRUB: if you want a dual booting system, GRUB is the way to go. However, if your only concern is messing up Windows, and if you prefer to use a secondary disk for Ubuntu anyway, just install Ubuntu on a secondary drive and use GRUB installed on that secondary drive. There should be no danger of touching the Windows bootloader on your primary hard disk. Assuming that your laptop does have an empty slot for a secondary hard drive/disk, just do this:

  1. First, do backups to be on the safe side.
  2. Next, download a bootable live Ubuntu installer and burn it to removable media (DVD or USB).
  3. I recommend turning off fast boot at least until you're done with these steps.
  4. Then, shut down the laptop. Use the manufacturer's instructions to remove power from it, open it up, and add a secondary hard drive/disk. It is helpful to install a secondary disk that is of a different size or made by a different manufacturer so that they can easily be distinguished during installation. If you do use a secondary disk of the same size that is made by the same manufacturer, I recommend copying down both hard disk IDs/serial numbers on a piece of paper and labeling them, so that you know which one is which.
  5. Boot the computer using the bootable live Ubuntu installation media. Install to the new secondary hard disk. NOTE: if you boot to Windows again after physically installing the new secondary hard disk and before installing Ubuntu on it, Windows will automatically partition the new secondary hard disk. If this happens, the Ubuntu installer will tell you that there is not enough room to install Ubuntu on the new secondary hard disk. In this case, use GParted to delete the Windows partition that Windows created on the new secondary hard disk. GParted will probably be included in your bootable live Ubuntu installation media. If not, download a bootable live GParted installer and create bootable live GParted media, boot from this bootable live GParted media, delete the unwanted partition, and then retry running your bootable live Ubuntu installation media.
  6. After installing Ubuntu to the new secondary hard disk, reboot, and during reboot open up the "BIOS"/UEFI settings and go to the Boot page. Make sure that the two hard disks are in the right order so that the new secondary hard disk with Ubuntu is chosen first. Save changes, then reboot. At this point, one of several things will happen:
  • The computer boots normally to Windows. If that happens, check step 6.
  • The computer boots normally to Ubuntu, but there is no GRUB menu. This should not happen, because I think that all Ubuntu installations automatically install GRUB. However, it is possible that the GRUB menu flashes by too quickly. In that case, you can change the GRUB_TIMEOUT in this file: /etc/default/grub . If GRUB really is not installed, simply install GRUB and then update GRUB: https://itsfoss.com/update-grub/
  • The computer boots normally to the GRUB menu, but there is no option to boot Windows. In that case, update GRUB (see above).

If you turned off fast boot, you should be able to re-enable it once everything is working correctly.

As long as you don't touch your primary hard disk during installation of Ubuntu, the worst possible thing that could happen would be that you would remove the new secondary hard disk out of frustration, and you'd be back to where you started.

Related Question