mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-10 10:22:00 +01:00
Construct a partitioned disk, resizable with libparted-based tools (gparted and al.). libparted has limitations to cross cluster size boundaries in resize operations [1]. Use the minimum image file size to ensure FAT16 partition crosses the 2K/4K cluster size boundary (128MB+)[2]. In MB alignment, this is a full image 130MB = 129MB + 1MB offset for partition table (sector 2048 =1MB). [1] https://www.gnu.org/software/parted/manual/html_node/parted_58.html [2] https://www.pctechguide.com/hard-disks/file-systems-fat-fat8-fat16-fat32-and-ntfs-explained