Public bug reported:

Starting with Lubuntu 16.10, the 'lvm2' package has been removed from
the installation media, because of which lvm configurations fail to
install. In particular, during the installation process, if "Use LVM
with the new Lubuntu installation" or "Encrypt the new Lubuntu
installation for security" is selected, the installation fails.

Also, the the 'grub-pc' package has been removed from the live
installation image as well, which is another source of annoyance. The
'grub-install' command for manual boot loader installation is no longer
available upon booting with live CD, which makes 'ubiquity -b' option
not very useful. This package should be included to support advanced
installations where user wants more control over how and where the grub
boot loader is installed.

Up until 16.04, there was no problem installing a fully encrypted lubuntu 
system with the following configuration
/dev/sda1 [unencrypted boot partition for grub installation]
/dev/sda2 [luks encrypted lvm partition with two logical volumes: SWAP & ROOT]

Here's a summary of steps that worked until 16.04:

- boot with live installation media
- manually create disk partitions & setup LUKS in /dev/sda2
- open the LUKS volume as sda2_crypt and set up LVM with two logical volumes 
SWAP & ROOT
- install lubuntu into logical volume 'ROOT' skipping the boot loader [ubiquity 
-b]
- create a suitable etc/crypttab in /target (assuming 'ROOT' is mounted as 
/target)
- chroot into /target and update initramfs -> this adds LVM & cryptsetup 
binaries in initrd
- manually install boot loader in /dev/sda1 [grub-install] and create a 
suitable grub configuration file
- reboot into fully encrypted linux installation. Grub prompts for passphrase 
upon boot and loads initrd & kernel from the encrypted root volume


Starting with 16.10 however, since lvm2 package is missing in the live 
installer, lvm binaries are never included in the initramfs resulting in 
unbootable installation.

To fix this, please bring back the lvm2 & grub-pc packages into the live
installation media (that were removed in 16.10). Hopefully, this will be
fixed in 17.04.

** Affects: lubuntu-meta (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1671882

Title:
  lvm2 & grub-pc package removed from the 16.10 installation media

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lubuntu-meta/+bug/1671882/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to