Having tried to help forum members with Ubuntu boot problems, I have found that some of my recent advice has been inaccurate.
Therefore I thought that I would test a Legacy/mbr installation.
I have an Intel NUC6AYH purchased in 2019, where I can enable/disable both Legacy and UEFI modes.
Having disabled UEFI mode, I booted into a live session of Ubuntu 22.04 in Legacy mode.
I opened Gparted and chose msdos as the partition table.
I then installed Ubuntu 22.04 choosing normal installation and allowed the installer to automatically create the partitions.
Here is the result:-
Code:
test@test-NUC6CAYH:~$ [ -d /sys/firmware/efi ] && echo "UEFI" || echo "Legacy"
Legacy
test@test-NUC6CAYH:~$ sudo parted -l
[sudo] password for test:
Model: ATA C300-CTFDDAC064M (scsi)
Disk /dev/sda: 64.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 540MB 538MB fat32 EFI System Partition boot, esp
3 540MB 64.0GB 63.5GB ext4
test@test-NUC6CAYH:~$
The installer created 3 partitions, including an ESP.
Msdos partition table was changed to gpt without my intervention.
I then powered off the PC and accessed the UEFI Set Up.
I disabled Legacy and enabled UEFI.
The PC booted in UEFI mode without problem.
The phrase "How you boot the installation USB is how you install" is not completely accurate.
I do not know if this outcome is peculiar to my PC and I would be interested to hear other comments.