Ubiquity: Manual partitioning: Add "physical volume for LVM", and make it possible to encrypt it

Bug #2023957 reported by David Hedlund
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
New
Undecided
Unassigned
ubiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

The default volume group (VG) name in both Ubuntu, and Ubuntu Server is: ubuntu-vg

###########################
Boot issue
* You cannot boot an Ubuntu (or Ubuntu Server) disk drive, if you have another disk drive attached with Ubuntu (or Ubuntu Server) installed.

###########################
Disk mount issue in other distros

* In other distros that are usign other VG names: If you attach other disk drives that have identical VG names, they will not be mounted. And only one disk drive will be mounted if you are trying to mount them:

$ sudo apt-get install lvm2
$ reboot

Then:
$ sudo modprobe dm-mod
$ sudo vgchange -a y
  WARNING: VG name ubuntu-vg is used by VGs HW3PiJ-YN4Z-YlBb-IQin-CE00-1xnq-YKwsbc and 2afQMx-nuzj-xw8I-dEkY-n969-jM5v-zn1MSg.
  Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
  WARNING: activating multiple VGs with the same name is dangerous and may fail.
  1 logical volume(s) in volume group "ubuntu-vg" now active
  WARNING: activating multiple VGs with the same name is dangerous and may fail.
  device-mapper: create ioctl on ubuntu--vg-ubuntu--lv LVM-2afQMxnuzjxw8IdEkYn969jM5vzn1MSgnfgWV7d1tEfHHYXR33JuS7XxqMRcPgiB failed: Device or resource busy
  0 logical volume(s) in volume group "ubuntu-vg" now active

#########################
Solution

For "Manual partitioning":
* Like in "Erase disk and install Ubuntu" option: 1) Add "physical volume for LVM" 2) Make it possible to encrypt it
* Add a default VG name, but make it possible to change it to avoid the issues described in the top of this issue.

David Hedlund (g-public)
summary: - Ubiquity: Add "physical volume for LVM" to the "Manual installation"
+ Ubiquity: Manual partitioning: Add "physical volume for LVM"
Revision history for this message
David Hedlund (g-public) wrote :
summary: - Ubiquity: Manual partitioning: Add "physical volume for LVM"
+ Ubiquity: Manual partitioning: Add "physical volume for LVM", and make
+ it possible to encrypt it
Revision history for this message
David Hedlund (g-public) wrote :
Revision history for this message
David Hedlund (g-public) wrote :
Revision history for this message
David Hedlund (g-public) wrote :
description: updated
Revision history for this message
David Hedlund (g-public) wrote :

Related: ubiquity no option to create new logical volumes - https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1302673

description: updated
Revision history for this message
David Hedlund (g-public) wrote :

Debian 11 allows "physcial volume LVM" in manual partitioning.

description: updated
description: updated
David Hedlund (g-public)
description: updated
Paul White (paulw2u)
affects: ubuntu → ubiquity (Ubuntu)
Revision history for this message
David Hedlund (g-public) wrote :
information type: Public → Public Security
Revision history for this message
David Hedlund (g-public) wrote :
Revision history for this message
Dan Bungert (dbungert) wrote :

Hi there, thanks for the report.

This looks like a regular bug, not security, so I'm moving this back to a Public information type bug.

information type: Public Security → Public
Revision history for this message
Steve Langasek (vorlon) wrote :

Ubuntu is in the process of moving to a new desktop installer not based on ubiquity. Some Ubuntu flavors are still using ubiquity and they may want to continue feature development ubiquity, so I am not marking this bug as 'wontfix', but the chances of this happening are low.

Opening a task on subiquity, the new installer, where this is more likely to get implemented.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I'm not 100% sure what this is asking for but I think subiquity-the-server-installer supports this already (although perhaps there is a request to not use the same vg name each time in the guided flow?). The ubuntu desktop installer client does not though.

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.