]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Ensure local drives are connected when attempting a SAN boot 1341/head
authorMichael Brown <mcb30@ipxe.org>
Wed, 20 Nov 2024 14:21:16 +0000 (14:21 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 20 Nov 2024 14:25:06 +0000 (14:25 +0000)
commite9a23a5b394f40c1525c40416105eaaa1787f749
tree7d1b38ec9a133f6d306a629a342238c948def9cf
parent8fc11d8a4ad41f15af3d081250865f971312d871
[efi] Ensure local drives are connected when attempting a SAN boot

UEFI systems may choose not to connect drivers for local disk drives
when the boot policy is set to attempt a network boot.  This may cause
the "sanboot" command to be unable to boot from a local drive, since
the relevant block device and filesystem drivers may not have been
connected.

Fix by ensuring that all available drivers are connected before
attempting to boot from an EFI block device.

Reported-by: Andrew Cottrell <andrew.cottrell@xtxmarkets.com>
Tested-by: Andrew Cottrell <andrew.cottrell@xtxmarkets.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_block.c