• Ask, answer, and discuss all things having to do with the product brands that you own, use, and love. Please feel free to look around, and browse about the forum!

  • Tips and Tricks Forum is the best source of computer and technology troubleshooting advice from a community of experts.


 
Thread Rating:
  • 1 Vote(s) - 5 Average
Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)
Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)
10-17-2013 - 03:51 PM
 messivj
TNTFer

****




  • Posts: 32
  • Joined: Sep 2013
  • Reputation: 9
[Image: 0_zps3a435f22.png]

Many of you may know the way to dual boot Windows 8.1 on Windows 7 by creating a new partition. However that way has some disadvantages and more risky than the way I will show in this post. By creating a new partition means you will have to backup your data before partitioning then shrink the volume to create a new partition.
Forget that way, just simply create a Virtual Hard Disk (VHD) on your current local disk.
By following these below steps you will find it more easier to have a dual booting Windows 8.1 on Windows 7 without partitioning.

I. Creating The VHD

1. Press Windows key + R, and type in diskmgmt.msc
[Image: 1_zps84a1f38f.png]

2. It’ll take you to the Disk Management window. Navigate to Action > click Create VHD
[Image: 2_zpsfc0e536b.png]

3. At Location field click Browse > choose drive C:  > in file name field type Windows8 > click Save
At Virtual hard disk size field set the size not less than 20 GB.
At Virtual hard disk format: choose Fixed size > click OK to create VHD
[Image: 3_zpsf34fec71.png]

4. After creating, the new VHD now will appear in the list. Right click on the VHD > select Initialize Disk
[Image: 4_zps90af87ac.png]

5. Choose MBR (Master Boot Record) > click OK
[Image: 5_zpsac72d63a.png]

6. Right click on the VHD > select New Simple Volume
[Image: 6_zps84414318.png]

7. Click Next to go to the screen below then assigns VHD with a specific letter, on my computer, I chose H. You can choose any other letter depends on your demand and remember that choice.
[Image: 7_zps5ad21268.png]

8. Now you need to format the partition with NTFS file system. I also change the Volume label to Windows 8.
[Image: 8_zps32f18acc.png]

9. When it finished, you will have a new VHD like this
[Image: 9_zps96151823.png]

II. Download the script Install-WindowsImage

1. Go to MSDN to download the script
[Image: 10_zpsebc63704.png]

2. Click Agree and save the file to the disk C:
[Image: 11_zps6ee78421.png]

3. Navigate to C: drive > right click on the downloaded file > select Properties > click on the Unblock button.
[Image: 12_zpsd0b46048.png]

III. Installing Windows 8.1 on the VHD
1. Mount the ISO file of Windows 8.1 to a virtual drive. I use UltraISO Premium Edition to do that, if you want to have it, check out my post here.
[Image: 13_zps889ebd87.png]

2. Type in Start Menu search box “Windows Powershell” > right click on the Windows PowerShell > select Run as administrator.
[Image: 14_zps55d76ef9.png]

3. Type in “Set-ExecutionPolicy RemoteSigned”  > type “Y” and press enter to accept.
[Image: 15_zpsf5095eee.png]

4. Type “cd c:\” to turn to the root of the drive.
5. Then type  the following command: .\Install-WindowsImage.ps1 –WIM G:\Sources\Install.wim –Apply –Index 1 –Destination H:\
[Image: 16_zps3e415128.png]

Pay attention to the drive letter I highlighted.
Please replace them with the drive letter of the drive you mount the ISO image and the drive of VHD you created.
[Image: 17_zpsecca7cc5.png]

6. Then press Enter and wait some minutes for the progress to be done.
[Image: 18_zpsee5ce852.png]

7. Type in Start Menu search box “cmd” > right click on the cmd > select Run as administrator.
[Image: 19_zpsfbca455e.png]

8. Type “bcdboot.exe H:\Windows
Please replace the drive letter H: above with the drive letter of the VHD you created.
[Image: 20_zpsed98c0a7.png]

9. When it says “Boot files successfully created”, now restart your PC and enjoy dual boot Windows 8.1 on Windows 7 without creating a partition.
(This post was last modified: 10-17-2013 03:56 PM by messivj.)
Quote
RE: Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)
11-06-2013 - 07:12 PM
 Rohime
Junior Member

**




  • Posts: 1
  • Joined: Nov 2013
  • Reputation: 0
Hi Messivj,

In my case there is no \source\install.wim on my Windows 8.1 install disk. There is an install.esd, and according to some information I found that replaced install.wim, however it is encrypted and not really usable. Any alternatives you can suggest ?

- Ro.
Quote
RE: Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)
11-07-2013 - 12:54 AM
 messivj
TNTFer

****




  • Posts: 32
  • Joined: Sep 2013
  • Reputation: 9

Hi Rohime,

In your case, please follow this instruction:
I. Create the VHD as I showed you. Please note down the exact path and file name of the VHD you created.

II. Install Windows 8.1 to the VHD
Step 1: Insert your Windows 8.1 install disk into optical disc drive and restart your PC.

Step 2: Change in Bios or press a specific key to choose the option to boot from your optical disc drive.

Step 3: You will get to some Windows 8.1 setup screens. At the windows “Which type of installation do you want
Press Shift + F10 to open the Command Prompt window.

Step 4:
Type the following command then enter:
diskpart
At the DISKPART prompt, type the following command then enter. This command will instruct Diskpart to select your VHD file. In some cases, the drive that VDH is stored may be different letter depending on how many drives we have connected to the system.
select vdisk file=c:\windows8.vhd
If it says, “The system cannot find the path specified” then try D, E, and so on, until you locate the exact drive letter.
If it says, “DiskPart successfully selected the virtual disk file” then type the following command and enter:
attach vdisk
Type exit to leave the Diskpart then close the Command Prompt window.

Step 5: Choose “Custom: Install Windows only (advanced)

Step 6: At the next window, the Setup will ask to choose the location to which Windows 8.1 will be installed.
Select the VHD that you created and click Next button (just ignore the warning “Windows can’t be installed on this drive”)

The remaining installation steps should be easy for you.
When it finishes, you will have a start-up menu where you can enjoy dual boot Windows 8.1 on Windows 7 Big Grin
Quote
RE: Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)
12-18-2013 - 04:37 AM
 MrNitrous
Junior Member

**




  • Posts: 1
  • Joined: Dec 2013
  • Reputation: 0
To Meesivj

I subscribed here for one reson only..
To Thank you from the bootom of my heart..
Had tryed everything to dual boot win 7 and 8..with no luck..
I did exactly what you had wrote.
Followed your instruction.
PERFECT.........
You are a great tudor..
So once again..THANK YOU...تصویر: images/smilies/angel.gif
 
Quote
RE: Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)
05-12-2014 - 10:13 AM
 najeebics
Junior Member

**




  • Posts: 1
  • Joined: May 2014
  • Reputation: 0
Can i install windows 7 by this method?
 
Quote
RE: Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)
05-13-2014 - 02:37 AM
 messivj
TNTFer

****




  • Posts: 32
  • Joined: Sep 2013
  • Reputation: 9
(05-12-2014 10:13 AM)'najeebics' Wrote:  Can i install windows 7 by this method?
 
Yes, you can do this method by using Windows 7.



 
Quote
RE: Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)
06-06-2014 - 02:54 PM
 ranaisgod
Junior Member

**




  • Posts: 1
  • Joined: May 2014
  • Reputation: 0
hello sir... thnx for ur tutorial
but sir the file ps1 script is deleted from msdn.... can yor plz help me....
and also tell me i want to install windows 7 or ubntu on windows 8.1......will thi turial work????

 
Quote
RE: Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)
07-11-2014 - 05:56 AM
 sanjeevkumarshop@gmail.co
Junior Member

**




  • Posts: 3
  • Joined: Jul 2014
  • Reputation: 0
this is the new file location
http://gallery.technet.microsoft.com/scr...1-0fe23a8f


"Convert-WindowsImage.pa1"
 

 
Quote
RE: Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)
11-19-2014 - 04:10 AM
 ahmed_saber
Junior Member

**




  • Posts: 2
  • Joined: Nov 2014
  • Reputation: 0
my current os is win 7 32bit can i use this method to install win 8.164bit?
thx
 
Quote
RE: Dual boot Windows 8.1 on Windows 7 using Virtual Hard Disk (VHD)
11-20-2014 - 10:17 AM
 ahmed_saber
Junior Member

**




  • Posts: 2
  • Joined: Nov 2014
  • Reputation: 0
     

 
Quote


Forum Jump:


User(s) browsing this thread: 1 Guest(s)