Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: oskaratk on March 12, 2015, 08:33:47 AM

Title: Resizing SD - latest image ( 3.4.90+ release 10 )
Post by: oskaratk on March 12, 2015, 08:33:47 AM
Howdy again,

I have the system on a 23GB SD up and running. Trying to resize the partition (on a 2nd 32GB SD of course) using gparted.

This worked fine with older images. But not gparted crashes while scanning the devices

Anyone success resizing partitions - maybe with a different tool or command line ?

Thanks
Oskar
Title: Re: Resizing SD - latest image ( 3.4.90+ release 10 )
Post by: JohnS on March 12, 2015, 09:16:08 AM
With the other problem you've had it sounds like the system you're using is faulty in some way.  Bad install of software, faulty RAM or whatever.  Using another system is likely to work.

John
Title: Re: Resizing SD - latest image ( 3.4.90+ release 10 )
Post by: rouvas on March 12, 2015, 01:58:12 PM
I don't actually resize the Linux partition on the SD cards I'm using, but I'm creating on the fly another partition for using the rest of the SD card.

Using this:

root> fdisk /dev/mmcblk0 <<EOF
d
3
n
p
3


w
EOF

root> mkfs.ext4 /dev/mmcblk0p3
root> mount -o noatime,errors=remount-ro /dev/mmcblk0p3 /mnt


results mounted in /mnt the rest of the SD card space.
So far, I've used it on 8GB, 16GB, 32GB and 64GB cards and it works OK.

Maybe you can try this instead of resizing the Linux partition (/dev/mmcblk0p2).