Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to create a new Windows 7 Professional VHD which I can dual boot to, following Scott Hanselman's guide to creating a bootable VHD.

When I get to the command prompt in the Windows 7 installation and try to create a VHD or select/attach a pre-created VHD file I get an error saying that diskpart can't find the path specified.

If I try and switch to the c drive using cd c: I see

c:\
x:\something\> 

I already have a Windows 7 Ultimate install and my C drive is an SSD – if that makes a difference.

share|improve this question

3 Answers 3

The command cd c: just shows the current directory in the C drive.

To change to the C drive, use either of the following commands:

cd /d c:

c:
share|improve this answer

You don't change drives with CD, that's for Changing Directories.

To switch to another drive you just type C: (for example) and hit enter. Or if you really want to use CD to switch directories AND drive you can use CD /D C:\.

Also, if doing it one of these ways still doesn't work, ensure you have the driver loaded for you controller (AHCI, RAID or whatnot) so that setup can see the drive.

share|improve this answer
    
Got to the c drive but I can't see any files or folders, how do I load the drivers for the drive? –  theouteredge Jun 24 '12 at 21:08
up vote 3 down vote accepted

OK, figured this out. After going to back into the windows installer and trying to load the drivers for my ssd I noticed that my c drive is actually showing up as the d drive in the windows install and the c drive was showing as a system reserved/recovery drive. A little random...

Also worth noting that you can't actually boot win7 pro from a vhd, what IT pro would want to do that? Its only available for ultimate and enterprise versions.

share|improve this answer
    
My drive letter was identified at the top of the "options" list that included Command Prompt. –  Shrout1 Dec 2 '13 at 16:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.