I created WinPE 3.0 and didn't modify it in any way. I want to attach a vdisk (.vhd file) while running WinPE but I can't attach it, no error is shown, no indication that diskpart didn't attach it, it just doesn't happen.

These are the steps that I followed:

  • WinPE booted
  • (i typed the following)
  • diskpart
  • select vdisk file=e:\myfile.vhd
  • attach vdisk

The only thing that happens is the help is shown.

The file is in place, I checked a couple of times, diskpart doesn't give anything useful.

link|improve this question
Does list vol inside diskpart show the virtual disk? – Marve Aug 30 '11 at 17:49
feedback

1 Answer

You need to assign as well in diskpart otherwise it will be mounted but not have a drive letter.

http://blogs.msdn.com/b/7/archive/2009/10/08/diskpart-exe-and-managing-virtual-hard-disks-vhds-in-windows-7.aspx

link|improve this answer
i know that i need to assign it, but when i type "select vdisk" it doesn't say an error or drive selected it prints out the help for select (like i typed "select /?"), when i type attach vdisk the same typing it prints out the help without any error... – Luka Kusulja Sep 1 '11 at 8:51
I was able to succesfully do it with the commands listed above. However, I had to move the VHD to a local fixed disk otherwise I was getting "requested operation could not be completed due to a file system limitation" Try moving the vhd to a fixed disk location and if it works there, start trying other places. – nate Sep 1 '11 at 13:16
Did you get it to work? – nate Sep 2 '11 at 22:05
feedback

Your Answer

 
or
required, but never shown

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