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

Geert Stappers stappers at stappers.nl
Sat Aug 6 14:19:09 UTC 2022


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.


> |$ sudo fdisk -l bin/ipxe.usb
> |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
> |$
> 
> 
> By whom is that reproducable?

All who execute these commands:

cd /tmp
wget --quiet https://boot.ipxe.org/ipxe.usb
file ipxe.usb
/usr/sbin/fdisk -l ipxe.usb

<screenshot>
stappers at myhost:~
$ cd /tmp
stappers at myhost:/tmp
$ wget --quiet https://boot.ipxe.org/ipxe.usb
stappers at myhost:/tmp
$ file ipxe.usb
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
stappers at myhost:/tmp
$ /usr/sbin/fdisk -l ipxe.usb
Disk 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
ipxe.usb4  *       32  4095    4064   2M eb BeOS fs
stappers at myhost:/tmp
$ 
</screenshot>
 
> On a known working "bin/ipxe.usb", which partition type has it?
 
I'm asking because I have the unplesant feeling that
the bin/ipxe.usb build process doesn't any more yield a working image.
I'm unable to mount the partitition.

I hope this message gets a response like "works for me".



Groeten
Geert Stappers
-- 
Silence is hard to parse


More information about the ipxe-devel mailing list