Fedora, Tutorials/Tips, Ubuntu

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

How to dual-boot Fedora 15 and Ubuntu 11.04 on a computer with one hard disk is the subject of this tutorial. If you have ever configured dual-booting between Windows and a Linux distribution, the steps involved should be very familiar, but if you have not, this tutorial is detailed enough that you should not have any problems in setting this up on your computer – laptop or desktop.

Before you start, you will have to decide what edition of Ubuntu 11.04 you want to use: Ubuntu Desktop or Ubuntu Alternate Installer? Ubuntu Desktop comes with a simple, point-and-click installer, but it does not have support for disk encryption and LVM, the Linux Logical Volume Manager. The Alternate Installer edition uses an ncurses, keyboard-based navigation, but with support for LVM and disk encryption.

Presented with these two options, I will recommend that you choose the Alternate Installer edition. Its installation steps are a little bit longer, but it enables you to install Ubuntu 11.04 on an LVM-based partitioning scheme, which is the default on Fedora 15. And with disk encryption, you can protect your data with another layer of physical security. For this tutorial, therefore, the Alternate Installer version of Ubuntu 11.04 will be used.

Why use LVM? Amongst other features, it brings a level of flexibility to disk management that is not possible with the traditional system. With LVM, for example, you can add a new disk to a running system, and also increase the size of logical volumes, if they run out of space, all while the system is online. You may read more about the benefits of LVM here.

Related Post:  Dual-boot Ubuntu 16.04 and Windows 10 on a PC with UEFI firmware

Because Ubuntu’s installer does a better job of adding an existing operating systems to its boot loader’s menu than Anaconda, the Fedora system installer, Fedora 15 will be installed first, with GRUB (Fedora uses GRUB Legacy) installed on the hard drive’s Master Boot Record (MBR). When installing Ubuntu 11.04, its version of GRUB, GRUB 2, will also be installed on the MBR, overwriting Fedora’s GRUB Legacy, so that if you follow the instructions provided in this tutorial successfully, you should end with a boot loader menu that looks similar to this one.
Ubuntu LVM 30

To start, download and burn to a CD or DVD, installation ISO images of Fedora 15 and Ubuntu 11.04 from here and here respectively. Boot the computer you want to use from the Fedora 15 installation medium, and keep the Ubuntu CD nearby.

Once the computer boots, press the Enter key to boot into the Live desktop. Then click the “Install to Hard Drive” icon on the desktop to start the installation.
Fedora Boot Options

Once Anaconda starts, go through the initial steps (five or six) until you get to the one shown in this image. Because of the nature of this dual-boot operation, partitions have to be configured manually, and that requires that you select “Create Custom Layout.” Next.
Fedora Install 1

For this tutorial, the virtual environment from which these images were taken has a disk space of about 200 GB. The goal is to use half for Fedora 15 and the other half for Ubuntu 11.04. That should give you an idea of how to structure yours. If you are attempting to dual-boot Fedora 15 and Ubuntu 11.04 on a computer with two hard drives, use the first drive, which should be /dev/sda.

Related Post:  17 alternatives to your default image viewer on Fedora

To start setting up the required partitions, select the free space click Create. Note: A non-LVM boot partition will be created first, then a Physical Volume and three logical volumes will be created next. The logical volumes will be for /, Swap, and /home.
 Fedora Install 2

You want to create a standard partition. Create.
 Fedora Install 3

For the boot partition, select the appropriate mount point, /boot. By default, the file system is ext4, but you do not have to use it. You may want to use ext2, a non-journaling file system, instead. The default size for /boot on Fedora is 500 MB, and that should be good enough. OK.
Fedora Install 4

After setting up /boot, select the remaining free space and click Create. This time, you want to create a Physical Volume, so select “LVM Physical Volume” and click Create.
Fedora Install 5

To create the Physical Volume, select “physical volume (LVM) from the “File system Type” dropdown menu, then assign the disk space you want to use. If you want to encrypt the disk, enable “Encrypt.” OK.

Note: If you a new to this, disk encryption provides a layer of physical security for your computer. It ensures that if your computer is lost or stolen, the data will be secure. You may want to read how Fedora protects your data with full disk encryption.
Fedora Install 6

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 *