Skip to main content

Questions tagged [vhd]

VHD is a file format which represents a "Virtual Hard Disk" drive.

Filter by
Sorted by
Tagged with
43 votes
7 answers
152k views

How to create VHD disk image from a Linux live system?

Once more, I have to resort at the experts here at SuperUser, as my other sources (mainly Google ;-)) didn't prove very helpful... So basically, I would like to create a VHD image of a physical disk ...
Federico's user avatar
  • 1,110
41 votes
2 answers
57k views

Powershell Resize-VHD is not recognized as the name of a cmdlet

I'm trying to use Resize-VHD cmdlet, but this results in the following error: PS> Resize-VHD -Path "C:\Container.vhd" -SizeBytes 20GB Error: Resize-VHD : The term 'Resize-VHD' is not ...
Codeguard's user avatar
  • 889
40 votes
6 answers
182k views

How to convert a VHDX file to VHD?

I made an image with disk2vhd and unfortunately I chose VHDX instead of VHD. I didn't see any information about what to choose. Anyway, now that file is all I have, the original PC is trashed. So I ...
Bjorn's user avatar
  • 501
36 votes
5 answers
82k views

How do I convert a VDI HDD to a VHD file?

Is there a way to convert a VDI HDD to a VHD?
IT_07's user avatar
  • 544
35 votes
7 answers
144k views

Copying a VHD to a physical disk

I've seen a lot of guides on how to do physical -> VHD, but is there any way to easily move a VHD image to a physical disk easily? Or should I just attach the disk and go to town with GNU DD?
Ana Betts's user avatar
  • 571
31 votes
7 answers
66k views

Can I boot Linux from a VHD?

Is there some way to boot a Linux system from a VHD in Windows 7? If there is a way, how do I put it there in the first place? EDIT: To clarify, I'm not trying to run Linux in a VM. I'm trying to ...
R. Martinho Fernandes's user avatar
26 votes
1 answer
59k views

VirtualBox FATAL: INT18: BOOT FAILURE

I have just took a back up of my windows PC, in the backup folder I can see a VHD file, I thought to run this with VirtualBox, but I the boot failure message. I suspect there is not boot information ...
Vijay Bobba's user avatar
20 votes
3 answers
110k views

DiskToVhd generated VHD is not bootable

I had windows 10 laptop, I used disk2VHD to convert disk into VHD. Now I am trying to mount it to virtual box on another machine, but it seems be not booting. I used windows 10 ISO and through CMD I ...
Developer's user avatar
  • 303
19 votes
4 answers
57k views

How do I convert an .img file to vhd?

I have an image file (linux based image) and want to convert it to VHD so that it can be used to create hyper-V VMs. I used "qemu-img convert" to convert raw to vpc format, but vpc doesnt work for ...
user1060517's user avatar
19 votes
4 answers
47k views

How to complete restore using just a VHDX file?

Let me please explain the scenario what I went through. I have a Transcend SSD which I use to boot my PC which I upgraded from Windows 8 to Windows 8.1. I have two other hard disk drives (one tera ...
Pankaj Nikam's user avatar
17 votes
7 answers
24k views

Cannot boot after vhd hard drive is resized in VirtualBox

In Windows 7, I set up another Windows 7 VM in VirtualBox. It worked great. Then, I needed to increase the vhd HD size. So, I used VBoxManage utility to do that with the following comment: VBoxManage ...
tugberk's user avatar
  • 411
17 votes
3 answers
29k views

Possible to dual boot *and* virtualize same physical drive containing Windows 10?

I use Linux as my daily driver, and have just installed Windows 10 to a new physical disk in my PC for dual booting. For a while, I've used Windows 7 through a VirtualBox image I have mounted over ...
Chris Tonkinson's user avatar
13 votes
2 answers
31k views

Is there a tool to convert VHD images to VDI images?

I saw the response for converting VDI images into VHD images, but I want to do the opposite conversion - is there a tool to do this?
oz10's user avatar
  • 362
12 votes
2 answers
34k views

Converting VHD image to RAW format

I need to convert a VHD file (Hyper-V VM) to the Linux raw format. Is there a tool which can do this which is graphical?
GurdeepS's user avatar
  • 733
12 votes
2 answers
2k views

How would I do a VHD install of Windows 8 from Windows 7

I'm currently waiting on my shiny new system to run Windows 8 on. I have an older system that has Windows 7 installed now on which I'd like to try Windows 8 on in the meanwhile. I intend to use the ...
Journeyman Geek's user avatar
  • 130k
10 votes
3 answers
18k views

How to unmount a VHD via command line in Windows 10

I need to unmount a VHD with a batch script in Windows 10. The only solution I found online was directed at Windows 7 and involved Diskpart. Are there any other native Windows command line tools ...
Zerobinary99's user avatar
  • 1,781
10 votes
4 answers
30k views

Mount a VHD (VirtualBox) in OSX

How can I mount a VHD (created in VirtualBox) of a Ubuntu Server install on my Max OSX (Mountain Lion) and allow it to be found in Finder (so I can select a folder and view it's contents). If it ...
Nicholas Yost's user avatar
9 votes
2 answers
12k views

Compact a VHD file created by Disk Management?

My computer is running on Windows 7 64-bit. I used Disk Management to create a new VHD file and made it into a new virtual drive. The size of the disk is 8GB. After using about 3GB, I decided to ...
Teiv's user avatar
  • 1,019
9 votes
4 answers
18k views

Virtualbox, merging snapshots and base disk

I have a virtual machine with about 30 snapshots in branches. The current development path is 22 snapshots plus the base disk. The amount of files is seemingly having an impact now on IO and the dev ...
krembanan's user avatar
  • 193
9 votes
4 answers
4k views

Does SSD TRIM work with a 'Boot from VHD' scenario?

I have recently purchased an Intel X-25 G2 SSD (160GB) as an extra drive for my laptop. I created a fixed size disk virtual disk (40GB) and have installed Windows Server 2008 R2 onto this VHD. I now '...
user avatar
9 votes
1 answer
15k views

How to reclaim the space used by WSL2's ext4.vhdx

After the release of the latest WSL2, I found it doesn't support GPU access, so I uninstalled the Ubuntu Distro and WSL2, but it leaves the following file behind which is over 7GB: %LocalAppData%\...
Franva's user avatar
  • 371
8 votes
1 answer
5k views

File-based dynamically-allocated hard-disk on Linux

I can create a regular file on an existing file-system (say, ext4), make it into a block device (via losetup), and format it with an ext4 file-system of its own. But the above hard-disk is of a fixed ...
Harry's user avatar
  • 851
8 votes
2 answers
3k views

Windows 7 Boot to VHD using a VHD clone of the system drive

This seems like a not too difficult problem, and, after several hurdles, I'm maddeningly close. But I can't quite get there. I'm running Windows 7 in development shop. I want to start using VS2010 to ...
daveh551's user avatar
  • 831
7 votes
1 answer
2k views

Can't attach VHD

I think I may be experiencing that horrible moment when the backup fails. Somewhere hiding on this VHD is an SQL database I need to extract. This is from a Windows backup, not a virtual machine. I'm ...
rtf's user avatar
  • 12.8k
7 votes
1 answer
3k views

Boot from a VHD created by VirtualBox

I have used VirtualBox to create a VM, and installed the latest Windows 8 Consumer Preview on it. I have a .VHD file with the OS installed. I am wondering, since Windows 7 supports boot from a VHD ...
liortal's user avatar
  • 293
7 votes
2 answers
15k views

Is it possible to boot a Windows VHD using GRUB on a physical machine?

Is it possible to boot Windows from a VHD file which is stored on a Linux partition? I don't want to run Windows under VirtualBox. Linux is the only OS on the hard drive, and Windows should only ...
klkkzm's user avatar
  • 71
7 votes
1 answer
9k views

Can I copy from VHD to physical disk to replace my host OS? [duplicate]

Possible Duplicate: Copying a VHD to a physical disk I am planning to upgrade from a 32 bit os (Vista) to 64 bit (7). As there is no straight upgrade path, and I do not want to spend an entire ...
GurdeepS's user avatar
  • 733
6 votes
1 answer
26k views

“Mouse Not Captured In Remote Desktop Sesion” in Hyper-V

I was used Disk2vhd to convert OS (Windows XP) into vhdx format and use Hyper-V Manager to run it as a virtual machine. I had inserted integration services already and restart the VM, but "Mouse Not ...
HamJinBeng's user avatar
6 votes
2 answers
2k views

How can I test a restore from a Windows 7 backup?

I've set up backups for my PC using Windows 7's built in scheduled backup feature that backs up to a NAS I purchased. All seems to be going well but I can't sleep well until I'm sure my backups will ...
Mark McDonald's user avatar
5 votes
1 answer
20k views

Convert .vhd to .img on windows?

I have a .vhd virtual hard disk. I need to convert it to .img disk image. How can I do it? I have Windows 7 and VirtualBox at my disposal, can those tools help?
Tomáš Zato's user avatar
  • 4,524
5 votes
2 answers
14k views

How to Copy .VHD File to Physical Hard Disk Using DD Command

I have read other question/answers on this site that say this is possible, but I'm wondering how it is done. I have tried the following command, which completes successfully, but the NTFS isn't valid ...
Jason's user avatar
  • 51
5 votes
2 answers
675 views

Dual booting from Windows 7 hard disk and a Windows 7 VHD file

I have Windows 7 Enterprise edition installed on my laptop on the real physical hard disk. Now I want to create a vhd partition on the c:\ root directory and be able to dual boot into my real machine ...
senf's user avatar
  • 177
5 votes
1 answer
8k views

Is it possible/How to boot an XP VHD in Windows 7

In windows 7 it is pretty simple to boot directly to a VHD, given that it also contains (or you are going to install) Windows 7 (or Vista/Server 2008). This installation is made possible I believe by ...
jvanderh's user avatar
  • 592
5 votes
1 answer
2k views

Internally mark VHD file as read only so that it will never be mounted with write permissions

I am distributing some VHD files that I would like the receiver to be able to mount and view the contents of, however I would like the checksum of the VHD file to remain the same after the receiver ...
Tristan's user avatar
  • 53
5 votes
2 answers
6k views

Getting Windows 8 System Image Recovery to recognize my backup

I have a bad feeling about Windows 8 backup already. I sure hope I'm just being plain dumb and somebody can enlighten me. Short story: Windows 8 System Image Recovery does not find my system image. I ...
devdoc's user avatar
  • 51
4 votes
2 answers
3k views

If I have a .vhd file, can it be used by Virtual PC 2007, VirtualBox, and Windows 7's Virtual PC?

If I have a .vhd file, can it be used by Virtual PC 2007, VirtualBox (open source), and Windows 7's Virtual PC (the newest Virtual PC)? Can you even run Virtual PC 2007 on a .vhd file, and then shut ...
nonopolarity's user avatar
  • 9,696
4 votes
1 answer
530 views

How should I back-up my data before a windows re-install? Omitted files when copying C drive

I wonder how to make sure I backed up all files before whiping out C and re-install Windows (factory reset). I have taken best of care to copy my documents, photos etc. to an external drive. However ...
tomka's user avatar
  • 467
4 votes
1 answer
4k views

How to make a 3TB virtual drive for virtualbox?

I need to make a large virtual drive for virtual box at 3TB, however, the max size in virtual box appears to be 2TB. How can i make a 3TB virtual disk/drive? thanks.
Daniel's user avatar
  • 577
4 votes
1 answer
5k views

Is it possible to mount Windows Azure VHD disk to my local machine

I have a storage account on windows azure and I need to use one of my cloud VHD disk on my local machine. I know that it is possible to download whole image but I have no need of this. I am planing to ...
Anton Semenov's user avatar
4 votes
2 answers
4k views

How can a consistent drive letter be assigned when mounting a VHD?

I have several VHDs residing locally, that I only mount one at a time and assign to one drive letter. How can the drive letter be automatically assigned to these upon mounting, so that I don't have ...
Aaron Thomas's user avatar
4 votes
2 answers
12k views

Multiple VM's one VHD

Is there a way to mount one VHD (or other disk image alike) between multiple Virtual Machines. I don't mean OS Image, just like a shared disk drive. I know I can have a file-server smb like share. ...
maxfridbe's user avatar
  • 437
4 votes
1 answer
271 views

Copying Windows 7 host to VHD

I've installed Windows 7 Ultimate and it is set to take up the entire drive, I'm also planning on storing the VHD files on this drive. Is there a way I can convert the host Windows 7 to a VHD file ...
R4D4's user avatar
  • 770
4 votes
1 answer
241 views

How does one test a Windows Complete PC Backup?

Is there any way to test or verify the state of a Windows Complete PC backup, short of actually restoring it to the same machine? (At the very least, I want to be able to verify that the file system ...
kpozin's user avatar
  • 1,708
4 votes
1 answer
726 views

Windows 8 freezing on a VHD on a MacBookPro

I've installed Windows 8 on a 2010 MacBook Pro using the Hanselman's method (VHD on native boot). Everything goes fine until it suddenly freezes and I must reboot. I have no log to see and no error to ...
rlbisbe's user avatar
  • 165
4 votes
4 answers
8k views

Can I open a Disk2vhd created VHD file with 7-zip?

I've created a VHD file of my C: drive, for backup purposes, using Disk2vhd 1.0. When I try opening the file using 7-Zip 4.65 (to view the contents) I get the error: "Can not open the file XXX as an ...
Tom Robinson's user avatar
  • 2,460
4 votes
2 answers
2k views

Hide partition with VHD file during specialize or OOBE pass

I am creating a system based on VHD. The partition is like this: +----------+-----------+ | VHD file | User Data | +----------+-----------+   | +------------+ | SYSTEM | +------------+ The ...
lesca's user avatar
  • 233
4 votes
3 answers
4k views

Impossible to read a VHD file

I've been given a job: open a XXXX.vhd file and extract datas from an SQL folder. The problem is that I've tried this: install "WMWare" then open it. "File unknown" as a result. install "Oracle VM ...
Olivier Pons's user avatar
4 votes
0 answers
812 views

Is it possible to install Windows 10 on VHD with WIMBoot enabled?

I want to install the Windows 10 preview in my machine. I used preview versions of Windows 8, which was installed in VHD. But in my new machine, the SSD storage is limited. I cannot afford a ~20GB VHD ...
Gulshan's user avatar
  • 829
4 votes
0 answers
1k views

Restore VHD image in a specific partition

I'm having a similar issue described in this post. I have a Windows 7 VHD image and want to restore it, but I cannot let Windows Restore format the whole HD and destroy other partitions. I don't want ...
Roberto's user avatar
  • 283
3 votes
4 answers
17k views

Use bootable vhd with Virtualbox

I want to create a bootable Windows 7 vhd using the steps mentioned at: http://www.microsoft.com/downloads/details.aspx?FamilyID=80ede31d-3509-407b-a896-0beea8705589&displaylang=en However, I ...
0fnt's user avatar
  • 1,941

1
2 3 4 5 6