Category: HowTo

short tutorials

How to … Make a bootable clone hard disk in Windows 7

Disclaimer  : it is a short story of the long story from http://onegeekwithalife.blogspot.com/2009/11/booting-from-cloned-vhd-in-win7.html 

Step 1 : Read http://onegeekwithalife.blogspot.com/2009/11/booting-from-cloned-vhd-in-win7.html  and confirm you have administrative rights to run programs.

Step 2 : Download tools

                          a) Disk2VHD from SysInternals, http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx

                          b) VHD Resizer, http://vmtoolkit.com/files/folders/converters/entry87.aspx

                          c) BcdVHD, http://disk2vhd.codeplex.com/ .

                         d) Original Windows 7 disc with bootsect.exe

Step 3 : Run Disk2VHD and create a vhd file

image

Step 4 : Attach the VHD  file in the DiskManagement, make online, delete raw volumes and shrink hard disk. Detach VHD.

Step 5: Run VHD Resizer with selected VHD.

image

Step 6: Run BcdVHD in order to add this VHD to the boot configuration.

image

Run bootsect on VHD as mentioned in http://onegeekwithalife.blogspot.com/2009/11/booting-from-cloned-vhd-in-win7.html 

Step 7: Restart and confirm you successfully boot. Run %SystemDrive% on vhd. Note the drive

Step 8: Attach the registry of the file as mentioned in http://onegeekwithalife.blogspot.com/2009/11/booting-from-cloned-vhd-in-win7.html 

Step 9 : Restart

Step 10: Congratulations, you have a full VHD system to boot that is running now!

How To … Put a new project on codeplex in 10 steps

Step 1 : Have a project, compile to binary(exe, dll or other)  and found a name for it ( for us is disk2vhd )

Step 2 : Goto www.codeplex.com , register(or sign in) , then click on “Create project” . There you will put the name of the project (disk2vhd for us) and a description for it. You will be redirected to the page of the project.

Step 3:  For putting the source code , you must download the Codeplex Client from http://www.codeplex.com/CodePlexClient  – click on download. Unzip the file , if necessary.

Step 4: (optional) put the folder cpc.exe in your path

Step 5 : Go to the project folder and run the following commands

                              cpc co <projectname> 

                              cpc add <folder name> /e

                              cpc add <file name>

                              cpc commit /m “<your comment>”

             Now verify that in the source code for your project on codeplex ( for me it is http://disk2vhd.codeplex.com/SourceControl/ListDownloadableCommits.aspx ) you have at least one change set.

Step 6: Ensure that the people that want to try your project can have the binary sources without problems .

Go to downloads , click new release (for me it was http://disk2vhd.codeplex.com/Release/ProjectReleases.aspx?Create=true ) and put the name and description.

Also put the development status , show to public and recomended release to stable, yes and yes.

image

Click Save.

Step 7 : Choose a license .

Step 8 : Edit the description of you project

Step 9 : Publish your project (see the link in the first line of the web page)

Step 10 : You’re done! Congratulations!

Andrei Ignat weekly software news(mostly .NET)

* indicates required

Please select all the ways you would like to hear from me:

You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.