I need to create a custom live USB (i need software like audacity, hardinfo, nvidia etc, on a live USB with Fedora). For this, i use the lastest LiveCD/USB and add all my softs and configurations, and then i use the livecd tool :
yum install liveusb-creator
livecd-iso-to-disk --format --reset-mbr –efi --overlay-size-mb 2024/run/initramfs/livedev /dev/sdX (where X is my USB Key location)
i have no issues at all when running this cmd but after, when i plug my custom USB Key on a computer, the OS won’t boot at all… I have errors with dracut-initqueue :
fedora dracut-initqueue: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
Warning: /dev/disk/by-uuid/… does not exist
Warning: /dev/root does not exist
If /dev/sdc use GPT partition layout and the setup is for UEFI machine at least 2 partition layout. One using FAT for UEFI boot information and the other can be any others file system, in your case ext4.
But if it use MBR and for Legacy BIOS, maybe above are enough. We just need to make sure that the boot flag correctly set to where the boot placed.
I think when you create the setup, the partition for UEFI information not installed to /dev/sdc and instead it created in /dev/sdb. I’m not sure, but I think that would be complicated.
Bellow I shared 2 setups I have. On /dev/sdb is normal Fedora Linux live USB and /dev/sdc is my portable Fedora Linux installation on external drive.