Windows 7 Disk Partitioner

Multi-booting, installing more than one operating system on a computer’s hard drive(s), has become very popular over the years, fueled, of course, by the popularity of Linux as an alternate system for desktop and servers. Dual-booting, installing two operating systems on a computer is a subset of that, and in this article, basic guidelines to follow when attempting to dual-boot a Linux distribution and Windows are presented.

The most common practice is to dual-boot on a computer with one hard drive. That, however, gives the system a single point of failure. If you can afford to, the best option, especially on server installations, is to install each operating system on a separate hard drive. That ensures that if something goes wrong with one OS or one hard drive, you can always boot from the other drive, and troubleshoot the other one whenever you are ready. That is tip number one for dual-booting your favorite Linux distribution and Windows.

When attempting to dual-boot on a computer with one hard drive, always install Windows first, followed by your Linux distribution. Why? Because Windows is intentionally designed to destroy everything in its path. So, if it finds another operating system on the same hard drive it is being installed on, it has no built-in mechanism that allows it to play nice. The foregoing, by the way, is tip number two.

If you are going to dual-boot on a computer with an existing installation of Windows, and you do not want to re-install Windows, it means you will have to shrink the Windows partition to create room for your choice of Linux distribution. You can do this from inside Windows or from the Linux installer, and be sure that your data will be left intact. But that does not mean that you should ignore tip number three which is, back up our data. There is a saying in the stock and commodities trading business, which goes like this: “You can never go broke by taking profits.” In the same vein, you can never lose your data by backing it up. Back up your data before messing with your C drive.

Related Post:  Apply the nuke patch to LUKS cryptsetup in Linux Mint 16 and Ubuntu 13.10

By default, the boot loaders of operating systems are installed in the Master Boot Record (MBR) of a hard drive. That is the best location for it. However, when attempting to dual-boot Windows and a Linux distribution, you have another option, and this should count as tip number four: When attempting to dual-boot on a single hard drive, it is better to install the Linux boot loader on a separate boot partition, and have the Windows boot loader be responsible for dual-booting both operating systems. Whether you choose to follow this tip or not depends on your tolerance for pain, because the alternative is to follow the default, that is, install the Linux boot loader in the MBR.

The problem with the default location is that if you ever have to reinstall Windows or upgrade it, it will wipe the Linux boot loader and install its own (boot loader). Also, some anti-virus programs have been known to install small files in the MBR, so that could be another source of pain, if you have to install an anti-virus program on Windows.

This screenshot shows how the installation program of Fedora, a popular Linux distribution, gives you a choice of locations for installing its boot loader.
fedwinDl10

Related Post:  How to play Windows games in Linux

With the Linux boot loader installed some place other than the MBR, an entry must be added to Windows boot menu, so that whenever the computer boots, Windows’ boot menu will look just like the one shown in the image below.
BCD4

And the good part of that is, when you select the Linux entry, you will also find an entry for Windows in the Linux boot loader’s menu.
burg6

Tip number five: If you plan to install the Linux boot loader on a boot partition, be aware that on larger hard drives, there is a limit on how far the boot partition can be located from the start of the disk. On a 1TB hard drive, it is somewhere around the 500GB mark. The solution in such a case is to create the boot partition close to Windows’ System partition.

Tip number six: Even when attempting to dual-boot on separate hard drives, it is best to install the respective boot loaders on their operating system’s hard drive. Keeping them completely apart in that fashion makes troubleshooting and management a bit less of a hassle.

Notes:

  • Installing a Linux distribution on an external hard drive attached to a Windows machine is not considered dual-booting, even though the distribution’s installer automatically adds an entry for Windows in GRUB’s menu.
  • It is not possible to dual-boot Windows and Linux on an external hard drive. Why? Windows will not allow itself to be installed on an external hard drive. I am sure there are ways around this, but it is generally not possible.

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.

19 Responses

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.