[Bug 960463] New: can't use encrypted LVM while installing Leap
http://bugzilla.opensuse.org/show_bug.cgi?id=960463 Bug ID: 960463 Summary: can't use encrypted LVM while installing Leap Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: wl@gnu.org QA Contact: jsrain@suse.com Found By: --- Blocker: --- Created attachment 660608 --> http://bugzilla.opensuse.org/attachment.cgi?id=660608&action=edit y2log file I'm trying to have the following setup, which I've created manually in advance. parted -s /dev/sda mklabel msdos parted -s /dev/sda mkpart primary 2048s 250M parted -s /dev/sda mkpart primary 250M 100% # /boot partition mkfs.ext2 /dev/sda1 # encrypted LVM partition cryptsetup luksFormat /dev/sda2 cryptsetup luksOpen /dev/sda2 system pvcreate /dev/mapper/system vgcreate system /dev/mapper/system lvcreate -L 2G system -n swap lvcreate -L 20G system -n root lvcreate -L 40G system -n usrlocal lvcreate -l +100%FREE system -n home mkswap -L swap /dev/mapper/system-swap mkfs.btrfs /dev/mapper/system-root mkfs.btrfs /dev/mapper/system-usrlocal mkfs.btrfs /dev/mapper/system-home Unfortunately, the Leap installer is not able to handle this. As the attached log shows, everything gets properly recognized, but in a last step the LVM stuff is rejected, and the partition resolver provides a bizarre `solution'. Remove volume group system Delete partition /dev/sda1 (237.00 MiB) Format partition /dev/sda2 (465.53 GiB) with unknown Use /dev/system/swap as swap Nothing assigned as root filesystem! Installation will most certainly fail fatally! This looks like a bug. Is there any way to bypass the installer's partition manager? Perhaps manually mounting the devices by going to a console with Ctrl+Alt+2? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=960463
http://bugzilla.opensuse.org/show_bug.cgi?id=960463#c1
Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=960463
http://bugzilla.opensuse.org/show_bug.cgi?id=960463#c2
--- Comment #2 from Werner Lemberg
http://bugzilla.opensuse.org/show_bug.cgi?id=960463
http://bugzilla.opensuse.org/show_bug.cgi?id=960463#c3
--- Comment #3 from Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=960463
http://bugzilla.opensuse.org/show_bug.cgi?id=960463#c4
Werner Lemberg
participants (1)
-
bugzilla_noreply@novell.com