:-)

On 10/14/25 2:41 PM, Frantisek Rysanek wrote:
Can you boot, on the notebook, using the Realtek NIC as a bootable
device in the "UEFI BIOS" ?

I don't know if I can boot from a PXE but the PXE boot is on the top of the list of bootable devices in the Boot section. If I remove it from the list of bootable options I doesn't change anything at all for my problem.

Are you doing exactly that, or do you instead load grub off some
local disk device, and try to use the EFI network API after that?

My idea is to install GRUB on an EFI partition but load grub.cfg from a remote TFTP. For the TFTP to work I need a DHCP-configured NIC. For a DHCP I need a NIC...

On a desktop:

insmod efinet
net_dhcp

works fine.

Best regards,
Marek

The reason for me to ask is: the UEFI "BIOS" loads the EFI network
stack (on top of a Realtek HW-specific driver DXE) before trying to
actually boot from some device in the sequence - but, possibly the
EFI network stack only remains loaded if you choose a net-bootable
device/profile? I.e. if you choose to boot from a disk drive, the EFI
network stack possibly gets unloaded / disabled...

Frank


Date sent:              Tue, 14 Oct 2025 11:49:02 +0200
To:                     <[email protected]>
From:                   Marek Kozlowski <[email protected]>
Subject:                GRUB doesn't see my Realtec NIC

:-)

On my desktop everything works fine. But, unfortunately, on my
ThinkPad X13 G1 AMD it doesn't.

In UEFI I can see my ethernet card (the correct MAC). Under Linux
(Arch) I can see it from lspci:

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev
0e)

and ifconfig and I can use it correctly for connecting.

Unfortunately in GRUB after:

grub> insmod efinet
grub> net_ls_cards

I still see NO interfaces. I need it for 'net_dhcp' and remote (tftp)
grub.cfg location. I guess that some low-level driver (in ArchLinux it
is the linux-firmware meta-package) but I'm not sure if and how can I
initialize it correctly at the level of GRUB. Any help welcome!

Best regards,
Marek









Reply via email to