Thursday, April 29, 2010

Creating entry to boot menu

Microsoft has provided lot of new VHD's to evaluate the latest and greatest products. But most of these products have requirements like 8 GB etc which is very hard to have on normal desktops.

Microsoft does provide a brand new feature, boot from VHD. Basically idea is that you download the VHD from Microsoft website and then you can enable a dual-boot kind of option from this VHD file. System will prompt you to boot regularly or from the new VHD.

1. Download the VHD to a physical location , in my case d:\ALL_VMS\downloadedvm.vhd
2. Run the following command on the HOST System.
3. Reboot to see the new optionCode:

To check the existing boot menu list entries

bcdedit /v

Creating a new entry into boot list , this will output a guid which can be used for updation and deletion

bcdedit /copy {current} /d "New VHD Description"

Updating details of new boot menu list entry

bcdedit /set {guid} device vhd=[d:]\all_vms\downloadedvm.vhd
bcdedit /set {guid} osdevice vhd=[d:]\all_vms\downloadedvm.vhd
bcdedit /set {guid} detecthal on

Re validating the boot menu list enteries

bcdedit /v

To delete entry from Boot menu list

bcdedit /delete {guid} /cleanup

Boot Configuration Data Editor ,
Aviraj - Part 1 , Aviraj - Part 2