After 22.04 LTS install Restart fails to find the OS

I booted to the USB (I’m on it now).
I went to terminal and pasted the command:

[ -d /sys/firmware/efi ] && echo "UEFI" || echo "Legacy"

with this result
ubuntu@ubuntu:~$ [ -d /sys/firmware/efi ] && echo “UEFI” || echo “Legacy”
Legacy

what do I do now?

Shobuz99

Following your recent installation woes, my tummy tells me that you should try to install only using one partition i.e. pre-UEFI style

This is an old-fashioned installation with only one partition (without a BIOS Boot partition) :-
  • Remove all disks – only the installer USB and target disk available
  • Boot into a “Try Ubuntu” live session in Legacy mode
  • Open terminal and double check boot mode

[ -d /sys/firmware/efi ] && echo "UEFI" || echo "Legacy"

  • Open Gparted (or KDE Partion Manager) > Devices > Create a msdos partition table on the target disk.
  • Close the partition editor
  • Open the installer
  • Installation type = Manual Installation (Something Else)
  • Select free space and click the + sign
  • Create one Primary partition with Ext4 file system and Mount point = / (system root)
  • Install Grub bootloader to device not to a partition (e.g sda not sda1)
  • Do not let the installer “Erase Disk and Install”
  • If you see a message/warning about “ESP not found”, ignore it and continue the installation.
  • Also ignore any GPT message about bios-grub
  • The installer will show that only one partition is to be created and formatted.
  • Continue the installation
  • Rarely, you may need to flag the partition as boot or bls_boot

I have finally installed 22.04 LTS
I chose to take @tea-for-one’s advice and create an MSDOS partition.
For some reason i missed reading his detailed steps, previously.
Thank you. @yancek for your help as well!
Shobuz

@tea-for-one
I owe you an apology. For some reason I missed or ignored your details regarding making a single partition as MSDOS.
I finally took your advice, step-by step and it worked!
Now I can restore my backed up files as well as install some packages that I need to get this system back to where I had it, only with using 22.04 LTS instead of 20.04!!!
I can’t thank you enough for your help. :smiling_face: :slightly_smiling_face: :relieved:
Anything you recommend I do to show my appreciation for this Discourse,
Please say so.
Thank you again!!!
shobuz99

1 Like

No need for an apology.
I’m pleased that my suggestion bore fruit.

I only recommend that you visit these Ubuntu Discourse pages from time to time to see if you can offer help to other users seeking assistance.

4 Likes

I certainly will.
Thank you for all your help
and for all those who commented on this.

Shobuz99

1 Like