CloudReady's downloadable Home Image is designed to be as small as we can safely make it, so that it can fit on 8 GB USB drives and installs quickly from those USB drives to HDDs and SSDs. Installing to an internal drive expands all the proper partitions to take advantage of the room available on those drives.
When USB booting, however, this design means that users are offered little storage space for apps or files locally. Here is a method that can expand your storage space to fill the room remaining on your USB (or SD card) installed.
|Neverware always recommends installing to you internal HDD or SSD - performance, boot times, and storage will be superior in that case. The guide below may be convenient for those who are unable to install fully to their device, but is not a guaranteed or recommended method.|
To begin this process, you'll need to insert to CloudReady USB installer (made using instructions in our guide) into another device running Ubuntu or similar Linux.
Boot into the Linux environment and log in. Get access to a terminal/shell and run commands in this order
- Lines starting with "#" are comments
- All instances of "/dev/sdX" or "/dev/sdX16" assume you will replace "X" with the proper letter for your CloudReady USB
- For a more detailed explanation of how to determine this, read the middle steps here, starting with the line that contains "fdisk"
#While booted in CloudReady, disable verity:
#Ensure your CloudReady USB is inserted, but not mounted:
sudo umount /dev/sdX*
#Then increase STATE (/dev/sdX1) partition to maximum size:
sudo sgdisk -e /dev/sdX
sudo gdisk /dev/sdX << EOF
#Make sure STATE (/dev/sdX16) partition file system is clean
sudo e2fsck -f /dev/sdX16
#Resize STATE (/dev/sdX16) partition to maximum size
sudo resize2fs /dev/sdX16
Please let us know via comments if this works for you! If you get an error, please make sure to include the entire error output when you tell us about it!