-
Notifications
You must be signed in to change notification settings - Fork 391
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
[BUG] lvm2 pv + encryption = seg fault, core dumped #1847
Comments
@highvoltage this looks like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992164 as well ? |
I also have a more general question: is there currently any supported way to install a distro with LUKS + LVM with calamares? |
I am having the same issue trying with the Debian Live Installer. I tried with Manjaro and also has the bug. I cloned calamares main branch and still have this bug. Cannot create lvm + luks |
I am not sure if this is related to LUKs directly. I seem to also be affected by this if I try to setup LVM manually without LUKS |
It might be possible by setting up the partitions first, then just setting mount points; I'd have to try it in a VM. The Debian bug has a slightly more readable backtrace, but it's easy enough to trigger also in a debug-enabled build on a live system. |
Zero the tables, make a GPT table, start partitioning:
The
Then carry on with LVM configuration:
.. at this point I can get to manual partitioning, and configure up somethnig that kind of makes sense, but after that the installation fails anyway with being unable to create a partition on device |
Possibly related crash: On a new 8GB VirtualBox disk I tried manually partitioning with a new partition table, LUKS encrypted XFS On a different install I was able to do an "Erase disk" with XFS + LUKS with no crashing. Please let me know if you want me to create a new issue or not. |
Starting over:
Make filesystems
Start Calamares, note that the device is myvg, manual partition, edit the two partitions to give them a mountpoint. Do not check the format box; preserve the filesystem. Ignore the warning about the EFI partition -- because there's no EFI partition inside the PV, of course. Carry on with the installation .. oh, then it doesn't mount the parttiions, and proceeds to fill up @geckolinux the issue here is LVM, not LUKS -- please create a separate issue |
@adriaandegroot Is it not possible for them to still be linked? Say it is an issue with /dev/mapper devices and not really LVM directly. That would make it effect both LUKS and LVM separately but still be the same issue. |
Thanks for the reply @adriaandegroot . At any rate here's my separate bug report: |
Hi @volitank and @adriaandegroot, I can confirm that this happens without luks, just creating an lvm pv partition and then trying to create a volume group using it, relates in:
(but I also understand that it could as well be linked because actually being a problem somewhere else as @volitank pointed out) @adriaandegroot when I installed Manjaro for the first time on a system about 2 months ago I worked around the installer issue by creating LVM stuff manually beforehand, similar to your description :-) The calamares version in use in my distro is 3.2.48-1 |
Hi @adriaandegroot,
...
I was trying to trick my installer again as I did some time ago once already, as pointed out earlier. I did it similar to what you tried here. I now ran in exact the same issue of not mounting partitions and then filling up the wrong volume. It's odd, since I managed to install that same OS some time ago already by tricking the installer somehow. I just can't recall what else I did to make it work. On thing that is missing in your description I think is that the EFI partition should be mounted into /boot/efi, at least I think this is what Manjaro Linux assumes. Not sure about other distros. But still with that addition it doesn't make a difference, the volumes are not mounted and the rsync fails because it fills up the wrong disk ;-) I will now try to mount the volumes manually before Calamares starts the rsync, let's see if that helps...., |
@JOJ0 Did you try and did it work? |
@hrvoj3e IIRC it did not work and I gave up on Calamares entirely. My solution then was using manjaro-architect, a higly configurable alternative installer. Try that, if the distro you want to install is Manjaro! It might cure your frustrations 😀 HTH |
Finally. It works.
The "fix" is to mount LVM volumes somewhere and I reported this in an existing issue |
Describe the bug
while trying to set up LVM2 with encryption on a 1TB ssd I keep getting seg fault, core dumped
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Be able to create volume group
Screenshots and Logs
If applicable, add screenshots to help explain your problem. Calamares has an installation log (usually
~/.cache/calamares/session.log
), please check it for confidential information and attach it if possible.Additional context
may be related to #1130
also #1042
The text was updated successfully, but these errors were encountered: