[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Creating a multiboot live pendrive that works under EFI/UEFI



I'm trying to create a multiboot live pendrive that works under EFI/UEFI setup. 
This should be a really straightforward process, since you just need to:

- create the GPT partition table on the pendrive
- create the ESP partition and format it using fat32, 
- create one additional partition for each ISO file
- install rEFInd and its ISO driver in the ESP partition
- copy via dd each ISO file to its corresponding device /dev/sdb1, sdb2, etc)

So the task is really easy to do, but for some reason not all images work well 
with this setup.

Here's how the pendrive's partition layout looks like:

# lsblk /dev/sdb
NAME    SIZE FSTYPE  TYPE LABEL                    MOUNTPOINT UUID
sdb    28.9G         disk
├─sdb1  100M vfat    part SD_ESP                              AD3E-8645
├─sdb2    3G iso9660 part Ubuntu 18.04.4 LTS amd64            2020-02-03-18-40-13-00
├─sdb3    3G iso9660 part Ubuntu 19.10 amd64                  2019-10-17-12-53-34-00
├─sdb4    3G iso9660 part d-live 10.3.0 gn amd64              2020-02-08-12-48-50-00
├─sdb5    3G iso9660 part d-live 10.3.0 ma amd64              2020-02-08-12-47-49-00
├─sdb6    3G ext4    part                                     1714184a-f3c2-405d-988c-815d0f7fe107
├─sdb7    3G ext4    part                                     6ad21575-730b-424e-8bcf-7ce691ffcbfa
├─sdb8 1000M iso9660 part GParted-live                        2019-09-03-06-21-27-00

We have two Ubuntu images -- they both work just fine. I can choose whichever 
Ubuntu live system I prefer to boot from in the rEFInd boot menu.

The next two are the Debian images (gnome and mate downloaded from here[1]). 
In the above configuration, when I choose either one of the Debian images, 
the Gparted live boots instead... When I remove the GParted-live partition, 
then the Debian Gnome boots, and works well, but I'm unable to boot from Debian 
Mate. When I choose Debian Mate image, then Debian Gnome boots instead...

Any ideas why the two Ubuntu images work and the Debian's don't?



[1]: https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: