Fedora, Tutorials/Tips, Ubuntu

Dual-boot Fedora 15 and Ubuntu 11.04 with either side on an LVM partitioning scheme

With two existing primary partitions, the installer will attempt to create all Ubuntu partitions as logical partitions, which will work just fine. Doing that leaves the system with one free primary partition. Enter.
Ubuntu LVM 5

Accept the default here. Enter.
Ubuntu LVM 6

These are the assigned defaults for a new partition on Ubuntu 11.04. since this partition is for /boot, you want to change the mount point, and file system. To make any change, scroll to it and press Enter.
Ubuntu LVM 7

When you have finished with the partition, the window should look just like this. Scroll to “Done setting up the partition.” Enter.
Ubuntu LVM 8

The next step is to create a Physical Volume. To do that, select the free space and repeat the steps you used to create the boot partition.
Ubuntu LVM 9

When you get to the step where you have to specify how to use the partition, select “physical volume for LVM.” Enter.
Ubuntu LVM 10

The window for this partition should look exactly like this. Scroll to “Done setting up the partition.” Enter.
Ubuntu LVM 11

With the Physical Volume configured, the next step is to configure the volume manager. So, scroll to “Configure the Logical Volume Manager” and press Enter.
Ubuntu LVM 12

The default here is No, so use the left arrow key to select Yes. Enter.
Ubuntu LVM 13

The first task involved in configuring the volume manager is to create the Volume Group, and that just means giving it a name. Scroll to “Create volume group.” Enter.
Ubuntu LVM 14

Specify the name here. To make your life a bit easier, the name should not be the same as that for the Fedora 15 installation. Enter.
Ubuntu LVM 15

The device to choose here is /dev/sda6, which is the Physical Volume for this installation. /dev/sda1 and /dev/sda2 are the boot partitions for the Fedora 15 and this installation respectively. Use the space bar to select /dev/sda6. Enter.
Ubuntu LVM 16

With the Volume Group configured, the next step is to create the logical volumes, one each for /, Swap, and /home. Scroll to “Create logical volume.” Enter.
Ubuntu LVM 17

The installer detects two volume groups, so make sure you select the one for the Ubuntu 11.04 installation. This is why it was important that the names for the volume groups not be the same. Make the selection, then press Enter.
Ubuntu LVM 18

You can create the logical volumes in any order, but for this tutorial, the one for the root file system is first. The name I prefer is “root.” Enter.

Note: This step and the next one will be repeated to create the other logical volumes.
Ubuntu LVM 19

Related Post:  4 open source alternatives to Trello that you can self-host

The recommended size for / in Ubuntu 11.04 is 4.4 GB, so 6 GB should be more than enough to install the system. Enter.
Ubuntu LVM 20

Repeat the last four steps to create the other two logical volumes. When the task is completed, scroll to “Finish,” then press Enter.
Ubuntu LVM 21

Back to the main installation window, the next and final task is to assign a mount point and file system for the logical volumes that you just created. To do that, scroll to the selection for the logical volume you want to configure and press Enter.

Note. Because the logical volumes for the Fedora 15 installation are also listed here, make sure that your selection belongs to the Ubuntu installation.
Ubuntu LVM 22

Related Post:  Disk encryption with Calamares, the Linux installer

After configuring the logical volume for /home, its window should look just like this.
Ubuntu LVM 23

The one for /, just like this.
Ubuntu LVM 24

And that for Swap just like this.
Ubuntu LVM 25

Back to the main installation window, scroll to “Finish partitioning and write changes to disk.” Enter.
Ubuntu LVM 26

Yes. Enter.
Ubuntu LVM 27

At the boot loader installation step, the installer informs you that there is no other operating system on the disk. That is not true because we know that it detected the Fedora 15 installation. Ignore this warning and install GRUB to the MBR. Keep in mind that doing this overwrites the version of GRUB used by Fedora 15. That is not going to pose any problems because two Linux systems are involved. The installer will add an entry for Fedora 15 in the new GRUB’s menu, so no additional configuration will be required. Use the left arrow key to select Yes, then press Enter.
Ubuntu LVM 28

On rebooting after the installation has completed successfully, GRUB’s boot menu should be just like this.
Ubuntu LVM 29

If you want something prettier, like the one shown here, how to replace GRUB with BURG on Linux Mint 11 is the tutorial you want to to read.
Ubuntu LVM 30

You can have quality articles like this delivered automatically to your Feed Reader or Inbox by subscribing via RSS or email. This website now has a Question and Answer section. Use the commenting system for simple comments, but for more involved assistance, please use the Question & Answers section.

LinuxBSDos needs your donation to continue!

I hope this article has saved you valuable time and effort to fix a problem that would have taken more time than is necessary. That makes me happy, and why I love doing this. But because more people than ever are reading articles like this with an adblocker, ad revenues have fallen to a level that's not enough to cover my operating costs. That's why I want to ask you a favor: To make a one-time or recurring donation to support this site and keep it going. It's a small favor, but every one counts. And you can make your donation using Patreon or directly via Paypal. Thank you for whatever donation you're able to make.

Donate via Patreon. Donate via Paypal.

Aside from donation, you may also signup to receive an email once I publish new content. Your email will not be shared or traded to anyone. And you can unsubscribe at any time.

Please share:

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.

One Comment

  1. Hat mir total geholfen, danke für den Beitrag bin auch ein großer Wasserfan!

Leave a Comment

Your email address will not be published. Required fields are marked *