Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Reply
 
LinkBack Thread Tools Display Modes
Old 29-12-2011, 03:28 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2011
Posts: 19
Default NAtive vhd boot in Windows 7


Here We will create a vhd(Virtual hard disk) and boot it in windows 7.
This a good way to virtualise your testing environment having native support for hardware i.e full acceleration from your cpu and gpu and also no complex partitioning.
Or you can just try out Windows 8 without having to install it in a virtual machine.I myself use it keep a 32 bit windows 7 environment.
There are many articles out there but most of them have some use of command line.
Here we will completely avoid command line.

Windows editions which can be booted off vhd
*Windows 7 Ultimate and Enterprise(32 and 64 bit)
*Windows Server 2008(both)
*Windows 8 Developer Preview(both)



Tools:
1.GImageX:Needed to apply windows image to vhd(Download GImageX 2.0.17 Free - A graphical user interface for the ImageX tool from the Windows Automated Installation Kit - Softpedia)

2.EasyBCD:To edit windows bootloader(Download EasyBCD 2.1.2.156 Free - A handy tool for tweaking your system - Softpedia)



Step 1:Creating and attaching vhd

(i)Right click my computer and select MANAGE.
(ii)In the left Pane Click Disk Management.
(iii)Click Action on menu bar and select 'create vhd'.
(iv)Browse to the folder where you want to save your VHD.For this tutorial I am assuming D:\Seven.vhd to be the vhd.
(v)Select virtual hard disk size of choice.For Windows 7 I recommend 15-20 GiB.
(vi)Select Dyamically Expanding or Fixed size.I prefer Dynamically expanding.Be sure If u select Dynamically expanding
then the drive in which your vhd resides has free space greater than the size of your vhd.
(vii)Click OK.
(viii)It will be automatically attached.You will see a new disk with black border.It is offline right now.
Right click on left where it has its name something like Disk1 or Disk2.Then select initialise.Its online now.

(ix)Right Click under black border and select 'New Simple Volume'.Click Next on the new Window.Select partion size.
If you are not into much partitioning leave the field as it is.Click next.Assign a drive letter.I will assume it to be G:\.Click next.
(x)Select 'Format this Volume'.Leave the file system and allocation size as they are.Give it volume label as per your choice.Click next.
(xi)Click Finish

Now you will see a new disk in your my computer whose letter is G: or whatever letter you assigned in step (ix).

Step 1 is finished.


Step 2:Applying Windows image

(i)Get GImageX from the link given.Extract it.

(ii)If you have dvd of the windows edition you want to boot, insert it now.If you have iso image mount it.Considering you have mounted
your dvd or iso on F:\.
(iii)Navigate to where you extracted GImageX.Go to \install\x86 or \install\x64 according to which windows version you are using right now.
(iv)Launch GImageX.exe.Select 'apply' tab.
(v)In the source field browse to F:\sources\install.wim
(vi)In the destination browse to G:\
(vii)If your dvd or iso has multiple edition of windows,then click on 'Select'.Make sure you select the image which is supported for booting.Now Click Apply.

Wait for it to finish.
Step 2 complete.


Step 3:Editing Windows bootloader for new entry

(i)Get EasyBCD from link given.install it and launch it.
(ii)Click 'Add New Entry'.Under 'Portable/External Media' select 'Virtual Disk'.Give any name in the 'Name' field.
(iii)In Path browse to your vhd.In my case D:\Seven.vhd.Click 'Add Entry'.


Step 3 done.



Reboot your PC.You will now get two options to boot.First one is Your current Windows Installation.
Second one is VHD installation.Select second one and press enter.Windows will now configure your installation.
Enjoy.
kisame is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 29-12-2011, 03:56 PM   #2 (permalink)
Alpha Geek
 
CA50's Avatar
 
Join Date: May 2007
Location: GraveYard
Posts: 918
Default Re: NAtive vhd boot in Windows 7

Very nice tutorial

Will try it right away
__________________
| A Bit IP35-Pro | E8400 | GTS250 | Gskill 2x2GB | 1.9 TB | CM EP+ 460W | 2x DVD-RW|
| Win XP x86 | Win 7 Ult x86 | LinuxMint |
| Nokia 2700c |
CA50 is offline   Reply With Quote
Old 29-12-2011, 04:58 PM   #3 (permalink)
In The Zone
 
reniarahim1's Avatar
 
Join Date: Jan 2008
Location: Bangalore(KA) / Cochin(KL) , IND
Posts: 207
Default Re: NAtive vhd boot in Windows 7

wow!! nice one...i need to try this.
__________________
Dell Studio 1555 - Intel Core 2 Duo P8600 @ 2.40 GHz, 3 GB RAM, 500 GB HDD, ATI Mobility Radeon HD 4500 | PC - Intel Pentium 4 1.7 Ghz:wink:, 1 GB RAM, 160 GB HDD, Mercury 845 GL NDSMX | Samsung Galaxy S Plus - 1.4 Ghz, 512 MB RAM, 16 GB Internal, 8 GB SD
reniarahim1 is offline   Reply With Quote
Old 29-12-2011, 05:03 PM   #4 (permalink)
Alpha Geek
 
CA50's Avatar
 
Join Date: May 2007
Location: GraveYard
Posts: 918
Default Re: NAtive vhd boot in Windows 7

I tried it worked properly, but later the output video resolution was higher and my monitor didn't support it (CRT)
__________________
| A Bit IP35-Pro | E8400 | GTS250 | Gskill 2x2GB | 1.9 TB | CM EP+ 460W | 2x DVD-RW|
| Win XP x86 | Win 7 Ult x86 | LinuxMint |
| Nokia 2700c |
CA50 is offline   Reply With Quote
Old 22-01-2012, 11:44 PM   #5 (permalink)
Right Off the Assembly Line
 
Join Date: Jan 2012
Posts: 2
Default Re: NAtive vhd boot in Windows 7

Worked great, thanks!
Mieky is offline   Reply With Quote
Old 25-01-2012, 01:07 AM   #6 (permalink)
@ndroholic
 
pramudit's Avatar
 
Join Date: Dec 2011
Location: Jhansi
Posts: 530
Default Re: NAtive vhd boot in Windows 7

how to revert back the booting menu...?
__________________
Intel Core 2 Quad Q8400 |Asus EAH4350 HD @ 720/480 (its summer time) | WD blue 500gb | Intel DG41RQ | 2gb DDR2 | HP DVD-RW | Creative 2.1 | SAMATRON 55V |
Samsung Galaxy Y
Garena id- pramudit
My coil Gun
pramudit is offline   Reply With Quote
Old 30-01-2012, 12:43 AM   #7 (permalink)
Right Off the Assembly Line
 
Join Date: Jan 2012
Posts: 2
Default Re: NAtive vhd boot in Windows 7

Very easy to do that: you just run the EasyBCD program again.

There should be two entries for the bootup, something like this:

Windows 7 VHD

Windows 7

...I would just delete the VHD entry which should have been created by you.

All done!

ps- By the way, it's probably a good idea to backup the settings before you do any deleting...from the same EasyBCD program, there is a button called "Backup Settings"...if I read and understood the EasyBCD wiki correctly, that would let you save your current settings to rollback if you need to.
Mieky is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Who
- by Krow
- by clmlbx
- by Tech&ME
- by icebags

Advertisement




All times are GMT +5.5. The time now is 08:56 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2