Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)

 Apr 10, 2014

Many IT guys and girls may know the way to dual boot Windows 8.1 on Windows 7 by creating a new partition, but that way has some disadvantages and is riskier than the way I will show you in today's blog post. Creating a new partition means you will have to back up your data before partitioning then shrink the volume to create a new partition. Well, let’s just simply create a Virtual Hard Disk (VHD) on your current local disk and then add it to the Boot Manager and voila!! By following the below steps, you will find it less complicated to dual boot Windows 8.1 on Windows 7 without partitioning. Before you begin, you will need the following:

  • Windows 7 Operating System already installed
  • Windows 8 or 8.1 ISO File
  • An ISO software program like WinIso or UltraIso
  • Some spare time and coffee

Part 1: Creating the VHD

  1. On your keyboard, press 'Windows+R,' and type in 'diskmgmt.msc. This will take you to the 'Disk Management' window.
  2. In the navigation bar, select 'Action' and click 'Create VHD.
  3. In 'Location' field, click 'Browse' and choose C: drive. In file name field, type 'Windows8' and then click 'Save.' Remember that the 'Virtual hard disk size' must not less than 20 GB and the 'Virtual hard disk format:' must be set to 'Fixed size.' Dual boot Windows 8.1 on Windows 7 using VHD
  4. The new VHD will now appear in the list. Right click on the VHD and select 'Initialise Disk.'
  5. Choose 'MBR (Master Boot Record)' and click OK.
  6. Right click on the VHD and select 'New Simple Volume.'
  7. Click 'Next' and then assign the VHD with a specific drive letter.
  8. Now you need to format the partition with 'NTFS' file system. The volume label conveniently changes to Windows 8, but you can choose anything you like.
  9. Now, you will have a nice looking, brand new Windows 8 VHD.

Part 2: Download the “Install-WindowsImage” script

  1. Download the 'Install-WindowsImage' script from the MSDN website.
  2. Click 'Agree' and save the file to the C: drive.
  3. Navigate to C: drive and right click on the downloaded file. Select 'Properties' and click on the 'Unblock' button.Dual boot Windows 8.1 on Windows 7 using VHD

Part 3: Install Windows 8.1 on the VHD

  1. Mount the 'ISO file of Windows 8.1' to a virtual drive. You can use WinIso or UltraIso, or any other software that opens and manages ISO files.
  2. In the start menu search box, type 'Windows PowerShell.' Right click on 'Windows PowerShell' and select 'Run as administrator.'
  3. Type in 'Set-ExecutionPolicy RemoteSigned' and then type 'Y.' Press Enter to accept.
  4. Now type “cd c:\” to turn to the root of the drive.
  5. In the following command, type: '.\Install-WindowsImage.ps1 –WIM G:\Sources\Install.wim –Apply –Index 1 –Destination H:\' Replace H:\ with the drive letter you selected in Part 1.
  6. Press 'Enter' and 'simmer' for a couple of minutes. (Great chance to enjoy that coffee!) Dual boot Windows 8.1 on Windows 7 using VHD
  7. Open the CMD prompt with administrative rights. In this case, I have chosen to use the search index.
  8. Type 'bcdboot.exe H:\Windows.' Again, replace the drive letter H: with the drive letter you selected before.
  9. When it says 'Boot files successfully created,' restart your PC and then enjoy a dual boot Windows 8.1 on Windows 7 without creating a partition.

Windows 8 will boot up and install all the necessary drivers needed. You now also have the option of copying that VHD created for a backup every now and again, but we'll save that for another blog post.

How do your Excel skills stack up?   

Test Now  

About the Author:

Barend Koekemoer  

Barend is one of New Horizon's highly experience IT Technical trainers with over 15 years of practical IT experience as well as experience in administrating, planning and executing projects and automation systems. He began his career in IT working for a South African government organisation and has since become a Microsoft Certified Trainer, Microsoft Certified Solutions Associate, Microsoft Certified Technology Specialist and a Microsoft Certified IT Professional.

Read full bio
top
Back to top