February 27, 2016 · grow resize ext4 raspberry pi

Resize Linux Partition on Raspberry PI

Actually you can resize the disk while active in arch linux. might work for ubuntu, raspbian, debian and other linux based ones

As root:

Delete the second partition /dev/mmcblk0p2

Create a new primary partition and use default sizes prompted. This will then create a partiton that fills the disk

Save and exit fdisk:

Now reboot. Once rebooted:
resize2fs /dev/mmcblk0p2

Your main / partition should be the full size of the disk now.

another method with parted

sources: http://archlinuxarm.org/forum/viewtopic.php?f=31&t=3119

  • LinkedIn
  • Tumblr
  • Reddit
  • Pinterest
  • Pocket
DigitalOcean Referral Badge
Keep my site online & receive a $200 60-day credit at DigitalOcean for your VPS Hosting
Cheaper Games on Instant-Gaming
Creative Commons Licence