0

I need to start my computer several times to successfully boot into Ubuntu 18 04.

That is why I would like to reinstall Ubuntu.

I got a USB Stick with ISO current Ubuntu ISO image mounted as media in GNOME, however the system never asks for an install upon restart. When I press F2 nothing happens. When I press F12, my screen flashes black / purple in sync with my key attenuations and then yields the following error.

enter image description here

How can I simply change the boot order so that upon restart Ubuntu will boot from the USB?

I am using BIOS, I believe:

:~$ sudo efibootmgr EFI variables are not supported on this system.

I installed my system using a USB stick with ISO file.

karel
  • 122,292
  • 133
  • 301
  • 332

1 Answers1

0

Boot USB from Internal Drive's GRUB Menu

You can use your internal GRUB to boot a ISO9660 Ubuntu install USB if the USB's bootloader is having problems.

Add the following menuentry to /etc/grub.d/40_custom and then run sudo update-grub

menuentry "Ubuntu - flash drive" {
 search --set=root --fs-uuid 2020-07-31-16-51-12-00
    set gfxpayload=keep
    linux ($root)/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
    initrd ($root)/casper/initrd
}

Where 2020-07-31-16-51-12-00 is the UUID of the USB's root partition.

This should work with a USB made using Etcher, Startup Disk Creator, dd, mkusb, Disks or other ISO9660 cloner.

C.S.Cameron
  • 20,530
  • 12
  • 78
  • 125