lvm2 & grub-pc packages not seeded in Lubuntu 16.10 amd64

Bug #1671882 reported by lerxst
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lubuntu-meta (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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.

Revision history for this message
lerxst (lerxst) wrote :

I'm adding "Steps to reproduce" to demonstrate how horribly broken this is:

- Boot with lubuntu-16.10-desktop-amd64.iso (live)
- Start installation and on the "Installation Type" screen, select the LVM option
- Click "Install Now" and the installation fails with error:
"Autopartitioning using LVM failed because an error occured while creating the volume group"

Please add "lvm2" & "grub-pc" packages back to 17.04 live ISO (if not already done).

lerxst (lerxst)
summary: - lvm2 & grub-pc package removed from the 16.10 installation media
+ lvm2 & grub-pc packages not seeded in Lubuntu 16.10 amd64
Revision history for this message
Simon Quigley (tsimonq2) wrote :

This has been fixed.

Changed in lubuntu-meta (Ubuntu):
status: New → Fix Released
Revision history for this message
Adrian (adrianubuntu) wrote :

Unfortunately this Bug is not fixed in release Lubuntu 17.10.1 amd64. Choosing LVM option results in "Autopartitioning using LVM failed because an error occured while creating the volume group". Workaround:
Choose the "Try Lubuntu" option from the boot menu so that you get a working desktop. OR
Quit Installation
Choose "start menu" -> "system tools" -> "LXTerminal"
At the console prompt, type:
sudo apt-get install lvm2
Then run the installer icon from the desktop ("Install Lubuntu 17.10").

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.