David wrote: >debian-users: > >I would like to create a USB flash drive with Debian that I can boot in >new Windows 10 machines with UEFI Secure Boot, so that I can examine >things, run tools, take images of the Windows system drive, etc., before >booting Windows for the first time. > > >I have downloaded, verified the checksum, and burned the following to a >USB flash drive: > > https://cdimage.debian.org/debian-cd/current/amd64/jigdo-cd/ > > debian-10.2.0-amd64-xfce-CD-1.iso > > >Using a Dell PowerEdge T30 with CMOS Setup configured for UEFI and >Secure Boot, I booted d-i and installed onto a wiped USB flash drive -- >hostname "buster". > > >When I attempt to boot buster, the T30 firmware does not see the it: > > No bootable devices found > Press F1 key to retry boot. > Press F2 to reboot into setup. > Press F5 key to run onboard diagnostics.
OK. How exactly have you partitioned the target USB drive? What files are on the EFI System Partition there? Did you tell the installer to also install grub to the removable media path? That would be my first guess for what's missing. ... >Using the T30 in Secure Boot again, I booted d-i into a rescue shell, >mounted buster root, boot, efi, dev, proc, and sys, and started Bash: > > root@d-i:/# ls -1 /usr/lib/grub > grub-mkconfig_lib > x86_64-efi > x86_64-efi-signed > > root@d-i:/# grub-install --target x86_64-efi-signed > grub-install: error: /usr/lib/grub/x86_64-efi-signed/modinfo.sh >doesn't exist. Please specify --target or --directory. > > root@d-i:/# find /usr/lib/grub -name modinfo.sh > /usr/lib/grub/x86_64-efi/modinfo.sh > > >It seems /usr/lib/grub/x86_64-efi/modinfo.sh is missing. You don't need to tell grub-install to use x86_64-efi-signed as a target - it should work things out automatically and install shim etc. as needed. There is *not* a modinfo.sh for the signed grub packaging as the signed binaries we build for grub are monolithic (i.e. no loadable modules allowed). -- Steve McIntyre, Cambridge, UK. st...@einval.com Armed with "Valor": "Centurion" represents quality of Discipline, Honor, Integrity and Loyalty. Now you don't have to be a Caesar to concord the digital world while feeling safe and proud.