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[622]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
…
Warning: /dev/disk/by-uuid/… does not exist
Warning: /dev/root does not exist
Would you like first to plugin your USB then run lsblk -f and post it here.
From there we could see the partitions layout of your custom live USB and may be we can figure out where the grub.cfg and/or loader, then check if the UUID inside grub.cfg and/or loader are correct.
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.
Hope to be back in all distros soon - if you know a fedora package maintainer please ask them to ping the github project, thanx.
Latest release: Release v2.0.12 · hardinfo2/hardinfo2 · GitHub