[Bug 1523194] Re: Can't install /home into separate LUKS encrypted volume
Pierre Equoy
pierre.equoy at canonical.com
Wed Apr 17 07:16:01 UTC 2019
I'm facing a similar (if not the same) issue.
My laptop has the following hardware:
- 500 GB HDD (TOSHIBA MQ01ACF050 (AV002D)) (/dev/sda)
- 32 GB SSD (LITEON LST-32S9G-11 SATA 32GB (ZS2110B)) (/dev/sdb)
I'm trying to install Ubuntu 19.04 on it as follow, using disk
encryption:
/dev/sda:
- EFI partition: 128 MB
- unencrypted /boot: 1024 MB
- encrypted volume hosting root (/) formatted in ext4: 31 GB
/dev/sdb:
- encrypted volume hosting home partition (/home) formatted in ext4: 500 GB
I set up the system like this, but when pressing "Install Now", I see
the following error pop-up:
"The attempt to mount a file system with type ext4 in Encrypted volume
(sdb3_crypt) at / failed"
I click on "Continue" nevertheless, but the installer is then stuck at
"Creating ext4 file system for /home in partition #1 of Encrypted volume
(sda1_crypt)...".
I've attached the logs (/var/log/*) from the live session. The
/var/log/partman file might be of interest.
$ dpkg -l | grep ubiquity
ii ubiquity 19.04.9 amd64 Ubuntu live CD installer
ii ubiquity-casper 1.405 all Configuration hooks for live installer
ii ubiquity-frontend-gtk 19.04.9 amd64 GTK+ frontend for Ubiquity live installer
ii ubiquity-slideshow-ubuntu 146 all Ubiquity slideshow for Ubuntu
ii ubiquity-ubuntu-artwork 19.04.9 all Ubuntu artwork for Ubiquity live installer
** Attachment added: "varlogs.tar.xz"
https://bugs.launchpad.net/ubuntu/+source/partman-crypto/+bug/1523194/+attachment/5256476/+files/varlogs.tar.xz
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-crypto in Ubuntu.
https://bugs.launchpad.net/bugs/1523194
Title:
Can't install /home into separate LUKS encrypted volume
Status in partman-crypto package in Ubuntu:
Triaged
Bug description:
For various reasons, I would prefer not to use the default full disk
encryption method (which relies on LVM) when installing Ubuntu.
Rather, I would prefer to install directly into multiple LUKS-
encrypted volumes.
Using the “something else” option presented during installation of
15.10 and 16.04 (onto a non-UEFI system with a gpt formatted drive), I
have been able to create a LUKS-encrypted volume on sda2, and I have
been able to install boot (/boot) into non-encrypted sda1, and root
(/) into LUKS-encrypted sda2. All is good in that simple situation.
(To get this to work, I skip creating a swap partition, and then
create a swap file in sda2 after installation has completed.)
However, when using the “something else” option presented during
installation of 15.10 and 16.04, after creating LUKS-encrypted volumes
on sda2 and sda3, I have not been able to install boot (/boot) into
non-encrypted sda1, root (/) into LUKS-encrypted sda2, and home
(/home) into into LUKS-encrypted sda3. Rather, although I am able to
create the LUKS-encrypted volumes, the installer hangs during
installation when the following is displayed:
“Creating ext4 system for /home in partition #1 of Encrypted volume
(sda3_crypt)...”
For what its worth, I am able to accomplish the above installation
(/home on LUKS-encrypted sda3) using the net-installer for 15.10.
Also, I was able to accomplish the above installation (/home on LUKS-
encrypted sda3) using the graphical installer for 15.04. So it seems
that some sort of regression has crept into the graphical installer
for 15.10 and 16.04.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-crypto/+bug/1523194/+subscriptions
More information about the foundations-bugs
mailing list