From b4f044e4bdba7f18fb928715e17c6572cea35da9 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Wed, 10 Dec 2014 00:56:30 +0000 Subject: [PATCH] Update create_sdcard so that it creates a 256MiB system partition Drop unit cyl --- packages/tools/bcm2835-bootloader/files/create_sdcard | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/tools/bcm2835-bootloader/files/create_sdcard b/packages/tools/bcm2835-bootloader/files/create_sdcard index c6f3fae66c..66c05c4e1f 100755 --- a/packages/tools/bcm2835-bootloader/files/create_sdcard +++ b/packages/tools/bcm2835-bootloader/files/create_sdcard @@ -195,10 +195,10 @@ echo "#########################################################" # create a single partition echo "creating partitions on $DISK..." - parted -s "$DISK" unit cyl mkpart primary fat32 -- 0 16 -# align the partition on 4mb boundary, starting at 132mb (132 % 4 == 0), which + parted -s "$DISK" mkpart primary fat32 -- 0 256MiB +# align the partition on 4mb boundary, starting at 260mb (260 % 4 == 0), which # is right after the first partition - parted -s "$DISK" mkpart primary ext2 -- 132MiB -2cyl + parted -s "$DISK" mkpart primary ext2 -- 260MiB -2cyl # make partition active (bootable) echo "marking partition active..."