[Bug 923552] Re: no way to create logical volume within lvm

Martin Pool mbp at canonical.com
Mon Feb 20 04:59:36 UTC 2012


Reproducing this in a qemu vm:

 * boot from a recent precise alternative amd64 iso
 * choose locale, username, etc
 * 'encrypt home directory' -> no
 * 'partitioning method' -> 'guided - use entire disk and set up encrypted lvm'
 * 'choose disk' -> choose virtual disk 1
 * 'write changes to disk' (to create a /boot partition?) -> ok
 * enter a passphrase -> whatever
 * 'amount of volume group to use for guided partitioning' -> accept the default, ie 100%

then I get an error at this point, on a scary red background:

'''!! Partition disks
No root file system
No root file system is defined.

Please correct this from the partitioning menu.
'''

In a sense this is ok and accurate, because I indeed have not created an
lv for the root filesystem yet.  However it's a bit bad this is shown
after accepting all the defaults for one of the major installer paths
(encrypted lvm).

 * continue
 * get a 'partition disks' window, showing a /boot, a crypto partition, and then also 

encrypted volume (vda5_crypt) 
#1 8.3 GB K lvm

 * choose 'configure the logical volume manager'
 * 'display configuration details' shows that it does have a root and swap lv, but trying to continue gives an error

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

Title:
  no way to create logical volume within lvm

Status in “debian-installer” package in Ubuntu:
  Confirmed

Bug description:
  I've just reinstalled my laptop using the precise alternative amd64
  snapshot from 2012-01-27.  I wanted to repartition the disk, and then
  have an lv on a vg on lusk within a partition.

  I chose "guided install with encrypted lvm", and I got a luks
  partition with lvm inside it, but it didn't have any logical volumes.
  (So, the install could not proceed since there was no root partition.)

  I tried again in manual mode and hit the same problem: after the vg
  was created, I could see it in the partitioner menu, but I couldn't
  see any way to create an lv within it.  When I pressed enter on the
  pv, or anything connected to it, I was just told "this is in use by
  $device_name and cannot be edited". (I forget the exact name, it was
  something like 'crypt_sda5'.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/923552/+subscriptions




More information about the foundations-bugs mailing list