Resizing SD - latest image ( 3.4.90+ release 10 )

Started by oskaratk, March 12, 2015, 08:33:47 AM

Previous topic - Next topic

oskaratk

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

JohnS

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

rouvas

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).