Questions tagged [vhdx]
The vhdx tag has no usage guidance.
44
questions
9
votes
1
answer
14k
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%\...
5
votes
1
answer
16k
views
Create WSL2 instance from VHDX
I copied the VHDX file (called ext4.vhdx as usual) for a WSL2 instance to a new machine. How can I use this for a new WSL2 instance?
5
votes
1
answer
1k
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 ...
5
votes
1
answer
4k
views
How to change the maximum size of the disk image of my WSL2 distro?
It seems that WSL stores the filesystem data in a vhdx file. Ubuntu sees this as a 250GB disk, which is a bit much for my purposes. I want to resize this to a 30GB disk or so, to save disk space on ...
4
votes
1
answer
6k
views
How to properly compact Hyper-V dynamic sized VHDX files for Linux VMs?
I have installed Ubuntu 18.04 LTS on a Hyper-V VM, everything was fine until I noticed that the VHDX file takes up unusually enormous amount of disk space. From within the VM, you can see that the ...
2
votes
1
answer
561
views
Creating .vhdx file in Windows Server 2008
I am trying to create a backup of a Windows Server 2008 machine. I know that support for vhdx came in Windows Server 2012 and later, and also that Windows Server 2008 and prior cannot recover from a ....
2
votes
1
answer
19k
views
Convert Hyper-V vhdx to iso
If it's possible to convert a linux Hyper-V guest VM to an *.iso file, then I can create boot able usb from this image file. By google I found following tools:
vhd2iso
qemu-img
convert-vhd
Can ...
2
votes
1
answer
255
views
Recover formatted virtual drive with filesystem changed
Here's an interesting problem and predicament that I'm currently in.
I have a 239 GB large VHDX, originally formatted as NTFS. It contains a lot of important files, including proprietary code, game ...
2
votes
1
answer
249
views
Using two VHDX as one volume
Hi!
I wonder if I could use two VHDXs in Hyper-V as one volume. I mean, there are two VHDXs. One for the system and softwares, and another one for storing data. I'd like to boot from the VHDX1 but ...
2
votes
0
answers
764
views
Reclaim space of pruned images docker WSL
On my Windows 11 machine, I am running several containers formed from images that are updated regularly. I've connected the docker engine with WSL because that's where the images are built.
I noticed ...
2
votes
1
answer
3k
views
Why can't I shrink a virtual disk in Hyper-V
I have a virtual machine running Ubuntu 12.04 which I created using Hyper-V in a Windows 8.1 host. At one point, I had a very large file in my virtual machine which caused my dynamically expanding ...
2
votes
1
answer
1k
views
ubuntu wont start, vhdx file or virtual machine issue
I had a functioning verison of ubuntu running on windows 11 (using ubuntu on windows 11 app) but just followed some instructions to attach its vhdx file via disk management (I wanted to see inside). ...
1
vote
1
answer
734
views
How to run Diskpart from command line
My system: Windows 11 64 bit with all updates to date.
I have a VHD on my hard drive. If i go into Disk Management i can click Action > Attach > Select File and i see a mapped drive.
I now turn ...
1
vote
0
answers
95
views
Why does a new VHDX remain mounted after rebooting - and how can I restore that behaviour after dismounting it once?
I noticed every time after I created a new VHDX (usually Dev Drive) under Windows 11 (23H2) it stays mounted after rebooting.
That is, until I dismount that VHDX once.
Even re-mounting it afterwards ...
1
vote
0
answers
377
views
Why Storage Spaces does not see the disk in the pool changed its size?
I created a storage spaces pool on top of a VHDX file. Everything works fine, until I attempt to set new maximum to the VHDX file. In that case Storage Spaces can't see the updated size (and therefore ...
1
vote
1
answer
3k
views
Error when attempting to create WSL2 from backed up ext4.vhdx file
I've tried the steps here for using a ext4.vhdx file to create a new WSL2 instance, but I'm running into a problem.
The referenced answer:
Set up WSL, as usual. Make sure you do the wsl --set-...
1
vote
0
answers
2k
views
Is it possible to load a VHDX virtual drive so it's seen as a removeable drive by windows?
I'm wanting to synchronise a "virtual USB drive" between computers.
Reason is, the software I use for lighting, GrandMA2 onpc, is based around the concept of a lighting console with an ...
1
vote
2
answers
12k
views
Can not mount VHDX file
I did a Image Backup of a Windows 10 PC (using the builtin disk image backup feature, called the Windows 7 backup, with system image).
Later I tried to mount the resulting VHDX file, to access some ...
1
vote
0
answers
45
views
I installed Win10 Pro in a vhdx with BitLocker encrypted, how to upgrade OS?
With Windows Update, but it show I can't upgrade, because my C: is encrypted with BitLocker.
Anyother method to upgrade OS?
1
vote
2
answers
2k
views
Cannot delete folder because it's not empty
I was trying to clean up the SoftwareDistribution folder on a virtualized server after some botched updates. Long story short - I now have a folder which seems to be empty but which I can't remove. ...
0
votes
1
answer
632
views
VHD file size is less than the size of its contents
I have made a dynamic VHD file with Windows Disk Management, and populated it by copying a folder on my main disk into the VHD volume.
When I view the properties of the mounted virtual disk in ...
0
votes
2
answers
2k
views
How to shrink a VHDx file by the unallocated partition space that it contains
I have a dynamic VHDX file/virtual hard drive that contains 3 partitions and 30GB of unallocated space.
How can I shrink the VHDX file/virtual hard drive by getting rid of that unallocated space ...
0
votes
1
answer
29
views
Hyper-V client - drive periodically unwritable
I have an odd situation. A file server that has been in place for about 10 months suddenly has a drive that is periodically unwritable.
Host
Dell Poweredge R420
Server 2012 R2
32 GB RAM
Xeon(R) ...
0
votes
1
answer
1k
views
Migrating vmdk to vhdx with 2 internal drives and unable to boot in Hyper-V
I'm migrating from VMWare Workstation to Hyper-V. I have a specific VM that it has a single VMDK file with 2 distinct drives inside it, and I've been unable to get it to boot. I converted the VMDK ...
0
votes
1
answer
702
views
Mounting existing VHDX on Win10 throws "You need to format disk" message
Need help trying to mount a VHDX used for storing files & projects (it's not a VM).
I'm moving a VHDX from my old Win10 laptop to the new one. When attaching the copied VHDX via Disk Management ...
0
votes
1
answer
597
views
What have windows boot manager done during booting Windows From VHDX file? (is about Principle not Configure step)
When Windows 7 released, a feature of Windows Boot Manager also came out. It is Native boot.
However there is a magic point which make me confused.
When Windows Boot Manager is working, we can assume ...
0
votes
1
answer
12k
views
How to attach VHDX file on Windows 7?
I made a Windows 10 backup, and now I have 2 VHDX files. If I attack that on Windows 10 in disk manager, no problem, but I must attach on Windows 7, and unforunatelly that doesn't work. How can I ...
0
votes
0
answers
68
views
Unable to open .vhdx file in Hyper-V, after using Disk2vhd
I have a computer where for about a year I have been using boot menu to choose between Windows 7 Pro and Windows 10 Pro as I needed. However seems like after Windows 10 update that menu stopped ...
0
votes
1
answer
69
views
Windows 11 UEFI - Issues Moving SSD BootManager
Is anyone able to help fix boot manager issues when trying to (native) boot to vhdx once copied to a new partition on a new ssd?
I'm creating a new thread as my reputation prohibits me from commenting ...
0
votes
0
answers
81
views
Compacting VHDX containing LUKS encrypted partition
I simply cannot convince my VHDX to compact. It's the boot drive for a Ubuntu VM in Hyper-V, and the system partition is encrypted with LUKS.
What I've tried is attaching the VHDX to an entirely new ...
0
votes
1
answer
131
views
Calculating MFT for NTFS based Dynamic vhd
I am trying to calculate MFT offset from master boot section of NTFS filesystem of Dynamic VHD. The Little Endian cluster location of this Dynamic VHD MFT is highlighted:
which is then further ...
0
votes
1
answer
178
views
VHD with no boot signature 55AA
I have a VHD sample which does not have the mbr boot signature of 55AA at offset of 510.Usually when I am creating VHD sample on Windows 10 using diskmgmt, it is assigning this boot signature as soon ...
0
votes
0
answers
413
views
disk2vhd64 - Copying volume with boot information via command line
I'm having a problem creating a vhdx file using disk2vhd64 in command line. I don't know how to add \?\Volume{...} to vhdx file since drives can be specified like c: or so. I'm using this manual https:...
0
votes
1
answer
35
views
Virtual disk, iso file o some kind of superfolder
I lookin for some kind of solution for several needs, It would be wonderful if I find one for everything, or at least several.
My needs:
I want to make backups to my linux servers from another linux ...
0
votes
0
answers
164
views
Is it safe to remove the driveletter of the physical drive when native-booting from a VHDX in it?
I'm trying isolate the physical disks/drives away from the VHDX booted OS. Physicals partitions can either be unmounted(drive letter removed) or the other physical disks themselves disabled.
The final ...
0
votes
1
answer
92
views
Are Windows-10 wbengine backup VHDX files updated with the latest changes since the backup finished, if the VHDX file is left mounted?
I have a Windows 10 system-image VHDX backup file from 1am, which is a backup of the C: drive (Labeled OS). The VHDX backup file is on drive J:
Long after the backup has finished, I go to "disk ...
0
votes
0
answers
1k
views
How to - Recover deleted VHD file itself, not files in the VHD in HyperV?
I accidentally delete a VM running in HyperV together with VHD file from the disk.
Tried major recovery software, recuva,easeus,stellar etc but they can only recover the files within the VHD, not the ...
0
votes
1
answer
140
views
Can I use Hyper-V disk snapshot/checkpoint ability on Windows 10's virtual disk?
I develop applications and sometime I zip the folder to make a checkpoint and if the things go wrong I delete the folder and unzip the files back. And its time consuming process.
Can't I use virtual ...
0
votes
1
answer
2k
views
Is it possible to migrate bootable VHDX content to an UEFI booted HDD
I have a VHDX file with bootable Windows 10 system which was used as a 2nd dual-boot system on another Windows 10 instance (natively VHDX booted). Now I want to make the content of this VHDX file to ...
0
votes
0
answers
577
views
Unable to start VM after mounting and adding data to disk
Yesterday I created a VM and configured most things I needed. At some point I accidentally clicked on checkpoint instead of start (who placed those buttons so close to each other).
I continued ...
0
votes
0
answers
922
views
mounting .vhdx image and iscsi target (windows server 2012 R2) at the same time
I have questions about .VHDX iscsi target in windows 2012 R2, and mounting the .VHDX image at the same time.
To make my question clear, here is the configuration details:
fileserver detail:
...
0
votes
1
answer
1k
views
How to recover vhd file?
Tried to convert a vhd file to a vhdx file using the Hyper-V Manager. The manager gave an error saying it could find the file (not sure which one).
Used windows explorer to go to the location of the ...
0
votes
2
answers
4k
views
What are the ways to install Windows on VHDX
What installation options do I have when I want to native boot from VHDX?
-1
votes
1
answer
116
views
Add Partition Table to existing vhdx partition image
I have images of single paritions (not full disks) in vhdx format. I want to create VMs with Hyper-V with them. Since the images are only partitions the machines do not start.
How can I add the disk ...