Re: Fresh install UEFI debian-10.2.0-amd64-xfce-CD-1 will not boot
Apologies for the slow response - I've had 3 back-to-back conferences
and I'm just catching up on mail... :-/
David wrote:
>On 2020-01-30 16:47, Steve McIntyre wrote:
>> 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.
>
>On 2020-01-30 16:47, Steve McIntyre wrote:
>> 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).
...
>I zeroed another USB stick and used a Dell PowerEdge T30 in UEFI Secure
>Boot mode to install Debian onto the blank USB stick:
>
> Insert debian-10.2.0-amd64-xfce-CD-1 USB flash drive into
> front top USB 3.0 port.
>
> Insert wiped SanDisk Ultra Fit USB 3.0 16 GB flash drive into
> front bottom USB 3.0 port.
>
> Boot.
>
> Debian GNU/Linux 10.2.0
>
> Debian GNU/Linux UEFI Installer menu Install
> Language C
> Continent or region North America
> Country, territory or area United States
> Keymap to use American English
> Primary network interface eth0
> Hostname buster
> Domain name tracy.holgerdanske.com
> Root password ********
> Full name for the new user debian
> Username for your account debian
> Choose a password for the new user ********
> Select your time zone Pacific
> Partitioning method manual
>
> Press Alt+F2 and open second virtual terminal. Installation media
> is /dev/sdb and blank media is /dev/sda.
>
> Select sda and create empty partition table.
>
> Encrypted volume (sda3_crypt) - 1.0 GB Linux device-mapper (crypt)
> #1 1.0 GB f swap swap
> Encrypted volume (sda4_crypt) - 13.0 GB Linux device-mapper (crypt)
> #1 13.0 GB f btrfs /
> SCSI5 (0,0,0) (sda) - 15.6 GB SanDisk Ultra Fit
> 1.0 MB FREE SPACE
> #1 499.1 MB F ESP buster_esp
> #2 1.0 GB F btrfs buster_boot /boot
> #3 1.0 GB K crypto buster_swap (sda3_crypt)
> #4 12.0 GB K crypto buster_root (sda4_crypt)
> 51.4 MB FREESPACE
> SCSI6 (0,0,0) (sdb) - 15.6 GB SanDisk Ultra Fit
>
> Finish partitioning and write changes to disk
> Use a network mirror No
> Participate in the package usage survey No
> Choose software to install
> Debian desktop environment
> Xfce
> standard system utilities
> Installation complete Continue
>
> Power down at POST.
>
> Remove installation media.
>
>
>Note that I was never prompted to install GRUB.
No, for EFI we just do it by default. Due to the ESP, we already know
where to install so by default we don't have to prompt like we do in
BIOS mode.
...
>2020-01-30 21:40:36 root@tinkywinky ~
># mount -o ro /dev/sdb1 /mnt/sdb1
>
>2020-01-30 21:41:05 root@tinkywinky ~
># mount | grep sdb1
>/dev/sdb1 on /mnt/sdb1 type vfat
>(ro,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
>
>2020-01-30 21:41:37 root@tinkywinky ~
># ls -AlR /mnt/sdb1
>/mnt/sdb1:
>total 4
>drwxr-xr-x 3 root root 4096 Jan 30 19:42 EFI
>
>/mnt/sdb1/EFI:
>total 4
>drwxr-xr-x 2 root root 4096 Jan 30 19:43 debian
>
>/mnt/sdb1/EFI/debian:
>total 5208
>-rwxr-xr-x 1 root root 108 Jan 30 19:43 BOOTX64.CSV
>-rwxr-xr-x 1 root root 1206824 Jan 30 19:43 fbx64.efi
>-rwxr-xr-x 1 root root 121 Jan 30 19:43 grub.cfg
>-rwxr-xr-x 1 root root 1529200 Jan 30 19:43 grubx64.efi
>-rwxr-xr-x 1 root root 1261192 Jan 30 19:43 mmx64.efi
>-rwxr-xr-x 1 root root 1322936 Jan 30 19:43 shimx64.efi
OK, that's all looking like expected for a normal installation.
>Inserting the installed stick into the Dell PowerEdge T30 front top USB
>3.0 port, powering up, and pressing F2 to enter Setup:
>
>General -> Boot Sequence -> debian -> View
>
> Boot Option Name
> debian
>
> File System List
> VenHw(99E275E7-75A0-4B37-A2E6-C5385E6C00CB)
>
> File Name
> \EFI\BOOT\BOOTX64.EFI
>
>
>I find it strange that there is no EFI\BOOT\BOOTX64.EFI in the ESP
>partition/ filesystem listing, above.
That's the removable media path that I mentioned in earlier
mail. Operating system installers are *not* meant to install anything
there by default, as per the UEFI spec. Instead, they're meant to
install things under $ESP\EFI\$vendor and register the path with the
system's firmware.
If you *do* want to install to the removable media path too, then we
also support that but you have to ask for it. See
https://wiki.debian.org/UEFI#Force_grub-efi_installation_to_the_removable_media_path
for details on how to do that. This will probably fix your problem.
--
Steve McIntyre, Cambridge, UK. steve@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.
Reply to: