2014-07-17, 17:29
(2014-07-17, 13:42)doveman2 Wrote:Gparted is supposed to work, if you have a different linux system in which you can chuck you SD card. Do make a backup first just in case!(2014-07-17, 09:43)da-anda Wrote: @Milhouse - yes, the installer script is creating such a small partition. Mine is also too small. Already had to increase it once and thought 200 MB would be sufficient - silly me
Is there an easy way to expand the partition? Could the installer be changed to create a bigger partition in future to avoid this issue?
To have the installer (on linux) take care of it, change the following lines in create_sdcard:
Code:
parted -s "$DISK" unit cyl mkpart primary fat32 -- 0 16
# align the partition on 4mb boundary, starting at 132mb (132 % 4 == 0), which
# is right after the first partition
parted -s "$DISK" mkpart primary ext2 -- 132MiB -2cyl
To the following to double the partition size (from 132 to 264MB):
Code:
parted -s "$DISK" unit cyl mkpart primary fat32 -- 0 32
# align the partition on 4mb boundary, starting at 264mb (264 % 4 == 0), which
# is right after the first partition
parted -s "$DISK" mkpart primary ext2 -- 264MiB -2cyl
Using the installer will obviously wipe your complete SD card.