mrfixit2001 / debian_builds

Minimal 2-partition debian builds with minimal customizations
29 stars 3 forks source link

Partitioning and resizing #1

Closed ghost closed 5 years ago

ghost commented 6 years ago

Expanding the free space into a 3rd partition mapped to /home severely limits what can be added onto the system later. I started porting retropie to the rockpro64 and ran out of space for the libraries and headers before I was half way through, but had 10 gb available in my home directory. I've been working around it by using my linux PC and removing partbootscript.sh and its associated systemd service and replacing extlinux.conf with the one created after the resize occurs.

mrfixit2001 commented 6 years ago

First off, thanks for bringing this up! Let me start by saying in my next release I will make sure the system partition is expanded to about 5 gigs.

The purpose of keeping the home files on a separate partition than the system was to keep that system partition at a minimal size to slightly improve file IO and put the files that change most often on their own partition.

The good news is that I'm almost done with a retropie port for the rockpro and rock64, and will provide a fully built image complete with kodi leia when I'm done with it.

I'm surprised you ran out of space on the system partition, honestly, because I was able to fully port retropie without kodi on the current partition size just fine. But once I started adding kodi dependencies, it filled up quick.

In any event, you can workaround this issue using the parted utility by doing the following:

mrfixit2001 commented 5 years ago

I have enhanced the capability of the bootpartscript in the new release to allow for a user to change the default to use only 2 partitions and expand the system partition to the full disk. Read the readme for instructions, and please back-up your /home folder first!