Ubuntu 14.04 and Windows 7 boot managers

This post shows how to dual-boot Ubuntu 14.04 and Windows 7 on a computer with two hard disk drives (HDD) and UEFI firmware. The test computer used for this tutorial has a 500 GB and a 320 GB hard drives connected, with Windows 7 Pro installed on the 500 GB HDD. The screenshots and descriptions in this tutorial show how to install Ubuntu 14.04 LTS on the 320 GB and setting up the Ubuntu 14.04 boot manager as the default boot device.

The steps involved are:

  • Download an installation image of Ubuntu 14.04 from here and burn it to a DVD or transfer it to a USB stick
  • Install Ubuntu 14.04 on the target HDD
  • Set Ubuntu’s boot manager as the default boot device

Ready? Let’s get started.

Step 2. Install Ubuntu 14.04: Assuming Step 1 has been completed, reboot the computer with the installation media in the optical drive or in a USB port. Launch the installer and click through the first steps until you get to the step shown in this image. It is very likely that the installer will inform you that “This computer currently has no detected operating systems. What would you like to do?” Select the Something else option, then click Continue.
Ubuntu 14.04 install requirements

That should open the installer’s Advanced Partitioning Tool’s window. The two HDDs should be labeled as /dev/sda and /dev/sdb and their partitions should be listed directly under them. For the computer used in this tutorial, the target HDD is /dev/sda. Whatever you do here, don’t touch the Windows 7 HDD. As shown in this screenshot, the target HDD has no partitions on it, so I only needed to select the free space and clicked on the + button to start creating partitions. If yours has existing partitions on it, you may first have to delete them before creating new partitions.
Ubuntu 14.04 partition tool

Related Post:  Dual-boot Ubuntu 14.04 and Windows 7 on a PC with UEFI firmware

That should open the installer’s partition editor. If you are new to the concept of disk partitions in Linux, it is highly recommended that you read Guide to disks and disk partitions in Linux. For an installation on a computer with UEFI firmware, you need at least three partitions, one of which must be an EFI partition. For this tutorial, four partitions were created – the EFI partition, and three other partitions. One is mounted at / (root), another at /home and the last is for Swap. For each partition that you’ll create at this step, all you need to modify are the values for “Size,” “Use as” and “Mount point.”
Ubuntu partition editor

The first partition will be the EFI partition. The default size allocated by the Ubuntu installer for this partition is about 536 MB. From the “Use as” menu, select EFI boot partition. OK.
Ubuntu 14.04 create EFI partition

For the root partition, a disk space of 20 GB (20,000 MB) should be more than enough. The minimum required is actually 6.4 GB, so the extra should take care of future growth in disk usage. For file system (Use as), you may select the default (Ext4) or even btrfs. Be sure to select / from the “Mount point” menu. OK.
Ubuntu 14.04 create root partition

For the /home partition, assign the disk space you think you need and select /home for the mount point. OK.
Ubuntu 14.04 create home partition

For the Swap partition, a size of 4 GB (4000 MB) should be enough. From the “Use as” menu, select swap area. OK.
Ubuntu 14.04 create swap partition

Back to the main partitioning window, you should see all the newly created partitions. Did you notice that we did not create a boot partition? That’s because on these systems, the EFI partition serves as the boot partition. Boot files for GRUB will be installed there. GRUB (the GRand Unified Bootloader) is the boot program used by Ubuntu and virtually all Linux distributions. Before clicking Install Now, change the entry in the “Device for boot loader installation” from /dev/sda to /dev/sda1. /dev/sda1 is the EFI partition.
Ubuntu 14.04 EFI partition

Related Post:  How to revoke a Let's Encrypt certificate

It should look like the one shown in this screenshot. Install Now
Ubuntu 14.04 EFI boot device

Step 3. Set the Default Boot Device: After Step 2 has completed successfully, reboot the computer. Before it reboots into the default boot device, press the F key that will take you to the boot menu. For my computer, it is the F11 key. This screenshot shows the entries in the boot menu of the computer used for this tutorial. The AHCI P3: WDC WD5000… entry is /dev/sdb, the Windows 7 installation HDD, while the AHCI P2: WDC WD3200… entry is /dev/sda, the Ubuntu installation HDD. Selectnig either entry will cause a boot failure. To boot into the Windows 7 or Ubuntu 14.04 HDD, select the matching OS entry. In this screenshot, it is either Ubuntu or Windows Boot Manager.

After verifying that you can boot into Windows 7 and Ubuntu 14.04, you should get into your system’s UEFI setup utility and set the default boot device to Ubuntu, which should have entries for Ubuntu 14.04 and windows 7 in the GRUB menu. You might want to read Boot managers and boot devices on a PC with UEFI firmware for a brief discussion of the subject in this step.

Ubuntu 14.04 and Windows 7 boot managers
Ubuntu 14.04 and Windows 7 boot managers on UEFI hardware

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com no longer runs network ads?  Yep, no more ads from the usual suspects that track you across the Internet.  But since  I still need to pay to keep the site running, feel free to make a small donation by PayPal.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

4 Responses

  1. My biggest problem with razorQT is its lack of a way to switch mouse buttons. As a lefty, that function is important. I had to insert a command/setting into the auto start of the razorQTsession config.

    xmodmap -e “pointer = 3 2 1 4 5”

    A user should not have to do that.

Leave a Reply

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

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.

Categories
Archives

The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.