Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide reduce img file size of backup
#3
You could try using moOde's resizefs.sh command. Make sure you have a backup of the SD Card.

Boot up the SD Card with the 8GB image.

1. Change max partition size to 3GB in the command script
sudo sed -i "/PART_END=/c\PART_END=+3000M" /var/www/command/resizefs.sh

2. Resize the partition
sudo /var/www/command/resizefs.sh start

3. Reboot
sudo reboot

4. Change max partition size back to default (max size of media) in the command script
sudo sed -i "/PART_END=/c\PART_END=\"\"" /var/www/command/resizefs.sh

5. Verify partition size
df -h

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
reduce img file size of backup - by hifix - 08-19-2018, 07:19 PM
RE: reduce img file size of backup - by Tim Curtis - 08-20-2018, 06:43 PM
RE: reduce img file size of backup - by hifix - 08-22-2018, 06:55 PM
RE: reduce img file size of backup - by johannes - 08-25-2018, 12:02 PM
RE: reduce img file size of backup - by hifix - 08-27-2018, 03:44 AM
RE: reduce img file size of backup - by FizzyTea - 10-08-2018, 04:25 PM

Forum Jump: