Format SD card freature
Posted: 2026-04-17 12:57
Format SD card has a problem.
It's using vfat this means we have a limitation of size of 4GB for FAT32.
If you have a qcow2, iso image , then you cannot upload on sdcard.
You need to change to ext4 to handle larger size of file that can be uploaded to sdcard.
There is an workaround where you can format manually in CLI or Terminal.
It's using vfat this means we have a limitation of size of 4GB for FAT32.
If you have a qcow2, iso image , then you cannot upload on sdcard.
You need to change to ext4 to handle larger size of file that can be uploaded to sdcard.
There is an workaround where you can format manually in CLI or Terminal.
Code: Select all
# check where is mounted sdcard
mount | grep sdcard
df -h /mnt/sdcard
# sample output
/dev/mmcblk1p1 60G ... /mnt/sdcard
# umount sdcard
umount /mnt/sdcard
# format sdcard with ext4 filesystem
mkfs.ext4 -L sdcard /dev/mmcblk1p1
# sample output
mke2fs 1.xx.x (...)
/dev/mmcblk1p1 contains a vfat file system labelled 'SDCARD'
Proceed anyway? (y,N) y
Creating filesystem with ... blocks and ... inodes
...
Writing superblocks and filesystem accounting information: done
# mount new sdcard with new filesystem ext4
mount -t ext4 /dev/mmcblk1p1 /mnt/sdcard
# check again
df -h /mnt/sdcard
mount | grep sdcard
# sample output:
/dev/mmcblk1p1 59G 24K 56G 1% /mnt/sdcard
/dev/mmcblk1p1 on /mnt/sdcard type ext4 (rw,relatime)
# now you can use sdcard with ext4 filesystem. You can upload large iso files like 8GB or l