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

Nixos 22.05 GUI installer's manual partition creation is ... broken #175608

Open
svalaskevicius opened this issue May 31, 2022 · 7 comments
Open

Comments

@svalaskevicius
Copy link
Contributor

Describe the bug

Nixos 22.05 GUI installer's manual partition creation is ... broken.

When trying to clear disk create partition setup:
LUKS -> LVM -> (root + swap)

it crashes just after creating a VG.

If the partition has been pre-created (e.g. via gparted) it doesnt crash, but doesnt give any way to create the actual root + swap partitions - all buttons are grey.

@vlinkz
Copy link
Member

vlinkz commented Jun 1, 2022

I found some upstream issues mentioning similar. Do these bugs match the issues you were facing?
LVM + LUKS: calamares/calamares#1847
LVM unmounting: calamares/calamares#1920
I'll look more into the issue and get back to you

@svalaskevicius
Copy link
Contributor Author

thanks, I just went with fully automated setup, so wont be reproducing this as I have it all running. sad though I couldnt set my partitions up as I wanted.. so it's more to fix for other ppl

@svalaskevicius
Copy link
Contributor Author

btw to answer your question - the first link seems to describe the same scenario, so it does look like a good match. I haven't seen any logs though, just that the installer would be gone after that step, and I restarted the process a few times before resorting to the automatic partition setup.

not sure about the 2nd link.

@Katherine1
Copy link

Update based on 23.05:

It appears this is still an issue, and it is not tied to LUKS. I have found that attempting to use the manual partition option to create an LVM partition and then set up a Volume Group on it causes a crash regardless of if the LVM partition is encrypted or not.

@samgarmany
Copy link

thanks, I just went with fully automated setup, so wont be reproducing this as I have it all running. sad though I couldnt set my partitions up as I wanted.. so it's more to fix for other ppl

I just encountered the same issue, this thread didn’t really get much notice though so what installer did you end up using?

@Jacoby6000
Copy link

Jacoby6000 commented May 27, 2024

I can confirm that this is still an issue. Struggling to get nixos running with the partitioning scheme I want because of it.

PRETTY_NAME="NixOS 23.11 (Tapir)"
BUILD_ID="23.11.7313.9d29cd266ceb"

I was able to work around the issue by manually partitioning on the CLI, restarting the installer, then editing each of the partitions within the installer to add mountpoints and flags.

@ram-on
Copy link

ram-on commented Jun 18, 2024

I also confirm that the installer is crashing every time I try to create a "new volume group" over an LVM partition.

BUILD_ID="24.05.1503.752c634c09ce"

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

No branches or pull requests

6 participants