Ubuntu – Boot partition not detected in Bios

18.04asusbootsystem-installationuefi

I tried to install a fresh Ubuntu (18.04.3) on my new ASUS UX301LA internal drive. Previously, there was Ubuntu installed, but on an old disk. After struggling with problems booting the live usb (mmx64.efi not found), Ubuntu is now installed as encrypted system but it doesn't boot. There is no dual boot or similar, before installing the hard drive was blank. I'm aiming to use Ubuntu as the single OS.

After starting the device, I'm only able to enter the bios. There is no boot drive to select.

I ran Ubuntu's Boot repair which doesn't help directly, here's its report:
https://paste.ubuntu.com/p/rjdz6QBJJp/

What i tried

  • Repairing the disk via Boot Repair
  • installing an unencrypted Ubuntu, same problem
  • setting own partitions in order to avoid misssing EFI partitions or similar
  • setting an mmx64.efi in /BOOT/EFI because it helped getting the live usb running, here it doesn't

In EFI-partition, EFI/ubuntu/grub.cfg looks like this:

search.fs.uuid 2b4b936b-4ab9-b23c-832f23309e6d root hd0,gpt2

set prefix=($root)'/boot/grub'

configfile $prefix/grub.cfg

But there is no grub.cfg. Is this a problem?

Latest boot repair report (4 Feb): http://paste.ubuntu.com/p/DY2NhScCZr/


More tries:

Super Grub 2

Using Super Grub2 Disk, I was able to enter grub. hd0 cannot detected, no file can be found: https://i.stack.imgur.com/bWmOY.jpg

Older Version

trying ubuntu 14, the installation process ends with this:

The 'grub-efi-amd-64-signed' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot

Running GRUB2 via Live usb

These partitions/drives are shown when ls in GRUB2 via live usb:

(memdisk) (hd0) (hd0, apple2) (hd0,apple1) (hd0,msdos2)

Updating GRUB
I tried to update GRUB via Live usb. I chrooted disk and tried update-grub2:

failed to get canonical path of '/cow'

Best Answer

  1. Download the Boot Repair iso file.

  2. Make a bootable Boot Repair live USB flash drive with Rufus or UNetbootin. If you have a Debian-based distribution handy you can also use Startup Disk Creator to make a bootable Boot Repair live USB flash drive.

  3. Boot from the Ubuntu USB flash drive and install the OS until you get to this error message.

    The 'grub-efi-amd-64-signed' package failed to install into /target/.   
    Without the GRUB boot loader, the installed system will not boot  
    

    Continue the installation anyway until it finishes.

  4. Reboot the computer with the bootable Boot Repair live USB flash drive selected as the first entry in the boot priority menu of the UEFI/BIOS.

  5. Click the Recommended repair button in the Boot Repair menu and run it. You don't need to click any of the Advanced options.

  6. Reboot to the Ubuntu installer from the Ubuntu USB installation media.

  7. At the Installation type screen select the Replace ... with Ubuntu option where ... is whatever Linux you installed the last time. The Ubuntu installer may identify this Linux as "generic Linux" instead of Ubuntu because it has a different bootloader which was installed there by Boot Repair. This time the installer will run all the way through until the end and replace the grub that Boot Repair installed with the appropriate grub for Ubuntu.


Converting Ubuntu into UEFI mode

  1. Start Boot-Repair, and select Advanced options -> GRUB location tab.
  2. If you do not see a Separate /boot/efi partition option, this means that your PC does not have any UEFI partition.
  3. If you see a Separate /boot/efi partition option, put a checkmark in the checkbox to the left of it, then click the Apply button in the lower right corner.

    Separate /boot/efi partition

  4. Set up your BIOS so that it boots the hard drive in UEFI mode. The way to adjust this setting depends on the specific model of the computer, but generally this setting is located in the boot priority settings under the Boot tab of the BIOS/UEFI setup utility.

For more information about converting Ubuntu into UEFI mode review https://help.ubuntu.com/community/UEFI in the section about Converting Ubuntu into UEFI mode.

Related Question