Enable LVM on LiveCD

Bug #109957 reported by Ramon Casha
30
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
Fix Released
Wishlist
Unassigned
Nominated for Karmic by Michael B. Trausch

Bug Description

The Ubuntu LiveCD still lacks one very important component - LVM support. This prevents it from installing onto HDDs which already have LVM, and prevents it from being used as an emergency/rescue CD on LVM-based installations.

IMO, anything that relates to the LiveCD's ability to recognise storage devices, including configurations such as RAID and LVM, should be included.

Revision history for this message
Dan Martin (bithooked) wrote :

Please do. I'm sitting here trying to fix an issue keeping me from booting my Ubuntu box. The Ubuntu Live-CD should be the answer, but without LVM support, I'm stuck. Off to find a Live-CD with LVM support.

Revision history for this message
Ramon Casha (rcasha) wrote :

It is possible to do this manually (Hardy beta), but it's a somewhat involved process. Someone who doesn't have any experience of Linux yet would find it difficult.

   (boot live cd)
sudo bash
apt-get install lvm2
modprobe dm-mod
lvm vgscan
   (this displays lv names)
lvm lvchange -a y XXX
   (where XXX is lv name)

Then, go to the install icon and proceed as normal. Select manual partitioning. Your lvm partitions show up with the others. Do the installation using your logical volumes...

At the end of the installation, DO NOT RESTART!

You should find the newly installed system under /target. Still in the above shell prompt, do the following:

chroot /target
apt-get install lvm2
exit

Daniel T Chen (crimsun)
Changed in lvm2:
importance: Undecided → Wishlist
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

In daily quantal ubuntu live cd:
$ ubiquity --enable-partauto-lvm

Changed in lvm2 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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