Page 1 of 1

Resizing the partitions "resize-sd" for Manjaro-Arm is not properly working

Posted: Thu Jun 14, 2018 5:40 pm
by grims
Resizing the partitions
http://wiki.manjaro-arm.org/index.php/G ... Installing
By default, the partitions that are created within the image are just large enough to support the OS. To have any usable space, you must first resize the partitions to fill the remainder of the sdcard. There is an included script that automates to minimize the risk of errors or data corruption. To run this script, simple run:

Code: Select all

sudo resize-sd
Once completed, the script will prompt you to reboot the device. Once the reboot has finished, you should see that the available space has been completely filled with the root '/' partition and the filesystem has been resized to match.

But this does not happen:

Code: Select all

Error: The device /dev/autofs is so small that it cannot possibly store a file system or partition table.  Perhaps you selected the wrong device?
Warning: Error fsyncing/closing /dev/autofs: Invalid argument
Retry/Ignore?
Solution for raspberry pi 3:

Code: Select all

findmnt / -o source -n
should be approximately: "mmcblk0p2"

enter commands:

Code: Select all

sudo sed -i '/PART_DEV=/c\PART_DEV="/dev/mmcblk0p2"' /usr/bin/resize-sd
sudo sed -i '/parted -m/c\parted -m $DEV u s resizepart $PART_NUM yes $END_SECTOR' /usr/bin/resize-sd
sudo sed -i '/df -h/c\df -h | egrep "Filesystem|$PART_NAME"' /usr/bin/resize-sd
Further:

Code: Select all

sudo resize-sd
Reboot!
Profit!

P.S. Images Manjaro-Arm_Mate_rpi2_18.05.img

Re: Resizing the partitions "resize-sd" for Manjaro-Arm is not properly working

Posted: Thu Jun 14, 2018 6:16 pm
by DougieLawson
Post your question on https://forum.manjaro.org/c/manjaro-arm you are much more likely to get an answer over there.

Re: Resizing the partitions "resize-sd" for Manjaro-Arm is not properly working

Posted: Thu Jun 14, 2018 7:06 pm
by grims
DougieLawson wrote:
Thu Jun 14, 2018 6:16 pm
Post your question on https://forum.manjaro.org/c/manjaro-arm you are much more likely to get an answer over there.
Thanks, but it's not a question, it's the answer.

Re: Resizing the partitions "resize-sd" for Manjaro-Arm is not properly working

Posted: Thu Jun 14, 2018 9:53 pm
by cjan
they fixed in 18.06 mini.img or wait mate-18.06.img.