Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Unable to initialize encrypted LVM while installation

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
sonnie
Posts: 12
Joined: 2022-07-22 07:39
Has thanked: 1 time

Unable to initialize encrypted LVM while installation

#1 Post by sonnie »

Hi there,
after so many years I wanted to try Debian again and downloaded the latest testing ISO. Since I am pretty comfortable to install Arch and many other distros, I thought this is not a problem at all. I was wrong – but I really want to use Debian for a while on my productive, daily driver. The installer gave me a hard time, but maybe it's error-40 and I may need a hint or help.
(Yes, it will be testing if any, not stable)

I stuck at initializing LVM.
My steps:
  • Create partition table at NVME
  • create 512MB /boot woth bootflag
  • create 505GB crypt-ready partition
  • 6gb free backup for speed reasons with full disk
  • configure enc vol
  • configure LVM
Then an error appearing:
physical volume /dev/mapper/nvme_crypt could not be initialized
There should be a log at /var/log/syslog, but there is no entry for this step which tells me what is wrong.
I also tried different disk setups with different constellations. same error, always at this step.
I even already watched Youtube-Tutorials, at this exact step noone got this error.
1.jpg
1.jpg (96.48 KiB) Viewed 1575 times
I never had such problems. So I hope it's just an error-40 and I can't see it. :cry:

Looking forward to your suggestions. :)

hamishm
Posts: 28
Joined: 2022-07-06 10:28
Has thanked: 2 times
Been thanked: 1 time

Re: Unable to initialize encrypted LVM while installation

#2 Post by hamishm »

What do you see in the syslog or virtual console 4, as per the error message?

sonnie
Posts: 12
Joined: 2022-07-22 07:39
Has thanked: 1 time

Re: Unable to initialize encrypted LVM while installation

#3 Post by sonnie »

Nothing relevant, that's the problem.

sonnie
Posts: 12
Joined: 2022-07-22 07:39
Has thanked: 1 time

Re: Unable to initialize encrypted LVM while installation

#4 Post by sonnie »

I tried again with the "graphical" installer, now I got a filled syslog.
asd.jpeg
asd.jpeg (313.17 KiB) Viewed 1548 times
Last edited by sonnie on 2022-07-22 10:55, edited 1 time in total.

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: Unable to initialize encrypted LVM while installation

#5 Post by Aki »

Hello,
It could be interesting take a look at the the files in /var/log/ and /var/log/installer/ generated by the Debian installer (during installation when the error occurs). You should be able to copy these files using and external usb disk and share them as an attachment to a following message.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

sonnie
Posts: 12
Joined: 2022-07-22 07:39
Has thanked: 1 time

Re: Unable to initialize encrypted LVM while installation

#6 Post by sonnie »

Aki wrote: 2022-07-22 11:39 Hello,
It could be interesting take a look at the the files in /var/log/ and /var/log/installer/ generated by the Debian installer (during installation when the error occurs). You should be able to copy these files using and external usb disk and share them as an attachment to a following message.
Yea, I posted a screenshot, but it seems that every single post needs mod/admin approval, which makes it hard to post fluently.

I tried manually with LVM encrypted, I tried guided with the same issue.
I tried guided without encryption and it works.

So it seems to have something to do with EFI?
Last edited by sonnie on 2022-07-22 11:47, edited 1 time in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Unable to initialize encrypted LVM while installation

#7 Post by sunrat »

sonnie wrote: 2022-07-22 11:42 Yea, I posted a screenshot, but it seems that every single post needs mod/admin approval, which makes it hard to post fluently.
A new member needs approval for their first 3 posts. It helps us keep spammers out. :wink:
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Unable to initialize encrypted LVM while installation

#8 Post by p.H »

Known bug with lvm2 in the testing installer. Either wait for a fix or use the stable installer.

sonnie
Posts: 12
Joined: 2022-07-22 07:39
Has thanked: 1 time

Re: Unable to initialize encrypted LVM while installation

#9 Post by sonnie »

p.H wrote: 2022-07-22 12:46 Known bug with lvm2 in the testing installer. Either wait for a fix or use the stable installer.
Ohhh. Ok. So it's not me. Ty. 8)

sonnie
Posts: 12
Joined: 2022-07-22 07:39
Has thanked: 1 time

Re: Unable to initialize encrypted LVM while installation

#10 Post by sonnie »

sunrat wrote: 2022-07-22 12:37
sonnie wrote: 2022-07-22 11:42 Yea, I posted a screenshot, but it seems that every single post needs mod/admin approval, which makes it hard to post fluently.
A new member needs approval for their first 3 posts. It helps us keep spammers out. :wink:
Ah. Makes sense. :)

sonnie
Posts: 12
Joined: 2022-07-22 07:39
Has thanked: 1 time

Re: Unable to initialize encrypted LVM while installation

#11 Post by sonnie »

p.H wrote: 2022-07-22 12:46 Known bug with lvm2 in the testing installer. Either wait for a fix or use the stable installer.
Where can I check, if this bug is already fixed?

Or should I use the stable installer instead and set the repos to testing afterwards?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Unable to initialize encrypted LVM while installation

#12 Post by p.H »

https://metadata.ftp-master.debian.org/ ... _changelog says that the bug is fixed in the latest lvm2-udeb package and https://tracker.debian.org/pkg/lvm2 says that it was migrated to testing on 2022-08-01, so any testing installer built after that date should be fixed.

However I wrote once that the testing installer is intended for testing the installer, not for installing testing.

sonnie
Posts: 12
Joined: 2022-07-22 07:39
Has thanked: 1 time

Re: Unable to initialize encrypted LVM while installation

#13 Post by sonnie »

p.H wrote: 2022-08-12 11:42However I wrote once that the testing installer is intended for testing the installer, not for installing testing.
Ah, I somehow missed this. The naming is somehow misleading IMHO.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Unable to initialize encrypted LVM while installation

#14 Post by p.H »

Don't get me wrong, you can try and use the testing installer to install testing. But be prepared to face serious bugs (like this one).

Post Reply