Questions tagged [vhdx]
42 questions
9
votes
1 answer
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…
Franva
- 351
- 2
- 6
- 15
5
votes
1 answer
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?
abalter
- 696
- 1
- 11
- 27
4
votes
1 answer
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 the host machine.
I've seen several links that…
Kees-Jan
- 271
- 1
- 2
- 8
4
votes
1 answer
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 system only takes less than 10GB of space
However…
hellopeach
- 153
- 1
- 4
3
votes
1 answer
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 mounts it and views its contents.
However, by…
Tristan
- 33
- 4
2
votes
1 answer
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). now ubuntu wont start with message ...
The…
Tony
- 21
- 1
2
votes
1 answer
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 development assets and a ton of artwork.
I was…
Chlod Alejandro
- 127
- 4
2
votes
1 answer
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 .vhdx file. However, is it possible that Windows…
Ankit Shubham
- 123
- 4
2
votes
1 answer
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 when I save something, store on the VHDX2.
It is…
NagyDani
- 23
- 3
2
votes
1 answer
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 hard drive to grow to almost 200 GB. Since then, I…
Daniel
- 171
- 2
- 8
1
vote
0 answers
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 that the space on the hard disk that docker WSL…
hasdrubal
- 121
- 3
1
vote
1 answer
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 to a cmd prompt and run the following:
diskpart…
Computer
- 125
- 3
1
vote
0 answers
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 volume on the virtual disk can't be extended to…
vasek
- 111
- 5
1
vote
1 answer
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 someone share his experienced in this topic. How to…
Hölderlin
- 143
- 1
- 1
- 7
1
vote
1 answer
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-default-version 2 step.
Install the same distribution…
Frank Salerno
- 11
- 3