[ipxe-devel] [PATCH 0/1, WIP] [efi] allow setting of uefi filename

Michael Brown mcb30 at ipxe.org
Wed Apr 12 15:35:41 UTC 2017


On 02/12/16 22:12, Vishvananda Ishaya Abrams wrote:
> The uefi iscsi boot will only boot the default iscsi filename on the san drive
> (\EFI\BOOT\BOOTX64.EFI). Unfortunately, most os installers do not put the
> default efi file in place. Generally, they will install an efi file in a vendor
> directory and set up an efivar to tell the firmware where to find the file.  In
> order to boot images that are constructed like this, we must be able to specify
> where the proper uefi file is.
>
> The patch marked WIP because I'm not totally sure if:
>
> a) the name of the setting is ok
> b) if it should be in a different group (not SETTING_SANBOOT_EXTRA)
> c) if documentation about the setting needs to be added somewhere
> d) if there is a better way to accomplish this

Thank you!  I have generalised the patch to allow the filename to be 
specified via either the "sanboot --filename" option or the 
${san-filename} setting:

   http://git.ipxe.org/ipxe.git/commitdiff/84d406c

This generalised version allows for:

- specifying the filename directly via DHCP (as with root-path), to 
allow for boots without requiring the use of a script

- specifying the filename as part of the "sanboot" command, for a more 
natural syntax

- potential future expansion to interpret the filename for BIOS boots 
(e.g. to specify an explicit boot partition)

Thanks,

Michael



More information about the ipxe-devel mailing list