Installing Ubuntu 9.10 with RAID and LVM – Part 2
In this article, we’re going to take off where we left in part 1, setup LVM and install ubuntu 9.10.
Choose Configure the Logical Volume Manager. Because we haven’t written the changes made to RAID 1 array yet, we’ll be asked to save these changes. Choose yes, then choose Create Volume Group.
Give volume group some name, for example vg1, then select /dev/md1 device for volume group and choose continue.
Next, select Create logical volume, accept vg1 as volume group and give a name to volume. I named it swap. Enter whatever size you’ll want for swap volume and press enter. After swap volume is created, we’ll create the root volume. So select Create logical volume again, accept vg1, name it root and accept the default size (entire remaining space). After we’re done, choose Finish.
Now we must partition and initialize the new logical volumes. Select the swap volume, press enter. Set it to use as swap area and then select Done setting up the partition.
Select the root volume, set it to use as Ext4 file system, set it’s mount point to / and select Done setting up the partition. After this we should have this configuration set:
Now choose Finish partitioning and write changes to disk.
When asked if you want to boot if raid becomes degraded, choose yes