![]() |
[How to do instruction] Increasing root partition size - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: FAQ and Guides (https://moodeaudio.org/forum/forumdisplay.php?fid=9) +--- Thread: [How to do instruction] Increasing root partition size (/showthread.php?tid=2970) |
Increasing root partition size - TookaFace - 09-12-2020 If you want, for some reasons, increase the root partition size (for example, depending on moOde version, you could not have enought space to proceding an in-place update) without expanding the whole system, here is how to do it: Code: sudo fdisk /dev/mmcblk0 Type p to list the partition table Code: Welcome to fdisk (util-linux 2.33.1). Type d to delete a partition Type 2 to choosing partition number 2 Type n to create a new partition Type p to create a primary partition Type 2 for setting the partition number Enter the value you took note for the first sector, in my case it's 532480 Enter the value you want for the last sector, it will be the size of your new partition, in my case i will use 10485760 (more or less 5go) Type N to not removing the signature Type w to save the changes you made Now you can reboot: Code: sudo reboot And to finish, resize the partition: Code: sudo resize2fs /dev/mmcblk0p2 You can check the new partition size with df -h command: Code: Filesystem Size Used Avail Use% Mounted on |