Questions tagged [vhdx]
50 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
- 391
8
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
- 766
7
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
- 323
6
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
- 63
5
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
- 163
3
votes
1 answer
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 in various ways Windows does no longer keep that…
CodeSmile
- 499
3
votes
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…
Murmulodi
- 163
2
votes
1 answer
Do Mounting VHD on HDD can speed up access time in Windows?
As we know HDD is slower in term of read and write access time. Actually, it's not that slower if a transfered file is big size compared to multiple files with small size in KB unit being transfered.
Windows has option to add VHD let's say with…
2
votes
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
- 131
- 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
2
votes
0 answers
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 internal hard disk and the ability to export show data to a USB…
4ndrw
- 21
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
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
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
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