As far as i can tell the block size conversion is not needed for uefi sanboot and it breaks when trying to sanboot a windows install. If there is some other edge case that requires the conversion code, I can try a different approach. Another option would be to attempt to detect the GPT as well and bail out of the block size remapping if we have a GPT. Before doing that it seems valuable to have a test case that actually requires this remapping.
Vishvananda Ishaya Abrams (1): [efi] remove special handling of block devices src/interface/efi/efi_block.c | 87 +------------------------------------------ 1 file changed, 2 insertions(+), 85 deletions(-) -- 2.5.0 _______________________________________________ ipxe-devel mailing list ipxe-devel@lists.ipxe.org https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel