Jump to content



Photo

How to dual-boot Fedora 18 and Windows 8 on 1 HDD, with GRUB in a PBR


  • Please log in to reply
No replies to this topic

#1 Nothing Here

Nothing Here

    Neowinian Senior

  • Joined: 23-February 08
  • Location: California, U.S.A.
  • OS: Windows 8 Pro / Kororaa 17

Posted 12 April 2013 - 03:21

Despite the shortcomings of the new Anaconda, the Fedora systems installer, it is still kinda easy to set up a dual-boot system between Fedora 18 and any other operating system. Note that “kinda easy” does not necessarily means that it is straight-forward, because it is not.
You just have to know how to go about it, that is, workaround the drawbacks of the new Anaconda.
In this article, a step-by-step guide on how to dual-boot Windows 8 and Fedora 18 on a single hard disk drive (HDD) is presented. A drawbacks of the new Anaconda is this: It gives you no choice on where GRUB 2, Fedora’s boot loader, is installed, and will install GRUB 2 in the Master Boot Record (MBR), overwriting Windows 8′s boot files.
But by the time you are done with this tutorial, GRUB 2 will be in the Partition Boot Record (PBR) of the boot partition of the Fedora installation, and Windows 8′s boot program will be restored to the boot manager, making it the primary boot manager, so that every time the computer is rebooted, you will see this screen, or a bland, black one. (Keep in mind that installing GRUB 2 in a PBR is not officially sanctioned, but installing it anywhere else creates a lot more headache.)


Posted Image


Note that all the screen shots used in this tutorial were taken from a test installation in a virtual environment. But be rest assured that I tried it first on real hardware and it worked. Using a virtual environment just makes it easier to grab screen shots. Note also that the test installation on real hardware was not on UEFI hardware, but on legacy BIOS, and on a 200 GB HDD.
Also, the Windows 8 installation was a fresh installation of a 32-bit version of Windows 8 Pro, not an OEM installation. So, there are only two Windows 8 partitions involved, which are the default that the Windows 8 installer creates. The effect of this is that I am left with two primary partitions to use for installing Fedora 18, aka Spherical Cow. And finally, I let Anaconda create its partitions automatically. If you want to create partitions manually and are new to the Linux way of addressing partitions, you might want to read guide to disks and disks partitions in Linux before proceeding.
Ok, enough introduction. Let’s get started. I am going to assume that you have an existing installation of Windows 8, so I’ll not cover its installation here. Therefore, I’ll start at Anaconda’s installation hub. If you have not done so already, grab an installation image of Fedora 18 from here. I used a KDE Spin image for this tutorial, but use whatever you prefer. They all employ the same installer.
1. Anaconda’s Hub: The first step of the new Anaconda is the language and keyboard selection step. This is its second step, also known as the Hub. (The new Anaconda follows a hub-and-spoke model.) If you are using a Live CD installation image, this is exactly what you’ll see. The same step from a DVD image is slightly different. Regardless of which image you are using, you are going to select the same module on the hub. And that module is Installation Destination. Select it and click Continue.


Posted Image

Continue