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 failure with active LVM partitions #584

Open
danirabbit opened this issue Aug 4, 2021 · 8 comments
Open

Installation failure with active LVM partitions #584

danirabbit opened this issue Aug 4, 2021 · 8 comments
Labels
Priority: High To be addressed after any critical issues Status: Confirmed Verified by someone other than the reporter

Comments

@danirabbit
Copy link
Member

I've noticed that the installation always fails if I have LVM partitions that show as being "active" with the little dialog-password icon in gparted

Not sure if this is more of a distinst issue, but wanted to log it :)

@cassidyjames
Copy link
Contributor

cassidyjames commented Aug 4, 2021

Is there a workaround we can at least document until this gets fixed? I've noticed these failures as well but hadn't narrowed it down to the active LVM partitions. What I would do when I hit these failures was delete the partition, reboot, then try installing again. 😅

@danirabbit
Copy link
Member Author

Yeah going to Custom, opening Gparted, and deleting the partition seems to work for me. There's probably a less blunt workaround

@danirabbit danirabbit added this to To do in OS 6.1 via automation Aug 5, 2021
@cassidyjames cassidyjames pinned this issue Aug 5, 2021
@cassidyjames cassidyjames added Priority: High To be addressed after any critical issues Status: Confirmed Verified by someone other than the reporter labels Aug 11, 2021
@nathanaelg

This comment has been minimized.

@davidmhewitt
Copy link
Member

davidmhewitt commented Aug 24, 2021

To add to this, it only happens if you didn't use encryption on the install you're trying to overwrite. This is why I've previously not been able to reproduce this.

Though it's obvious now that I think about it, as the installer wouldn't be able to activate the encrypted volumes, as it doesn't have the password.

@obeduri

This comment was marked as off-topic.

@GammaGames
Copy link

GammaGames commented Mar 30, 2023

Ran into this while trying to install 7 over 5. The previous install was not encrypted, but I fixed it by:

  • Trying to install without encrypting (resulting in failure)
  • Trying to install with encryption (resulting in failure)
  • Try to install without encryption (it worked!)

Very scientific and very helpful, I know.

@Jo-RNathan
Copy link

Me too.

@janxkoci
Copy link

janxkoci commented May 19, 2023

Is it possibly the same issue as #705 or related? I remember the lock icon in gparted but I'm not sure if there was an "active" label...

I do see LVM on my system now after fresh reinstall from OS 6.1 to OS 7. LVM apparently causes GRUB to show up for 30s on every boot, which is very annoying so I'm looking into why it's happening and how to disable it (or at least set it to more sensible value like 3s).

PS: I found LVM is to blame for the GRUB timeout thanks to looking for recordfail in /boot/grub/grub.cfg - it's being set to 1 which sets GRUB timeout to 30s, overwriting settings in other places like /etc/default/grub or /etc/grub.d/30_os-prober. Any idea how to change that timeout set due to LVM?

PPS: Ok I fixed it by editing the /etc/grub.d/00_header file, specifically the two lines containing set timeout=${GRUB_RECORDFAIL_TIMEOUT:-30} where I replaced the default value 30 with 3, followed by sudo update-grub. I still don't know why this happened during the upgrade from OS 6.1 to OS 7, but both used the new installer so the culprit must be somewhere here. 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High To be addressed after any critical issues Status: Confirmed Verified by someone other than the reporter
Projects
None yet
Development

No branches or pull requests

8 participants