[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1796
  • Last Modified:

LVM2 Setup for Ubuntu Install

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.

Thx.
0
xi2pay
Asked:
xi2pay
  • 3
  • 2
1 Solution
 
torimarCommented:
This guide should help you along:
http://www.debuntu.org/how-to-install-ubuntu-over-lvm-filesystem

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.
0
 
torimarCommented:
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:
http://howtoforge.com/how-to-upgrade-ubuntu-8.10-to-ubuntu-9.04-desktop-and-server

And for the purpose of backing up / restoring your /home folder and files, there are comfortable solutions, like "Simple Backup":
http://www.howcast.com/videos/75364-Ubuntu-Backup-Solution
0
 
xi2payAuthor Commented:
thanks torimar.  i'll give the simple solution a shot tonight.
0
 
torimarCommented:
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: www.partedmagic.com, 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.


ps:
If you wish to keep the Vista bootloader instead of changing to Linux Grub, check out the EasyBCD solution:
http://neosmart.net/wiki/display/EBCD/Recovering+the+Vista+Bootloader+with+EasyBCD
0
 
xi2payAuthor Commented:
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!
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now