ctyler / rootfs-resize

Tool to resize the root filesystem of a running Linux system.
GNU General Public License v2.0
8 stars 9 forks source link

Resizing Micro-SD's larger than 32Gb Fails #2

Open DigitalMechanic opened 8 years ago

DigitalMechanic commented 8 years ago

After successfully installing CentOS Userland 7 (latest available arm-dev release as of 5/3/16) on Pi2 or Pi3 on an microSD card larger than 32Gb, the system fails to restart and the microSD must be completely wiped and re-imaged. Have tried this with Pi2 and Pi3 (just hoping) using #10 64Gb and #10 128Gb microSD's. The system runs fine unexpanded on any size card.

MingcongBai commented 8 years ago

Raising my hand here for the same issue.

arrfab commented 8 years ago

Just to add (for the CentOS armhfp images) that we'll rebase to a wrapper script around cloud-utils-growpart and resize2fs (including http://armv7.dev.centos.org/repodir/tools/cloud-utils/cloud-utils-growpart-0.27-20.el7.armv7hl.rpm) So a simple script like this will work (and doesn't need any reboot) :

growpart /dev/mmcblk0 3 resize2fs /dev/mmcblk0p3