[ipxe-devel] fdisk -l bin/ipxe.usb

Adam Baxter voltagex at voltagex.org
Sun Aug 7 06:35:28 UTC 2022


On Sun, 7 Aug 2022, at 00:19, Geert Stappers wrote:
> On Sat, Aug 06, 2022 at 12:53:52AM +0200, Geert Stappers wrote:
>> Hi,
>> 
>> Having done `make bin/ipxe.usb` and copying that to an
>> USB-memory-device, I had NOT a bootable  iPXE.
>> 
>> While researching what went wrong, I saw an unexpected partion type:
>> 
>>   Be OS
>> 
>
> A "FAT" partition is what was expected.

Using iPXE from Git d3c8944d5c3ab262826ed33b16f3fc4dd43bc304 and the following Dockerfile:

FROM debian:sid
RUN apt update && apt -y install make gcc-10 git file liblzma-dev
RUN update-alternatives --install /usr/bin/gcc gcc "/usr/bin/gcc-10" 1
RUN mkdir /src
WORKDIR /src
RUN git clone https://github.com/ipxe/ipxe
WORKDIR /src/ipxe/src
RUN make -j8 bin/ipxe.usb
RUN file bin/ipxe.usb


I get
bin/ipxe.usb: DOS/MBR boot sector; partition 4 : ID=0xeb, active, start-CHS (0x0,1,1), end-CHS (0x1,63,32), startsector 32, 4064 sectors. 
I haven't tested it, but I think that's more along the lines of what you might expect.


--Adam


More information about the ipxe-devel mailing list