Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants