From ecf9674d141df3a7b00b916b1a5e4c7f81ca9d4b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 21 Sep 2013 12:30:38 +0200 Subject: mkimage: do not force FAT32 for the /boot filesystem. If the FAT partition does not have enough clusters for FAT32, the Raspberry Pi will fail to boot. Fix: let mkfs.vfat choose the FAT type automatically. --- mkimage.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkimage.sh.in') diff --git a/mkimage.sh.in b/mkimage.sh.in index 16d334e..aff4f14 100644 --- a/mkimage.sh.in +++ b/mkimage.sh.in @@ -114,7 +114,7 @@ parted $FILENAME mkpart primary ${_btype} 2048s 256M parted $FILENAME mkpart primary ${ROOT_FSTYPE} 256M 100% parted $FILENAME toggle 1 boot LOOPDEV=$(losetup --show --find -P $FILENAME) -mkfs.${BOOT_FSTYPE} -F32 ${LOOPDEV}p1 >/dev/null 2>&1 +mkfs.${BOOT_FSTYPE} ${LOOPDEV}p1 >/dev/null 2>&1 mkfs.${ROOT_FSTYPE} ${LOOPDEV}p2 >/dev/null 2>&1 info_msg "Unpacking rootfs tarball ..." -- cgit 1.4.1