[Bug 2023957] Re: Ubiquity: Manual partitioning: Add "physical volume for LVM", and make it possible to encrypt it
Steve Langasek
2023957 at bugs.launchpad.net
Thu Jun 15 14:38:42 UTC 2023
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.
** Also affects: subiquity
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2023957
Title:
Ubiquity: Manual partitioning: Add "physical volume for LVM", and make
it possible to encrypt it
Status in subiquity:
New
Status in ubiquity package in Ubuntu:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2023957/+subscriptions
More information about the foundations-bugs
mailing list