Came here in search of an answer to a problem, but didn't find it? Visit the forum @ LinuxBSDos.com, pick a category and ask a question.

Dual-boot Windows 8 and Linux Mint 17 on a PC with 2 disks and UEFI firmware

This tutorial shows how to dual-boot Linux Mint 17 and Windows 8 on a computer with two hard drives and UEFI firmware. For a guide on how to perform the same operation on a computer with one hard drive, see How to dual-boot Linux Mint 17 and Windows 8 on a PC with UEFI firmware.

The computer used for the test installation is not an OEM, or store-bought one. Rather, it is a custom-built computer, with an ASRock motherboard and Intel Core i3 processor. Windows 8 is installed on the first hard drive, a Maxtor hard drive with 200 GB of disk space, while the second hard drive is a Western Digital (WD) piece with 320 GB of storage. Linux Mint 17 will be installed on it.

For this exercise, I used the Cinnamon edition of Linux Mint 17. But the steps will also work for the MATE and Xfce editions, because they use the same installer as the Cinnamon edition.

An assumption made here is that Windows 8 is already installed on the first hard drive. However, if necessary, you can always install it afresh. Also, the automatic disk partition method of the Linux Mint 17 installer is used, that is, no manual disk partitioning is involved. However, if you wish to create a custom set of partitions for Linux Mint 17, you can do that just was easily.

So based on those assumption, here are the steps involved:

  1. Download an installation image of Linux Mint 17 (Cinnamon, MATE or Xfce) from here. Burn or transfer it to a suitable installation media (DVD or USB stick).
  2. Install Linux Mint 17 on the second hard drive. For this tutorial, the installer’s automated disk partitioning tool is used, so no manual disk setup is involved.
  3. Set the default boot manager for the computer

With all that intro out of the way, here’s how to get this done.

Step 2. Install Linux Mint 17:
(Re)Boot the computer with the installation media in the optical drive or in a USB port. Before it boots the default boot device, press the F key that redirects you to the computer’s boot menu. On my test computer, that key is the F11 key, and this is what the boot menu looks like.

The AHCI P* … entries are for the hard drives, while the * Ut165 * … entries are for the installation media, which in this case, is a USB stick. Selecting the UEFI: Ut165 … entry will result in a system installed on GPT partitions, while the USB: Ut165 … entry will result in a system installed on MBR partitions, even when the computer has UEFI firmware.

If you want a result that’s exactly like the one produced with this guide, select the UEFI: Ut165 … entry and hit the Enter key.
Windows 8 UEFI boot menu

The computer should boot into a live Linux Mint 17 Cinnamon (or MATE or Xfce) desktop. Launch the installer by clicking on its icon on the desktop. When it starts, click until you get to the step shown in the image below. For the computer used for this guide, the second hard drive connected to it has an installation of Ubuntu 14.04. That installation was also a test system, so I didn’t mind erasing it. In any case, the installer accurately detected that the target drive has an operating system on it and offered the options that you see in this image. Since there’s no sign that the Windows 8 drive was detected, it is always a save bet to make sure that the installer detected it. To verify, select the Something else option and click Continue.
Linux Mint 17 disk partition methods

That should open the installer’s Advanced Partitioning Tool. You should see all the disks (and their partitions) detected by the installer. In the screenshot shown here, you should see the partitions under the first detected hard drive (/dev/sda). That is the Windows 8 drive. So we know that the installer detected it.
Linux Mint 17 advanced partition tool

This screenshot shows the lower part of what could not be shown in the screenshot above. It shows the partitions under the second hard drive (/dev/sdb). You can see that everything is in order. Since I had no intention of creating partitions manually, I had to take a step back to the Installation type window.
Linux Mint 17 partition tools

From the Installation type window, select the second automated disk partitioning option as shown in this screenshot. In addition, you may also select the option to encrypt the disk (highly recommended, if you want a better physical security profile) and the LVM option. Click the Continue button.
Linux Mint 17 aautomatic disk partition

This is where you have to be careful. By default, the installer will want to install Linux Mint 17 on the first hard drive, that is, the Windows 8 hard drive. But that’s not what you want to do. To select the correct hard drive, click on the Select drive menu.
Linux Mint 17 automatic partitions

This is what the menu looks like on my system. You can see both hard drives listed. The target hard drive is /dev/sdb
Linux Mint 17 automatic partitions

This is what the step should look like after the correct hard drive has been selected. If you click Install Now, all existing partitions on /dev/sdb will be deleted and Linux Mint 17 installed on a new set of partitions created by the installer.
Linux Mint 17 automatic partitions

Step 3. Set the Default Boot Manager: After Step 2 has completed successfully, reboot the computer. Before it reboots into the default OS, which should be Linux Mint 17, 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 its boot menu. The OS entry for Windows 8 is Windows Boot Manager. Somehow that of Linux Mint 17 is Ubuntu. If you select any AHCI P* … entry, the computer will not boot.

To boot into Linux Mint or Windows 8, select the matching OS entry. If you select the Ubuntu entry, you will be taken to Linux Mint 17’s GRUB menu, which should also have an entry for both operating systems. Since that entry has been automatically set up as the default boot device, anytime the computer is booted, you will have the option to boot into Linux Mint 17 or Windows 8. If Linux Mint 17’s boot manager is not set up as the default boot device, go into your computer’s UEFI setup tool and make it so. One of the F keys should get you into the UEFI setup utility. For my computer, that key is the F2 key. The Delete key will also do the trick.
Linux Mint 17 UEFI boot menu

0saves
To have articles like this delivered automatically to your Feed Reader or Inbox, subscribe via RSS or email.
Digital Ocean SSD VPS Cloud Server droplets

Digital Ocean is a VPS/Cloud hosting provider. For just $5 per month, you can get yourself a Cloud server with 512 MB of RAM, 20 GB super-fast SSD, free snapshots, plus backups for a minimal fee. All via a simple graphical interface.

And by signing up with this referral link, you can help support this website.

If you are reading this, your ad could also be occupying this space. Contact us to make it happen.

If commenting on this article is closed, please post your comments at forum.linuxbsdos.com.

2 Comments

  1. Dave says:

    What would be different if this were a computer bought from a computer shop or discount mart? What if the diatribution is Ubuntu, Debian, or Fedoria?

    If this will work well across the board, then I won’t have to find a computer with Win 7 becasue I fear problems with UEFI.

    Thanks,

Leave a Comment