Questions tagged [vhd]

193 questions
2
votes
1 answer

Creating an Azure VM from VHD failed "is not a valid resource reference"

I am trying to deploy virtual smart zone to Azure via Terraform, but could not succeed many times. Also I read the article existing here. Could you please give me an advice and fix it? Thank you so much. Here are the details: Terraform…
tien
  • 65
  • 4
2
votes
1 answer

Creating VHD using Microsoft's Systernals Disk2VHD program of production box

I created a VHD file of our small production server (hosting internal web pages for the company). I'd like to set up the VHD up as a dev server so that it'll be a mirror of the production system and I know the two environments are the same. It'll be…
HPWD
  • 127
  • 7
2
votes
1 answer

failed to create the virtual hard disk hyper-v

I have 4 hyper-v servers running windows server 2012 R2 that they are in a cluster. I want to create a new virtual machine but i get an error that "failed to create the virtual hard disk",right after i click on finish the virtual machine is created…
t.khatibi
  • 21
  • 1
  • 2
2
votes
1 answer

Compact a VHD on a linux host

On a Linux host (Linux Mint 18), how can I compact a VHD file ? So far my search always returns solutions with Hyper-V or situations with a Linux guest on a Windows host, but have the inverse: a Windows guest running with VirtualBox on a Linux…
P_W999
  • 281
  • 1
  • 10
2
votes
1 answer

How to inject a file into a Linux VM running on Hyper-V?

I am trying to create a CentOS image template and my environment requires me to add a route file to the networking which would be different on each deployment. Is there any way for me to inject a file from a Hyper-V host to a ext4 formatted Linux…
Bilbo Bongo
  • 99
  • 1
  • 8
2
votes
1 answer

Windows server backup ulitity - cannot restore data

Seems to be a common problem with Windows Server Backup Utility. This is a Server 2008 Standard box. We had a backup that was performed about a year ago that we need to restore. I was able to pull the Windows Server Backup data off of the hard…
jdids
  • 121
  • 3
2
votes
1 answer

Error creating a Linux image/VM for upload to Azure due to incorrect correct size

I saw a similar thread on this, but doing the exact steps in that thread, does not work for me. I want to upload a Linux image (which is qcow2) after converting to VHD image, to Azure. I converted the qcow2 image to raw: qemu-img convert -f qcow2 -O…
Anjali
  • 21
  • 1
2
votes
1 answer

Create a new VHD and mount it without DiskManagement window popup with Powershell

How can I create and mount a new VHDX volume without a drive letter assigned? On some servers I get the behaviour described below, on others it works like it should. So there must be a system setting which affect this behaviour besides AutoMount. I…
alex.enjoy
  • 121
  • 2
2
votes
2 answers

WIM2VHD failing with "Cannot derive Volume GUID from mount point."

I'm trying to use WIM2VHD according to the instructions on Scott Hanselman's blog post to create a Sysprepped VHD image to boot from. I've installed the WAIK, and I have my Windows 7 sources mounted as a virtual drive. When I try to run WIM2VHD like…
Jacob
  • 121
  • 3
2
votes
2 answers

What good is a VHD backup if you can't boot the Machine in Virtual PC?

I've read that you cannot boot from the VHD backups that Vista Ultimate / Server 2008 creates. However you can mount them with vhdmount. So if you can't boot it then what good is the VHD backup over a regular compressed file backup and system…
Martin Murphy
  • 190
  • 1
  • 9
2
votes
1 answer

XenServer VHD data recovery

I have the exported disk image of a VM from XenCenter in VHD format. I used compress from the settings, if that has any impact. How I can access the files without creating VM? I have the VM settings as well the disk. Fdisk can read the image but it…
user715517
  • 23
  • 4
2
votes
1 answer

Disk2VHD scheduled backup script

I'm using such simple backup script using Disk2VHD. I would like to change it a little bit so it would check the C disk drive usage and compare it with F drive, so old images would be only removed if there is not enough free disk space on…
Marek Zakrzewski
  • 163
  • 1
  • 2
  • 11
2
votes
2 answers

How to deploy VHD image to physical disk?

I'm trying to take a VHD containing a generalized Windows install from azure and deploy the image to a physical disk on one of our servers. What's the best way to go about doing this? Can I use ImageX to handle this sort of scenario? I know that…
Aleks
  • 21
  • 1
  • 2
2
votes
2 answers

VHD Boot failure in Hyper-V (Win7 boot from vhd)

I've have a virtual machine with a VHD image that I've copied from Windows 7 to the Hyper-V server. This image was created on Windows 7 (Windows 7 64-bit), and I'm using it on Windows 7 as boot image. Starting this virtual machine with the Hyper-V…
user22203
2
votes
0 answers

qemu-img VHD to raw image convert results in bad geometry:

Is anyone else able to reproduce this? Using StarWind V2V Image Converter on Windows, I'm able to get a valid disk.img file, so the source image.vhd is clean (pulled down from rackspace). Is this a qemu-img bug under RHEL/CentOS 7? ... any…
rickatech
  • 141
  • 8