Head_on_a_Stick wrote: Tue Jan 07, 2020 1:31 pm
rs55 wrote: Mon Jan 06, 2020 6:44 pm
I wanted to have this usb drive work on a friend's machine - on the off chance I was ever in a position with no laptop of my own. No luck.
To get the stick to work with both UEFI and non-UEFI you will need a GUID partition table ...
GPT is not strictly required to boot from in UEFI mode. (That's about the confusen of GPT/DOS disks vs UEFI/BIOS boot)
MX Live USB can boot in both modes UEFI and BIOS from GPT or MBR(DOS) partition table layouts.
You can decide when you create with Live USB maker to choose either GPT or MBR partition table layout.
Head_on_a_Stick wrote: Tue Jan 07, 2020 1:31 pm
... with a BIOS boot partition[0] & an EFI system partition[1]
... the BIOS boot partition is recommended to have Grub boot reliable from GPT disks in BIOS mode.
But note, Grub can boot also using blocklists without this bios-boot partition - - not recommended , but working.
rs55 wrote: Mon Jan 06, 2020 6:44 pm
[0] Type "ef02" in gdisk or "bios_boot" in gparted, *do not* format. It only needs to be ~0.5MiB so I use sectors 34-2047, they should be free in an optimally aligned disk.
To make it simpler, just use Gparted and create 1 MB partition, and do stick to a alignment of 1MB boundary within Gparted.
Also, the bios-boot partition flag is called "bios_grub" within both Gparted and in gdisk.
In addtion for multi-boot installs, it might be worth to consider to install the efi-bootloader for each install
separately into the ESP using different bootloader-id's. So incase reEFInd might come handy and one can select between these efi-loaders as most UEFI-firmware will not scan for further efi-loader but only the fallback at /EFI/boot/bootx64.efi