mirror of
https://github.com/ipxe/ipxe.git
synced 2026-04-23 14:42:09 +02:00
The syslinux function check_fat_bootsect() performs some sanity checks to ensure that the filesystem type string (e.g. "FAT12") is correct for the total number of clusters in the FAT. There is unfortunately a bug in its calculation of the number of sectors occupied by the root directory, which causes it to underestimate the number of sectors by a factor of 32. When the total number of clusters is close to the FAT12 limit of 4096, this bug can cause syslinux to erroneously report that the filesystem has "more than 4084 clusters but claims FAT12". Work around this bug by selecting an explicit cluster size in order to avoid potentially problematic cluster counts. We default to using 4kB clusters, doubling to 8kB if using 4kB would result in a total cluster count near 4096 (the FAT12 limit) or near 65536 (the FAT16 limit). Signed-off-by: Michael Brown <mcb30@ipxe.org>
iPXE network bootloader
iPXE is the leading open source network boot firmware. It provides a full PXE implementation enhanced with additional features such as:
-
boot from a web server via HTTP or HTTPS,
-
boot from an iSCSI, FCoE, or AoE SAN,
-
control the boot process with a script,
You can use iPXE to replace the existing PXE ROM on your network card, or you can chainload into iPXE to obtain the features of iPXE without the hassle of reflashing.
iPXE is free, open-source software licensed under the GNU GPL (with some portions under GPL-compatible licences).
You can download the rolling release binaries (built from the latest commit), or use the most recent stable release.
For full documentation, visit the iPXE website.
Languages
C
97%
Assembly
1.5%
Perl
0.6%
Python
0.4%
Makefile
0.4%