Skip to content

Disk images should be a multiple of 512 bytes big.

It would be nice if the sizes of your disk images would be a multiple of 512 bytes big, like real disks with 512 byte sector size.

Right now kali-linux-2022.1-raspberry-pi-armhf.img is 10021590357 bytes uncompressed. And fails verification when written with Raspberry Pi Imager on Windows and Mac OS X, because those operating systems require write()'s to raw SD card block devices to be a multiple of 512 bytes. Imager does not pad invalid sized images in the current version, perhaps that could be improved. However that will not help users with the existing version.

https://github.com/raspberrypi/rpi-imager/issues/364