A VM from VHD, that has worked for 10+ years has suddenly stopped booting in VirtualBox.
A couple days ago when I attempted to boot it, the guest CPU went to 100% (and remains there forever) and it freezes on the WinXP boot page. (See more details below.)
I restored a backup of the VHD that worked fine a couple weeks ago and now it fails also, but with different symptoms: after the VirtualBox banner/boot page the screen just stays black with no CPU nor IO registered (as shown from 'Machine > Session Information').
I get that somehow the latest VHD became corrupted or something preventing it from booting properly, but how did a backup VHD that did work correctly 2-3 weeks ago stop working?
Detailed chronology of the situation.
- 2010 - Convert old WinXP system to VHD and use VirtualBox to create a VM and use. Works wonderfully for years on a DELL Win7 Host with Intel I3.
- 2022 April
- Win7 Host motherboard fries. Disk drives are good.
- Get new Win11 Home machine with Ryzen 5 5600G processor and 2TB SSD system drive.
- Move WinXP.vhd to new system drive from backup.
- Install VirtualBox v6.1.32, create VM and WinXP virtual machine boots up and all is fine. Boot and reboot this VM several times without issue.
- At some point Win11 does an upgrade overnight and reboots the host computer. This shuts down all apps including my running VM.
- Was dealing with trying to get the old Win7 host to boot into VirtualBox for a few weeks. (See other post in these forums on this topic.)
- During this 2-3 week period, I did not boot my WinXP VM and VirtualBox upgraded to v6.1.34.
- 2 days ago I tried to boot the WinXP VM, which I hadn't touched in 2-3 weeks. The guest CPU usage goes to 100% and stays there. The VM never boots and seems to eventually hang on the WinXP startup page; the first thing you would normally see after the VirtualBox banner page. I have let it run for 2 hours and no progress. The guest CPU stays at 100% the entire time.
- I revert back to VirtualBox v6.1.32; same results.
- If I double-click on the VHD in Windows File Explorer, I can see the VHD contents and all files. First time however, I got a message that there was an issue and that I should run a scan and repair. Before running the scan and repair, I could definitely see all of my software project files and saw no problems. I let the scan and repair run and finish. It reported no issues and said the drive was good. A dismount and subsequent mount of the VHD in File Explorer opened the contents without any messages. After dismount/eject and again tried to boot the VM. Same problem.
- I can recover from this. I have backups of all software changes made on this VM. I will just boot from the original WinXP.VHD used above initially and restore software changes to that. As per above, this file originally booted just fine and I interacted with it multiple times in VirtualBox successfully.
- When I attempt to boot from this same exact file, after the VirtualBox banner page, I get a black screen and nothing ever happens. No messages, no guest cpu usage, nothing.