As the log below shows grub_net_fini_hw() is called before entering the kernel and before the LoadFile2 protocol is executed:
loader/efi/linux.c:478: kernel @ 0xf63d8000 net/net.c:1559: fs_close() name: /casper/vmlinuz net/net.c:1510: fs_open() name: /casper/initrd loader/efi/linux.c:396: LoadFile2 initrd loading protocol installed net/net.c:1819: grub_net_fini_hw() net/drivers/efi/efinet.c:232: efi_net close_card loader/efi/linux.c:141: Installed/updated FDT configuration table @ 0x0 loader/efi/linux.c:191: linux command line: 'BOOT_IMAGE=/casper/vmlinuz efi=debug earlyprintk url=https://cdimage.ubuntu.com/ubuntu-server/daily-live/current/jammy-live-serv er-arm64.iso' loader/efi/peimage.c:215: PE-COFF header checked loader/efi/peimage.c:282: sections loaded loader/efi/peimage.c:493: no relocations loader/efi/peimage.c:709: Executing image loaded at 0xf3640000 Entry point 0xf55473c8 Size 0x02d90000 EFI stub: Booting Linux Kernel... EFI stub: EFI_RNG_PROTOCOL unavailable EFI stub: Generating empty DTB loader/efi/linux.c:348: Providing initrd via LOAD_FILE2_PROTOCOL net/net.c:1685: fs_read_real() name: /casper/initrd net/drivers/efi/efinet.c:169: efi_net open_card net/drivers/efi/efinet.c:75: Timeout: limit_time 50680, new_time 50681 error: couldn't send network packet.
As the log below shows grub_net_fini_hw() is called before entering the kernel and before the LoadFile2 protocol is executed:
loader/ efi/linux. c:478: kernel @ 0xf63d8000 efi/linux. c:396: LoadFile2 initrd loading protocol installed efi/efinet. c:232: efi_net close_card efi/linux. c:141: Installed/updated FDT configuration table @ 0x0 efi/linux. c:191: linux command line: 'BOOT_IMAGE= /casper/ vmlinuz /cdimage. ubuntu. com/ubuntu- server/ daily-live/ current/ jammy-live- serv efi/peimage. c:215: PE-COFF header checked efi/peimage. c:282: sections loaded efi/peimage. c:493: no relocations efi/peimage. c:709: Executing image loaded at 0xf3640000 efi/linux. c:348: Providing initrd via LOAD_FILE2_PROTOCOL efi/efinet. c:169: efi_net open_card efi/efinet. c:75: Timeout: limit_time 50680, new_time 50681
net/net.c:1559: fs_close() name: /casper/vmlinuz
net/net.c:1510: fs_open() name: /casper/initrd
loader/
net/net.c:1819: grub_net_fini_hw()
net/drivers/
loader/
loader/
efi=debug earlyprintk
url=https:/
er-arm64.iso'
loader/
loader/
loader/
loader/
Entry point 0xf55473c8
Size 0x02d90000
EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable
EFI stub: Generating empty DTB
loader/
net/net.c:1685: fs_read_real() name: /casper/initrd
net/drivers/
net/drivers/
error: couldn't send network packet.