Home > Virtualization > Adding a boot vhd to the Windows 7 boot menu

Adding a boot vhd to the Windows 7 boot menu

I had to recently restore my machine and my boot table got messed up.  So I needed to add the VHDs back to the boot table.  This is just a little note to myself to remember should I need to do it again.

1. Copy default entry to create a new entry with a new GUID.

bcdedit /copy {default} /d "SharePoint Server 2007"

2. Set the new entry to the vhd and set as bootable.

bcdedit /set {guid} device vhd=[locate]\vhd\sharepoint2007.vhd

bcdedit /set {guid} osdevice vhd=[locate]\vhd\sharepoint2007.vhd

Advertisements
Categories: Virtualization Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: