Jump to content

How to move my Win7 vhd and still boot to it?


Recommended Posts

Posted

Hi, I'm wondering how I could move my Windows 7 vhd to another location on my hard disk, then edit the boot menu to allow me to boot from it in its new location.

My Laptop runs Windows Vista Home Premium x64 on the hard disk and on the root of the drive is a Win7.vhd file that contains my Win 7 build 7100 x64 install.

Anyone have any ideas as to how I would go about editing the boot menu to point it to the Win7.vhd file in its new location?

Many Thanks in advance,

IrnBruKid


Posted

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

replace guid with the guid of your entry and change location to the new location of the file.

Posted

Thanks very much, this will help me alot as I needed to move the vhd file off the root of my C drive to stop my Home Server backing up the vhd file.

IrnBruKid

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...