Debian Buster custom UEFI Live USB
by kkman007 from LinuxQuestions.org on (#56PW5)
Hi
Until the latest release of Debian Buster 10.5 I was able to build a USB stick with legacy and UEFI boot ( with secure boot disabled ) which held just my initrd, vmlinuz and filesystem.squashfs and used grub to load it toram.
Now when I try to create a USB ( NOT USING ISO dd ) The boot process keeps rebooting. Just before each reboot a message is flashed up saying somthing like "cannot find boot disk". Its so fast I cannot read it.
I have tried many blogs about how to do this and am currenty using this web sites instructions.
https://linuxconfig.org/how-to-creat...usb-with-linux
What I want is a writtable data partition to copy my three files to and use grub to boot them.
For background, I used debootstrap minbase to build a minimal buster build and used mksquashfs to build the squashfs file. With the USB I can only boot using legacy but UEFI with/without secure boot enabled just goes to a machine restarting loop.
Lastly since the runtime is in memory and does not use any devices I am very confused as how to go about this so any help would be great


Until the latest release of Debian Buster 10.5 I was able to build a USB stick with legacy and UEFI boot ( with secure boot disabled ) which held just my initrd, vmlinuz and filesystem.squashfs and used grub to load it toram.
Now when I try to create a USB ( NOT USING ISO dd ) The boot process keeps rebooting. Just before each reboot a message is flashed up saying somthing like "cannot find boot disk". Its so fast I cannot read it.
I have tried many blogs about how to do this and am currenty using this web sites instructions.
https://linuxconfig.org/how-to-creat...usb-with-linux
What I want is a writtable data partition to copy my three files to and use grub to boot them.
For background, I used debootstrap minbase to build a minimal buster build and used mksquashfs to build the squashfs file. With the USB I can only boot using legacy but UEFI with/without secure boot enabled just goes to a machine restarting loop.
Lastly since the runtime is in memory and does not use any devices I am very confused as how to go about this so any help would be great