0

I'm attempting to install 16.04.4 LTS alongside an existing Windows 10 installation. I have several other partitions (GPT) in an attempt to preserve the a /boot partition from a multi-boot attempt[, but I'm not trying to use that at the moment]. I deleted the partition from the last (defunct) Ubuntu install and designated that partition as / during the installation procedure. I selected install to MBA on sda (not sda1 or any other numbered partition) for the GRUB installation. Installation completes and offers to restart, which I confirm. After reboot, Windows 10 comes up with no option for selecting Ubuntu.

This is on an i5 NUC, but I have legacy and UEFI boot both enabled.

2 Answers2

0

Using the HDD for Windows 10 and Ubuntu you need to store the grub in the first disk sector.

On installing Ubuntu it will ask where to store grub, link it to /dev/sda.

With no # at the end.

Benzle
  • 924
0

Turns out that when I ran the Ubuntu installer from a pseudo-live usb, the usb was booted in legacy bios mode; thus the install was done in bios/mbr mode.

At least this is my closest hypothesis.
Points to support:

  • When booting into the usb, I selected it from the boot menu.
    • In this boot menu, the UEFI options are listed after/separate from the legacy BIOS options, and the USB device was at the end.
  • I have USB devices set to boot first in the firmware/BIOS settings (which I assume are different than the “BIOS” mode for MBR booting); after I temporarily disabled the UEFI boot devices, the USB device booted first with no user input. With UEFI devices enabled, booting to USB required manual intervention.
  • The USB device I’m using also has a minimal Linux distro that supports EFI, but I’ve never enabled it. Researching this problem also suggests I’ve been using that distro in legacy/BIOS mode without EFI support enabled.

Solution:
Probably dd the Ubuntu iso on to an empty USB device and load from there, customizing GRUB later.
(Ideally I don’t have to reinstall windows as well.)

Also, hopefully I can get syslinux running with EFI support and put the pseudo-live Ubuntu setup back onto this USB key.