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.

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.

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

Related Posts

For an editor, Atom uses way too much RAM For some time now I've been using Atom as a replacement for Kate, KWrite and GEdit, depending on the desktop environment I'm using. That's because...
Ubuntu TV: Can it gain a foothold in the market place? Canonical, the company behind Ubuntu, the popular Linux distribution for desktops and servers, just announced Ubuntu TV, a version of the distribution...
Create and manage user accounts in Chakra Linux 2011.11 Chakra 2011.11 is the second maintenance release of Chakra Edn, a KDE distribution that was originally based on Arch Linux, but is now an independent ...
Enlightenment’s E17: Ready for prime time? After more than a decade of slow, but steady coding, Enlightenment version 0.17 or E17, was released late last year. Enlightenment is a window manager...
Ubuntu 12.04 Precise Pangolin beta 2 screen shots Less than 30 days before the final release, comes Ubuntu 12.04 beta 2. While there is very little difference in most visible desktop features between ...
Ubuntu Tweak: The first app to install on Ubuntu 13.10 Installing Ubuntu Tweak on Ubuntu 13.10 or any other supported version of Ubuntu gives you a simple utility that makes it very easy to customize diffe...

We Recommend These Vendors

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).

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 *