I am having problems trying to resize the file system on my Pi3. I’ve followed the instructions on the Mate 15.10 download page. After I reboot and enter “sudo resize2fs /dev/mmcblk0p2” into the command window, I get the following after entering the sudo password:
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing is required.
old_desc_blocks = 1, new-desc-blocks = 1
resize2fs: Permission denied to resize file system.
What is happening? How do I complete the resizing?
did you extend the partition table first? usually you delete partition 2, then create a new one, 2, accept defaults, and write to disk. I think the sequence is n, 2, enter, enter, write, exit. Then, you do the resize2fs. I don’t have the instructions you looked at but this is the idea, first extend the partition table and then extend the file system.
HTH
Am I reading that correctly, that the file system is still mounted? It may need to be unmounted to resize.
I did the same approach you are with my Pi3. You wrote the image to the micro sdcard and that left the remaining 8gb to 60gb unallocated. Now you are wanting to resize the second partition to the end of the micro sdcard. I know some people prefer to use the command line for everything, but this is one time I usually use gparted. I had no problems resizing with gparted(and I still got to use the command line to install it, so I didn’t feel like a total noob).
My other question is, are you trying to resize the micro sdcard using the Pi3? I always resized the card with another computer so that I didn’t have to worry if unmounting the card would cause a failure. That would be my suggestion.
If you use another computer, with gparted installed, you should have no problem resizing.
I would be interested in how your Pi3 is doing, I’ve had some major overheating issues with mine. Not while watching video or browsing, but if streaming video(like youtube), it is getting up to 100Celcius, that’s with the heat sinks to dissipate the heat.
Good luck with it. Hope this helps, Feel free to ask if you have any other questions.