System won't boot from USB stick

You do know that GRUB is capable of loading an ISO directly from your system disk ?

I have a folder in my root called /miso and a custom grub config which makes it possible to boot the iso directly - it will likely need adaption for your use case

 $ cat /boot/grub/custom.cfg 
menuentry "Rescue"  {
    set isofile="/miso/rescue-25.iso"
    set dri="free"
    set lang="en_DK"
    set keytable="dk"
    set timezone="Europe/Copenhagne"
    search --no-floppy -f --set=root $isofile
    probe -u $root --set=abc
    set pqr="/dev/disk/by-uuid/$abc"
    loopback loop $isofile
    linux  (loop)/boot/vmlinuz-x86_64  img_dev=$pqr img_loop=$isofile driver=$dri tz=$timezone lang=$lang keytable=$keytable copytoram
    initrd  (loop)/boot/amd_ucode.img (loop)/boot/initramfs-x86_64.img
}

It can also boot from a ventoy disk - after selecting the ISO you get a default and a GRUB option - if one option don’t work try the other…

1 Like