[ipxe-devel] fdisk -l bin/ipxe.usb
Christian Iwata Nilsson
nikize at gmail.com
Sun Aug 7 09:20:33 UTC 2022
On Sun, 7 Aug 2022, 08:47 Adam Baxter, <voltagex at voltagex.org> wrote:
>
> > 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.
> >
>
>
> Apologies Geert: you're correct:
>
> Step 9/10 : RUN file bin/ipxe.usb && fdisk -l bin/ipxe.usb
> ---> Running in 822f0cd9d87a
> 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
> Disk bin/ipxe.usb: 368 KiB, 376832 bytes, 736 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x00000000
>
> Device Boot Start End Sectors Size Id Type
> bin/ipxe.usb4 * 32 4095 4064 2M eb BeOS fs
> Removing intermediate container 822f0cd9d87a
>
> However, I can boot this in qemu just fine (I don't have a real system to
> easily test this on right now)
>
>
> --Adam
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo/ipxe-devel
iPXE is a binary to be executed, not a filesystem, partition type used is
to reduce risk of "smart" OSes destroying the data.
If building ISO the structure is different but there the lkrn format is
used instead and is not directly executed from pcbios.
/Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20220807/9e844408/attachment.htm>
More information about the ipxe-devel
mailing list