VM caused reboot of Macbook and corrupted vhd

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
HeidiG
Posts: 4
Joined: 15. Sep 2018, 15:51

VM caused reboot of Macbook and corrupted vhd

Post by HeidiG »

I was working in the VM with Windows 10 and it caused a reboot of my computer. Now I can't access the machine because the vhd is corrupted with a differencing error. Based on what I've read, it's due to reaching the size limit of the vhd. What I can't figure out is how to fix the corruption and resize the disk so I can continue using the VM . Is there a way to do that?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VM caused reboot of Macbook and corrupted vhd

Post by socratis »

HeidiG wrote:it caused a reboot of my computer
Do you mean crash and reboot?
HeidiG wrote:I can't access the machine because the vhd is corrupted with a differencing error
What's the exact error?
HeidiG wrote:it's due to reaching the size limit of the vhd
Why did you create a VHD? That's not the default for VirtualBox. And what makes you think that you've reached the size limit? What was the original size?
HeidiG wrote:Is there a way to do that?
Answer the above questions and we'll see if it's possible or not.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
HeidiG
Posts: 4
Joined: 15. Sep 2018, 15:51

Re: VM caused reboot of Macbook and corrupted vhd

Post by HeidiG »

The computer crashed and rebooted. I then got the error below when trying to reopen the VM
Could not open the medium '/Users/heidigannon/VirtualBox VMs/Windows 10/Snapshots/{0d1e010a-cbdc-46f0-9699-f09ea7bcf0ca}.vhd'.
VD: Image file '/Users/heidigannon/VirtualBox VMs/Windows 10/Snapshots/{0d1e010a-cbdc-46f0-9699-f09ea7bcf0ca}.vhd' is corrupted and can't be opened (VERR_VD_IMAGE_CORRUPTED).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MediumWrap
Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
In Finder window is it shows my disk size as 53.69GB. I don't remember why I picked the VHD setup. Beginner error.
Last edited by socratis on 15. Sep 2018, 20:05, edited 1 time in total.
Reason: Enclosed the information in [quote] tag for better readability
HeidiG
Posts: 4
Joined: 15. Sep 2018, 15:51

Re: VM caused reboot of Macbook and corrupted vhd

Post by HeidiG »

Original size was 50GB
Post Reply