300x250 AD TOP

Contact Form

Name

Email *

Message *

Recent Posts

Recent Posts

Subscribe Us

Powered by Blogger.

Popular Posts

Tuesday, December 16, 2014

Tagged under:

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

Image has been scaled down 51% (505x316). Click this bar to view original image (1024x640). Click image to open in new window.
[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 has been scaled down 24% (505x398). Click this bar to view original image (664x522). Click image to open in new window.
[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 has been scaled down 24% (505x399). Click this bar to view original image (663x523). Click image to open in new window.
[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 has been scaled down 25% (505x399). Click this bar to view original image (668x527). Click image to open in new window.
[Image: 4_zps90af87ac.png]

5. Choose MBR (Master Boot Record) > click OK
Image has been scaled down 24% (505x399). Click this bar to view original image (663x523). Click image to open in new window.
[Image: 5_zpsac72d63a.png]

6. Right click on the VHD > select New Simple Volume
Image has been scaled down 25% (505x401). Click this bar to view original image (665x528). Click image to open in new window.
[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 has been scaled down 24% (505x401). Click this bar to view original image (663x526). Click image to open in new window.
[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 has been scaled down 2% (505x393). Click this bar to view original image (513x399). Click image to open in new window.
[Image: 8_zps32f18acc.png]

9. When it finished, you will have a new VHD like this
Image has been scaled down 22% (505x337). Click this bar to view original image (647x431). Click image to open in new window.
[Image: 9_zps96151823.png]

II. Download the script Install-WindowsImage

1. Go to MSDN to download the script 
Image has been scaled down 21% (505x391). Click this bar to view original image (636x492). Click image to open in new window.
[Image: 10_zpsebc63704.png]

2. Click Agree and save the file to the disk C:
Image has been scaled down 24% (505x301). Click this bar to view original image (663x395). Click image to open in new window.
[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 has been scaled down 39% (505x144). Click this bar to view original image (826x235). Click image to open in new window.
[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 has been scaled down 28% (505x233). Click this bar to view original image (701x323). Click image to open in new window.
[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 has been scaled down 38% (505x201). Click this bar to view original image (813x323). Click image to open in new window.
[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 has been scaled down 48% (505x295). Click this bar to view original image (961x560). Click image to open in new window.
[Image: 17_zpsecca7cc5.png]

6. Then press Enter and wait some minutes for the progress to be done.
Image has been scaled down 38% (505x201). Click this bar to view original image (813x323). Click image to open in new window.
[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 has been scaled down 26% (505x256). Click this bar to view original image (677x342). Click image to open in new window.
[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.

 
Source 

0 comments:

Post a Comment