Bug#928750: [grub-efi-amd64] On EFI pxeboot grubx64.efi only loads config when loaded directly
Michael Kesper
mkesper at schokokeks.org
Fri May 10 10:37:55 BST 2019
Package: grub-efi-amd64
Version: 2.02+dfsg1-16
Severity: important
--- Please enter the report below this line. ---
https://d-i.debian.org/manual/en.amd64/ch04s05.html mentions that you need to
configure
filename "debian-installer/amd64/bootnetx64.efi";
as bootfile for booting via PXE in dhcp configs.
When doing so, grubx64.efi will be loaded in the next step, but will not try
to load its config files and - after 30s wait time showing the attached screen on console
present the Grub shell.
(As mentioned in https://lists.debian.org/debian-boot/2019/05/msg00076.html)
Excerpt from logs:
May 8 16:02:07 ssfnctl111 dhcpd: DHCPREQUEST for 10.45.10.32 (10.45.10.5) from 0c:c4:xxx via eth0
May 8 16:02:07 ssfnctl111 dhcpd: DHCPACK on 10.45.10.32 to 0c:c4:xxx via eth0
May 8 16:02:07 ssfnctl111 in.tftpd[21355]: RRQ from ::ffff:10.45.10.32 filename debian-installer/amd64/bootnetx64.efi
May 8 16:02:07 ssfnctl111 in.tftpd[21355]: tftp: client does not accept options
May 8 16:02:08 ssfnctl111 in.tftpd[21356]: RRQ from ::ffff:10.45.10.32 filename debian-installer/amd64/bootnetx64.efi
May 8 16:02:08 ssfnctl111 in.tftpd[21357]: RRQ from ::ffff:10.45.10.32 filename debian-installer/amd64/grubx64.efi
(Nothing re tftp afterwards)
If you change the boot option in dhcp. conf to
filename "debian-installer/amd64/grubx64.efi";
it changes to:
May 10 10:51:20 ssfnctl111 in.tftpd[16770]: RRQ from ::ffff:10.45.10.32 filename debian-installer/amd64/grubx64.efi
May 10 10:51:20 ssfnctl111 in.tftpd[16770]: tftp: client does not accept options
May 10 10:51:21 ssfnctl111 in.tftpd[16771]: RRQ from ::ffff:10.45.10.32 filename debian-installer/amd64/grubx64.efi
May 10 10:51:21 ssfnctl111 in.tftpd[16773]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/command.lst
May 10 10:51:21 ssfnctl111 in.tftpd[16773]: sending NAK (1, File not found) to ::ffff:10.45.10.32
May 10 10:51:21 ssfnctl111 in.tftpd[16774]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/fs.lst
May 10 10:51:21 ssfnctl111 in.tftpd[16774]: sending NAK (1, File not found) to ::ffff:10.45.10.32
May 10 10:51:21 ssfnctl111 in.tftpd[16775]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/crypto.lst
May 10 10:51:21 ssfnctl111 in.tftpd[16775]: sending NAK (1, File not found) to ::ffff:10.45.10.32
May 10 10:51:21 ssfnctl111 in.tftpd[16776]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/terminal.lst
May 10 10:51:21 ssfnctl111 in.tftpd[16776]: sending NAK (1, File not found) to ::ffff:10.45.10.32
May 10 10:51:21 ssfnctl111 in.tftpd[16777]: RRQ from ::ffff:10.45.10.32 filename /grub/grub.cfg
May 10 10:51:21 ssfnctl111 in.tftpd[16777]: sending NAK (1, File not found) to ::ffff:10.45.10.32
After adding a symlink in /var/lib/tftpboot/ grub -> debian-10/debian-installer/amd64/grub
(additional to debian-installer -> debian-10/debian-installer), Grub will load and we can chose a menu
to start our preseeded install:
May 10 10:53:55 ssfnctl111 in.tftpd[18546]: RRQ from ::ffff:10.45.10.32 filename debian-installer/amd64/grubx64.efi
May 10 10:53:55 ssfnctl111 in.tftpd[18546]: tftp: client does not accept options
May 10 10:53:55 ssfnctl111 in.tftpd[18547]: RRQ from ::ffff:10.45.10.32 filename debian-installer/amd64/grubx64.efi
May 10 10:53:56 ssfnctl111 in.tftpd[18548]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/command.lst
May 10 10:53:56 ssfnctl111 in.tftpd[18549]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/fs.lst
May 10 10:53:56 ssfnctl111 in.tftpd[18550]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/fs.lst
May 10 10:53:56 ssfnctl111 in.tftpd[18551]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/fs.lst
May 10 10:53:56 ssfnctl111 in.tftpd[18552]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/fs.lst
May 10 10:53:56 ssfnctl111 in.tftpd[18553]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/crypto.lst
May 10 10:53:56 ssfnctl111 in.tftpd[18554]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/crypto.lst
May 10 10:53:56 ssfnctl111 in.tftpd[18555]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/crypto.lst
May 10 10:53:56 ssfnctl111 in.tftpd[18556]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/terminal.lst
May 10 10:53:56 ssfnctl111 in.tftpd[18557]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/terminal.lst
May 10 10:53:56 ssfnctl111 in.tftpd[18558]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/terminal.lst
May 10 10:53:56 ssfnctl111 in.tftpd[18559]: RRQ from ::ffff:10.45.10.32 filename /grub/grub.cfg
May 10 10:53:56 ssfnctl111 in.tftpd[18560]: RRQ from ::ffff:10.45.10.32 filename /grub/grub.cfg
May 10 10:53:56 ssfnctl111 in.tftpd[18561]: RRQ from ::ffff:10.45.10.32 filename /grub/grub.cfg
May 10 10:53:56 ssfnctl111 in.tftpd[18562]: RRQ from ::ffff:10.45.10.32 filename /grub/font.pf2
May 10 10:53:56 ssfnctl111 in.tftpd[18563]: RRQ from ::ffff:10.45.10.32 filename /isolinux/splash.png
May 10 10:53:56 ssfnctl111 in.tftpd[18563]: sending NAK (1, File not found) to ::ffff:10.45.10.32
May 10 10:53:56 ssfnctl111 in.tftpd[18564]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/play.mod
May 10 10:53:56 ssfnctl111 in.tftpd[18565]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/play.mod
May 10 10:53:56 ssfnctl111 in.tftpd[18566]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/play.mod
May 10 10:53:56 ssfnctl111 in.tftpd[18567]: RRQ from ::ffff:10.45.10.32 filename /grub/x86_64-efi/play.mod
--- System information. ---
Architecture:
Kernel: Linux 4.19.0-4-amd64
Debian Release: buster/sid
990 testing security.debian.org
990 testing ftp2.de.debian.org
990 buster download.docker.com
--- Package information. ---
Depends (Version) | Installed
========================================-+-==================
debconf (>= 0.5) | 1.5.71
OR debconf-2.0 |
grub-common (= 2.02+dfsg1-16) | 2.02+dfsg1-16
grub2-common (= 2.02+dfsg1-16) | 2.02+dfsg1-16
grub-efi-amd64-bin (= 2.02+dfsg1-16) | 2.02+dfsg1-16
ucf | 3.0038+nmu1
Package's Recommends field is empty.
Package's Suggests field is empty.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_20190509_113044.png
Type: image/png
Size: 11109 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20190510/24bb3699/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20190510/24bb3699/attachment-0001.sig>
More information about the Pkg-grub-devel
mailing list