Triple-boot Windows 7 and 8 and Ubuntu 14.04 on a PC with UEFI firmware

Ubuntu 14.04 GRUB menu

This tutorial provides a step-by-step guide on how to triple-boot Windows 7 and 8 and Ubuntu 14.04 on a computer with UEFI firmware and on a single hard disk drive (HDD).

The working assumption is that the first OS on the computer, which could be OEM or self-built, is Windows 8. Windows 7 will be installed alongside it, followed by Ubuntu 14.04.

Step 0. Prepare the Target HDD: The test computer used for this tutorial has a 500 GB HDD, with Windows 8 taking up about 200 GB of that. The unused portion will be used for installing Windows 7 and Ubuntu 14.04. This screenshot shows the partition layout as seen from the Windows 8 partition manager. If you don’t have free space on your target HDD, use the partition manager to shrink or reduce the C drive. This forum post shows how it’s done.
Windows 8 Partitions

After making sure that you have some unallocated space on the HDD, the next task is to install Windows 7. After that, Ubuntu 14.04 will be installed on three partitions, which will be created manually. Those partitions will be mounted at / (root), /home and Swap. If you haven’t done so already, download an installation image of Ubuntu 14.04 from here. Burn it to a DVD or transfer it to a USB stick. You’ll need it for Step 4.

Related Post:  Linux Mint 6 Installation with Custom Disk Partitioning

Step 1. Install Windows 7: To begin the installation of Windows 7, reboot the computer with the Windows 7 installation DVD in the optical drive. When the installer starts, click until you get to the disk partitioning step. This screenshot shows the partitions on the HDD as seen by the installer. Partitions 1-4 are the Windows 8 partitions, with partition 2 the EFI System Partition (ESP). On a UEFI system, that partition serves as the boot partition for all installed operating systems.

To install Windows 7, select the “Unallocated Space” and click Next.
Install Windows 7 partition

On my test system, the installer threw this message after I clicked Next in the previous step. As far as I knew, the partitions were in the proper order, so I just clicked OK. The installation completed successfully and I rebooted the computer.
Install Windows 7 GPT partition

Step 2. UEFI Boot Menu and Windows Boot Manager : Before the computer boots into the default boot device, press the F-key that will take you to the boot menu. On mine, that key is the F11 key. This screenshot shows what the boot menu of the test computer looks like. For each OS installed on any HDD connected to the computer, an entry is made in the boot menu for it. In this screenshot, the AHCI P2: WDC WD50000… entry is the target HDD. The Windows Boot Manager entry is used for booting Windows 7 and Windows 8. Selecting it will not boot directly into either OS, but will only take you to the Windows boot menu.
UEFI menu Windows Boot Manager

Related Post:  Dual-booting Windows and Linux: Why and how

This is what that Windows boot menu looks like. On your system, test to make sure that you can boot into Windows 7 and Windows 8 before moving on to the next step. First, boot into windows 8, then into Windows 7. If you did not encounter any problem (I did not), remain logged into windows 7 to complete the next step.
Windows boot manager UEFI

Step 3. Shrink the Windows 7 Partition: That next step involves shrinking the Windows 7 C drive, so that you can use the recovered disk space to install Ubuntu 14.04. It’s just the same thing you did to the Windows 8 C drive before you could install Windows 7. Again, This forum post shows how it is done. This screenshot shows the partitions as seen from the Windows 7 partition manager, which is actually the same as the Windows 8 partition manager.
Windows 7 partition

This one shows the same view as the previous one, but with the Windows 7 C drive reduced to about half. The partition marked “Unallocated” will be used to install Ubuntu 14.04.
Windows 7 partition shrink volume

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 run network ads?  Yep, no more ads from the usual suspects that track and annoy 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 or your favorite cryptocurrency.

  • Bitcoin
  • Ethereum
  • Xrp
  • Bitcoin cash
  • Bitcoin sv
  • Litecoin
  • Binance coin
  • Cardano
  • Ethereum classic
Scan to Donate Bitcoin to bc1qzvlte2m224zkayhdc7fdfjkp2rsgt0l5a496ua

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x0F4362DFF77F3Ba0Dc637F5f3Eba35D09a2fA60C

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Xrp to r4ggjvL36njsMCYTkJ3S7cTHscPsMsSGQv

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Bitcoin cash to qrs0dedzp9t55af3nfwypydghp29r0xguy9s20fz2k

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Scan to Donate Bitcoin sv to 15K9TLyVDBtLuG9cYvXCX9SSkq9C9oUKHK

Donate Bitcoin sv to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin sv

Scan to Donate Litecoin to LetJ9QQMb7u2LMZ9Tu6rtHwcBcQFW98fbG

Donate Litecoin to this address

Scan the QR code or copy the address below into your wallet to send some Litecoin

Scan to Donate Binance coin to bnb1ga8trq08ssqepd90v6225nzfgy448pu5pw8gxp

Donate Binance coin to this address

Scan the QR code or copy the address below into your wallet to send some Binance coin

Scan to Donate Cardano to addr1qx2354yw49etstfljpdhwja3ajjlt487lg95vu9ngy2q6vu4rf2ga2tjhqknlyzmwa9mrm997h20a7stgectxsg5p5esq5l7d9

Donate Cardano to this address

Scan the QR code or copy the address below into your wallet to send some Cardano

Scan to Donate Ethereum classic to 0xcD6CC972a2297FcafACDcfE042C55C69516a9264

Donate Ethereum classic to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum classic

Subscribe for updates. Trust me, no spam!

Sponsored links

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

Upcoming events

14 Responses

  1. My PC is Desktop. Core2Due processor 2GB RAM 1TB HDD.
    But for learning this multy boot I used another HDD which has only 160 GB!

    First I Installed the Windows 8.1 according to your suggestion. It was really a very good suggestion.
    On the time of installation Windows 8 will take 350MB as system partition.

    I give partition only 25 GB for Windows 8 and another 25 GB for Windows 7. (Windows 8 and 7 take only 8.5 GB for installing the OS).
    And windows 8 and 7 allow to make only 4 partition. Linux also allows like that. But here I need more than 4 partition. So after installing the first two OS (Win 8 & 7), I used a utility Live CD (Bart_PE) for arranging the other partitions. With the help of that bootable CD I make other partitions. 20 GB as root(/) for Linux Mint17. 18 GB for its Home. 2GB for swap area. Again 20 GB root for Ubuntu14. 18 GB as it’s Home. I give swap area as common for Mint and Ubuntu. (I think we can assign same Home area for Mint and Ubuntu. Then we can save 18 GB space here!) Their is a balance of 20 GB again. I formatted it as NTFS for Windows 8 and 7 user files. This is the partitions I made. Final important.
    >> With your setup, how much of the disk space allocated to the /boot/efi partition is used?

    Ans: I did not manually allocate any space for the boot file of Linux! Because my HDD has no efi partition. Instead, at final step.
    * Device for boot loader installation.
    I simply selected the the option which shows the name and the size of my HDD.
    for eg. dev/sda ATA WDC-WD1600AVDS-6 (160 GB)
    Then continue…

    Thank You.

  2. O.K Thank you very much. Your tutorial helped me do a lot. I have successfully done not triple but quadruple boot (Windows 8, Windows 7, Ubuntu 14, and Linux Mint17) with the help of your tutorial.

    Thank you and for your tutorial.

  3. Hi
    On the 2nd page picture 2 and 7 8 shows “/dev/sda2″ is ‘efi’ partition but only 100 MB. You did not say anything about it!

  4. Hi,

    Your Tutorial is good but much confusing.
    You said “you need to select the “device for boot loader installation.” It should not be /dev/sda, but /dev/sda2”

    The /dev/sda2 is showing as ‘efi’ partition and has only 100 MB! It arise some doubts.

    1. What is this efi partition?
    2. How to create it?
    3. Do we need to create an another 100 MB for that efi partition?
    4. Do we need to disable fast boot of Windows 8 before setting dual boot?

    https://sites.google.com/site/easylinuxtipsproject/windows

    5. Please update your tutorial by clearing this area.

    Thank You.

    1. On a computer with UEFI firmware, the /boot/efi partition is where all the boot loader files are installed. If you have Windows 8 installed, that partition is created during the installation of Windows 8, so whatever size it has is what was allocated to it during the installation of Windows 8.

      Therefore, if you are attempting to dual-boot a Linux distribution and Windows 8, you do not need to create another /boot/efi partition. Make that partition the boot loader device.

      If you are attempting to install a Linux distribution by itself on a computer with UEFI firmware and you are creating partitions manually, one of the file systems available is /boot/efi.

      Hope that clears it up.

      1. INSTRUCTION FOR COMPUTER WHICH HAS NO UEFI FIRMWARE.

        At my first attempt I manually selected the partition (that is created by Windows 8 (350MB) during the installation of Windows 8) for the last process.

        * Device for boot loader installation

        But on that time though Windows 8 option is showing on the boot menu. But when selecting Windows 8, It could not boot and the computer is always restarting.

        Therefore, if anyone attempting to dual-boot a Linux distribution and Windows 8, on a computer WITHOUT UEFI firmware,
        you do not select the last option. (This is important for the computer which has NO UEFI firmware.)
        If there is any wrong selection during installation time, please only select the option which shows the name and the size of your HDD.

        * Device for boot loader installation.
        for eg. dev/sda ATA WDC-WD1600AVDS-6 (160 GB)

Leave a Reply

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

Get the latest

On social media
Via my newsletter

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.