0

I'm trying to setup a raspberry pi 3 for linux use, and I'm running into trouble with partitions. I'm very new to linux use and disk management so this is probably my misunderstanding.

I don't have enough space, by my interpretation, to use more disk space but fdisk -l shows that it recognizes the available space on the SD card: https://i.imgur.com/SwVdtEQ.png

but my filesystem can't make use of this space: https://i.imgur.com/GUu1Hte.png

How do I allow it to use the remaining ~29GB?

0

You should NOT (ABSOLUTELY NOT) use fdisk or cfdisk to resize partitions with operating systems on them, as this will most likely make them unable to boot. Install Gparted and resize the partition there.

0

From:

$ man resize2fs

The resize2fs program will resize ext2, ext3, or ext4 file systems

Should be:

$ sudo resize2fs /dev/mmcblk0p1 26G

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.