LVM2 Setup for Ubuntu Install

Posted on 2009-04-29
Last Modified: 2013-12-15
I'm a complete newbie to linux.  I have a tablet with vista as the primary os.  I have partitioned my disk and freed up plenty of space, so that's not a problem.

Fedora installs fine because it has lvm built into the install.  I want to install ubuntu, however.  Ubuntu does not support the creation of lvm volumes within the cd install.  This is preventing me for continuing.

Can someone please give me a summary of what needs to be done to get an lvm volume installed prior to the os installation.  I assume that this is how I want to do it.

Question by:xi2pay
    LVL 35

    Expert Comment

    This guide should help you along:

    On the other hand, are you sure you need LVM?
    If, on your free space, you create a small swap partition and give all the rest to the "/" mountpoint, you will not need LVM and can skip the difficult steps in that tutorial.
    LVL 35

    Expert Comment

    If you do it the way I suggested you will not have a separate /home partition.
    But the advantages of a separate /home partition focus around re-installation/upgrade issues. In Ubuntu, you can make a disribution upgrade from within the OS, so keeping your /home folder intact:

    And for the purpose of backing up / restoring your /home folder and files, there are comfortable solutions, like "Simple Backup":

    Author Comment

    thanks torimar.  i'll give the simple solution a shot tonight.
    LVL 35

    Accepted Solution

    To make the "simple solution" even simpler: I usually pre-partition my drives before installing a Linux distro, so I don't have to use the in-built partition managers which sometimes may be more tricky to use than GParted.

    What I use is the Parted Magic boot CD:, but it should be possible to do the same simply booting into Ubuntu Live. Select the partition editor among administrative tools, then create a small swap at the end of the drive (sized about the size of your RAM + 10% - if you never use hibernation, you may make it smaller though).

    Then turn the rest of the unallocated space into one big Ext3 partition (I don't yet trust ext4).
    In the installer, you now only have to attribute mountpoints to the partitons that already exist.

    If you wish to keep the Vista bootloader instead of changing to Linux Grub, check out the EasyBCD solution:

    Author Comment

    Sweet!  I took your advice and did it the easy way for now using gparted.  Worked like a charm.  Will now try EasyBoot to change the MBR to vista.  Thx very much torimar!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
    If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now