Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Dual Boot - Windows 7 and Linux



Dual Boot - Windows 7 and Linux

How to Correctly Setup a Dual Boot with Windows 7 and LinuxMint13
Published by Golden
07 Oct 2012
Default Dual Boot - Windows 7 and Linux

How to Correctly Setup a Dual Boot with Windows 7 and LinuxMint13

information   Information
Historically, dual booting Windows and a Linux distribution was fraught with risks due to the propensity of the Linux GRUB loader to interfere with and corrupt the Windows bootloader. This often left the Windows installation unbootable, which then required several complex steps in order to rescue the Windows installation.

In recent distributions, the Linux GRUB loader has now been updated to GRUB2, which tends not to have an adverse effect on the Windows bootloader. This tutorial will show you the easiest method to successfully dual-boot Windows 7 and Linux, using the LinuxMint13 Cinnamon distribution as an example. This method has also been tested on, and works with, Ubuntu 12.04 and Fedora 17.

Please note the goal of this tutorial is to show you how to dual-boot correctly without compromising your Windows 7 installation. Whilst the fundamentals of installing a Linux distribution are briefly covered for the purposes of this tutorial, more detail on how to use Linux are outside its scope and will not be covered. For more information on using Linux distributions, you are welcome to visit the LinuxMint, Ubuntu or Fedora sites.

warning   Warning
Note that this technique will only work on a computer that uses Legacy BIOS - it will not work on a computer that uses UEFI.

Please take careful note : If you currently:
  • Use, or plan to use, Windows Bitlocker Drive Encryption, or
  • Require access to OEM installation recovery functionality,
then you cannot use the methods outlined in this tutorial, and should not proceed any further.

The reasons for this are that this dual-boot technique requires you to delete the 100MB System Reserved partition. Without this partition, both Bitlocker Drive Encryption, and the Recovery functions employed by OEM's accessed during Windows boot, will no longer work.



Requirements:
In order to undertake this tutorial, you will need the following :

Hardware:-
  • 1Gb or larger USB thumb/flash drive (to hold your bootable Partition Wizard and LinuxMint13 installation)
Software:-
Knowledge or skills:-
  • Creating bootable versions of Partition Wizard and LinuxMint13 on either CD, DVD or USB
  • Booting a computer from either a CD/DVD or USB drive.
  • Manipulating (deleting, moving and re-sizing) Windows NTFS disk partitions


Before you begin : Insurance against mistakes

Mistakes made during partition manipulation can render your system unbootable. In order to protect yourself against such inadvertent mistakes, I strongly recommend you create an image of your current system prior to commencing with this tutorial.

Please refer to either of this tutorial for help on imaging your system:
Imaging with free Macrium
In the event that you do make a mistake, the image you created will allow you to revert to your original installation with a minimum of fuss. This step is important, especially for novices - don't be tempted to skip it.


Part A - Create the bootable Partition Wizard and Linux USB

YUMI can support several bootable ISO's concurrently, so its advantageous to install both Partition Wizard and LinuxMint13 to the USB flash drive, one after the other.

Step 1
Download YUMI, Partition Wizard and LinuxMint13 from the links provided earlier.

Step 2
Insert your USB flash drive into the computer, and then run YUMI.

Step 3
On the YUMI interface, do the following:

- select the drive letter corresponding to the USB flash drive
- place a tick in the Format Drive box (the USB flash will be formatted to FAT32)
- scroll down the distribution list and select Partition Wizard (Partition Tools)
- browse to locate and select the Partition Wizard ISO you downloaded earlier

The completed panel should look very similar to that shown below.
Name:  m1.png
Views: 5323
Size:  67.5 KB
Step 4
Click the Create button to install Partition Wizard to the USB flash drive.

warning   Warning
Take note of the format warning message that is displayed - the entire USB flash drive will be formatted to the required FAT32 format, so double check to see that the correct USB device is selected.

Once complete, you will be asked whether you wish to install another ISO/Distro. Click Yes, and then select the LinuxMint13 ISO as shown below. Click
Name:  m2.png
Views: 5306
Size:  59.6 KB
Click the Create button to write the install LinuxMint13 to the USB flash drive. Once complete, exit YUMI. For ease of reference, we will simply refer to this flash drive as the YUMI flash drive from here on in.

You have now completed Part A of the tutorial.


Part B - Manipulate the Windows 7 Partitions

Prior to installing LinuxMint13, you need to make changes to the existing Windows 7 partitions. Specifically, you need to perform these steps:
  1. Copy the Windows boot manager to the System C: partition
  2. Delete the 100MB System Reserved partition
  3. Resize the System partition (C: drive) into the unallocated space after deleting the System Reserved partition
  4. Create unallocated space for the LinuxMint13 installation by shrinking the Data partition (F: drive)
All this can be accomplished using EasyBCD, and the Partition Wizard installation on the USB flash drive.

If you are unfamiliar with Partition Wizard, then I recommend reading this tutorial before proceeding further:
Partition Wizard : Use the Bootable CD
Note   Note
For the purposes of this tutorial, we will assume you have a reasonably common Windows 7 partition layout, as shown below, and comprising of:
  • Primary 100MB System Reserved partition, and
  • Primary System partition (C: drive), and
  • Logical Data partition (F: drive)
Dual Boot - Windows 7 and Linux-pw_start.png
Tip   Tip
If your partition layout is different, and you aren't sure how to proceed, then reply to this tutorial seeking advice. Be sure to include a screen capture of your Windows 7 disk management screen that clearly shows your partition layout.


Step 1 - Copy boot manager to System C: partition
Install EasyBCD to your computer. Run EasyBCD and now follow the very simple steps explained in the short tutorial below, to copy the Windows 7 boot manager from the 100MB System Reserved partition to the System C: partition:
Bootmgr - Move to C:\ with EasyBCD
Once you have performed this step, close EasyBCD.

Check to ensure that the boot manager has been copied correctly by examining the partition layout in the Windows Disk Management screen. Your System C: partition status should now include the Boot option under the partition status, as shown in the example below.
Dual Boot - Windows 7 and Linux-m3.png
Close the Disk Management screen when you have verified that the Boot status is correct.

Step 2 - Delete the 100MB System Reserved partition
Insert the YUMI flash drive into your computer, and boot from it. Run Partition Wizard by selecting it from the System Tools menu, as shown below.
Name:  yy1.png
Views: 5290
Size:  50.6 KB
Name:  yy2.png
Views: 5265
Size:  49.7 KB
Once Partition Wizard has opened, delete the 100MB System Reserved Partition - you will now have 100MB unallocated space sitting to the left of your System partition, as shown below.
Dual Boot - Windows 7 and Linux-pww2.png
Step 3 - Resize the System partition into the unallocated space
Stretch the System partition to the left, into the unallocated space created in step 2 above, so that you only have a System partition and Data partition as shown below.
Dual Boot - Windows 7 and Linux-pww3.png
Step 4 - Create unallocated space for the LinuxMint13 installation
Shrink the Data partition to the right, thereby creating unallocated space between the System partition and Data partition, as shown below. This unallocated space is where LinuxMint13 will be installed too.
Dual Boot - Windows 7 and Linux-pww4.png
Tip   Tip
You can also shrink the System partition, or use combinations of resizing both the System partition and Data partition to create the unallocated space for the LinuxMint13 installation. LinuxMint13 requires a minimum of 8.6GB, but I usually assign more space for updates, data etc.

Reboot your system to complete the partition manipulation.

You have now completed Part B of the tutorial.


Part C - Install LinuxMint13

Insert the YUMI flash drive into your computer, and boot from it. Run the LinuxMint13 boot menu/installer by selecting it from from the Linux Distributions menu, as shown below.
Name:  lx00.png
Views: 5244
Size:  50.5 KB
Name:  lx01.png
Views: 5232
Size:  49.6 KB
From the LinuxMint boot menu, choose to install to a hard disk, as shown below.
Name:  lx02.png
Views: 5257
Size:  66.7 KB
Once the LinuxMint13 desktop loads, select the Install Linux Mint option by double-clicking it, as shown below.
Dual Boot - Windows 7 and Linux-lx03.png
Follow the the prompts to select your language. When prompted to select your installation type, be sure to choose the option labelled Install Linux Mint alongside Windows 7, as shown below.
Name:  lx1.png
Views: 5301
Size:  106.6 KB
LinuxMint13 will now be installed into the unallocated space created in PART B of the tutorial. Whilst installation is proceeding, follow the remainder of the prompt screens to specify your locality, keyboard layout and machine name and user account details.

You will be prompted as to whether you wish to import any existing Windows 7 account details (contacts, favorites, bookmarks etc.) into the LinuxMint13 installation (as shown below) - highlight the listed Windows 7 option shown and and click Continue to do that, or simply click Continue to skip this step.
Dual Boot - Windows 7 and Linux-pa280042.jpg
Once installation has been completed, you will be prompted to reboot your system as shown below.
Dual Boot - Windows 7 and Linux-lx09.png
Once your system reboots, you will be presented with the Linux GRUB screen - don't panic, this is perfectly normal. PART D of this tutorial will show you how to easily customise your boot order.

You have now completed PART C of the tutorial.


Part D - Customise the Windows 7/LinuxMint13 boot order

Note   Note
The boot screen images in this part of the tutorial use Ubuntu as an example - this is simply for convenience for the tutorial. The boot screens for LinuxMint13 will look very similar, obviously with the word Ubuntu replaced by the word LinuxMint13.

EasyBCD allows you to easily customise the boot sequence so that the familiar Windows boot screen is the screen from which you select the operating system to boot.

When you first boot your PC after installing LinuxMint13, you will be presented with the GRUB screen, as shown below.
Name:  boot1.png
Views: 5433
Size:  21.8 KB
Select the Windows 7 option to boot in Windows as normal, and then run EasyBCD.

Now complete the following steps :

Step 1 - Add the LinuxMint13 boot entry
Replicate the steps shown in the image below to add the LinuxMint13 boot entry. Take note of the confirmation message that appears briefly at the bottom of the panel.
Name:  ecb1.png
Views: 5335
Size:  103.6 KB
Step 2 - Add the Windows 7 boot entry
Replicate the steps shown in the image below to write the Windows 7 bootloader.Take note of the confirmation message that appears briefly at the bottom of the panel.
Name:  ecb2.png
Views: 5292
Size:  98.2 KB
Step 3 - Review the Windows 7 / LinuxMint13 boot sequence
Review the default boot options, and make any changes if you wish.
Name:  ecb3.png
Views: 5281
Size:  87.2 KB
Close EasyBCD and reboot your computer. You will now see the Windows 7 boot screen with the Windows 7 and LinuxMint13 boot options (Ubuntu is shown in this example).
Dual Boot - Windows 7 and Linux-boot2.png
If you select the Windows 7 option, your computer will boot into Windows 7 as normal. If you select the LinuxMint13 option, then the GRUB boot screen will appear, and from that you select the LinuxMint13 option to boot it, as shown below.
Name:  boot1.png
Views: 5433
Size:  21.8 KB
You have now completed the entire tutorial.

This is how the dual-boot installation look in Windows 7 Disk Manager - note the blank entries marked with arrows : Windows cannot read the format of Linux partitions.
Dual Boot - Windows 7 and Linux-dm1.png
And this is how the dual-boot installation looks in Partition Wizard.
Dual Boot - Windows 7 and Linux-pwx.png
Tip   Tip
If you ever wish to remove the LinuxMint13 partitions, simple delete them using Partition Wizard - your Windows installation will be unaffected since the boot manager still resides on the first partition of the disk. Be sure to reset the boot entry using EasyBCD for aesthetics using Step 4 and Step 5 here.


Thats all there is to it : dual-booting Windows 7 and LinuxMint13 the easy way!

Regards,
Golden

Published by
28 Oct 2012   #1
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Great tutorial Goldern.


My System SpecsSystem Spec
28 Oct 2012   #2
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Thanks Brink!
My System SpecsSystem Spec
28 Oct 2012   #3
gregrocker
Microsoft MVP

 

It was worth the wait!
Much needed.

Bookmarked.

Thanks.
My System SpecsSystem Spec
.


28 Oct 2012   #4
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

No worries Greg - thanks.
My System SpecsSystem Spec
28 Oct 2012   #5
LittleJay

Windows 7 Home Premium 64bit SP 1
 
 

Nice tutorial Golden!
I haven't tried using EasyBCD to add a GRUB bootloader entry to the Windows 7 bootloader before and will definitely give it a try. Since I have the luxury of more than one HDD, I have Linux and Windows installed on two different HDDs and have GRUB set up an entry for the Windows 7 bootloader during installation. But this way I can add an entry for GRUB on the drive containing Windows 7 as well, since I much prefer the Windows 7 boot screen.
My System SpecsSystem Spec
28 Oct 2012   #6
gregrocker
Microsoft MVP

 

Why wouldn't one boot the OS's via the BIOS if they're on separate HD"s? Seems a lot easier and less potential trouble?
My System SpecsSystem Spec
28 Oct 2012   #7
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Thanks Littlejay. I agree with Greg : if your OS are on different HDD's, then its easier just selecting the HDD using the one-time bootup key.
My System SpecsSystem Spec
28 Oct 2012   #8
LittleJay

Windows 7 Home Premium 64bit SP 1
 
 

Sure, I know how to do it that way as well, but the thing I like about EasyBCD is that I can set the boot screen to "Wait for user selection". When I start up my computer I don't always remember to hit the f8 key quick enough to choose which drive to boot, so this way seems to work the best for me.
My System SpecsSystem Spec
29 Oct 2012   #9
F5ing

Windows 7 Ultimate x64
 
 

Truly a great job Golden! Very well written and formatted.
My System SpecsSystem Spec
Comment

 Dual Boot - Windows 7 and Linux




Tutorial Tools



Similar help and support threads for2: Dual Boot - Windows 7 and Linux
Windows 7 Tutorial Category
Dual boot Windows and Linux Ubuntu Installation & Setup
Windows/Linux dual-boot imaging using Macrium Backup and Restore
windows 7 and linux fedora dual boot with dual drives General Discussion
How to dual boot Linux Mint and Windows 7? Installation & Setup
partitions for dual boot Windows 7 and linux Installation & Setup
Linux Dual Boot System Using the Windows 7 Boot MGR Installation & Setup
Dual boot windows 7/linux (Fedora) Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:13 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33