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

Panic creating LV during installation #369

Closed
TempsPerdu70 opened this issue Mar 7, 2024 · 4 comments · Fixed by #373
Closed

Panic creating LV during installation #369

TempsPerdu70 opened this issue Mar 7, 2024 · 4 comments · Fixed by #373
Assignees
Labels
bug Something isn't working
Milestone

Comments

@TempsPerdu70
Copy link

Hi, got this during setup

panic:failed to run setup operation pvcreate:
pvcreate: lvm.RunCommand:
can't initialize physical volume "/dev/nvme0n1p10" of volume group "vos-root" without ff /dev/nvme0n1p10: physical volume not initialized

Thanks for all your work on the beta

@Thatoo
Copy link

Thatoo commented Mar 13, 2024

Got something similar

 pvcreate: lvm.RunCommand:
can't initialize physical volume "/dev/sda4" of volume group "vos-root" without ff /dev/sda4: physical volume not initialized

What can we do to be able to install Vanilla OS after getting this error before Albius become able to solve that by itself in future version?

@fluoriteByte
Copy link

fluoriteByte commented Mar 14, 2024

Problem caused by the installer not removing bits of an old lvm logical partition, if you open up partman on debian (the command line version, the gui version suffers as much as albius) and then select the drive (not the partitions under it) it will clear the remaining bits of the lvm
And then the install would be succesful

@taukakao taukakao self-assigned this Mar 14, 2024
@taukakao taukakao added the bug Something isn't working label Mar 14, 2024
@taukakao
Copy link
Member

related to Vanilla-OS/Albius#42

@taukakao taukakao transferred this issue from Vanilla-OS/Albius Mar 27, 2024
@taukakao
Copy link
Member

I decided to fix this in the frontend since it's not the job of Albius to manage lvm.
The removal of old lvm objects needs to be specified in the recipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants