Cadmium icon indicating copy to clipboard operation
Cadmium copied to clipboard

Installation option "here" creates too small partition

Open wehkah opened this issue 2 years ago • 2 comments

Hello,

when I choose to install Cadmium "here", the install script creates a 4GB partition on the USB memory, which later breaks installation because of "no space left on device".

wehkah avatar Aug 01 '22 15:08 wehkah

For anyone else who runs into this issue, it's possible to do the resize manually. Cadmium's main partition uses f2fs (flash-friendly file system), which requires not only resizing the partition, but also updating the file system to match. It's been a while since I've done this, but in my bash history I have:

sudo growpart /dev/sda 3
sudo resize.f2fs /dev/sda3

Note that sda3 may be different on your device. Use lsblk/df to figure out which file system you want to resize, as resizing the wrong one could make you have a bad time. You also have to do this with another system, as you can't resize an f2fs file system that is currently mounted (which is probably why it's not included in the installer if I had to guess).

nhobson99 avatar Oct 13 '22 17:10 nhobson99

Thanks for the tip. But will the installation use an existing partition when started, or will it repartition the USB drive and run into that problem again?

wehkah avatar Oct 30 '22 15:10 wehkah