Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Installation option "here" creates too small partition #139

Open
wehkah opened this issue Aug 1, 2022 · 2 comments
Open

Installation option "here" creates too small partition #139

wehkah opened this issue Aug 1, 2022 · 2 comments

Comments

@wehkah
Copy link

wehkah commented Aug 1, 2022

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".

@nhobson99
Copy link

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).

@wehkah
Copy link
Author

wehkah commented Oct 30, 2022

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants