7

My filesystem setup is an LVM setup. I'm wanting to try installing ElementaryOS Luna Beta 1 on its own partition, but unfortunately it doesn't support LVM yet.

Is there any easy way to do this?

5

If you're willing to wipe everything in the LVM, then yes: Just delete the LVM partition and let the new distribution's installer create whatever it needs, or do so manually before or during the installation.

If you want to save some or all of what's in your LVM, then it gets more complex. One option is to shrink your LVM to make room for the new distribution. This will require either heavy-duty command-line tools like various LVM command and fdisk or gdisk; or use of a GUI LVM front-end like system-config-lvm. Another option is to back up your data, delete the LVM, and restore everything to a non-LVM setup. Another is to install a new hard disk and use that for your new distribution, leaving the current LVM setup intact. Yet another option is to install LVM support into the new distribution. This can probably be done just by adding the right packages to the installer, but I can't be sure of that.

  • Thanks. That is pretty much along the lines of what I was expecting. – revickulous2001 Jan 8 '13 at 0:24
2

No, you cannot convert LVM logical volumes to partitions.

However, you copy the logical volumes to another back-up disk, delete the LVM physical volumes on the original disk, create new partitions, and restore the data from the back-up.

Alternatively, if you have enough free space on your hard disk, you can shrink the logical volumes, shrink the LVM physical volumes, create new partitions, copy the data from the logical volumes to the partitions, delete the LVM physical volumes, and then grow the partitions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.