Windows guest won't start after host crash (Black Screen)
Posted: 4. Mar 2010, 07:18
Host: Linux CentOS 5.4 32 Bit
Guest: Windows XP SP3 32 Bit
This is more of an informational post on how i resolved booting a windows guest that wouldn't start up after my host system crashed. Host crashed because i had too many apps/guests running and ran out of memory.
After rebooting the host and starting Virtualbox, i tried starting a Windows XP guest and didn't get anything but a black screen. No error message, no activity on the disk/network icons, nothing but a black screen that just sat there. I tried another Windows guest and it started without a problem. Both were running when my host happened to crash. I thought it might be vt extensions or something keeping it from booting so i disabled everything on the guest that wasn't needed to boot (network adapter, sound, vt extensions, etc. When this didn't work i tried creating a new guest but instead of creating a new disk, used the windows xp disk from the broken guest. Still nothing but a black screen. Looked in the forums and googling for similar issues but couldn't find a fix. At this point i figured the system might be hosed and there might not be a chance to recover. The next thing to try was adding this broken disk as a second drive in my other windows guest. Went into settings in my working windows guest, added a new ide controller, and then attached the hard disk from my broken guest. When i booted, Windows checkdisk started running and wanted to check the new drive. I let this run and it did find some files that needed to be repaired. When the system finished booting i was happy to see a new d: drive and all of my files. At least i knew i could recover this way. I thought it was worth another shot so i shutdown the virtual guest, removed the ide controller and drive and then tried starting the broken guest again. This time it booted right up without any errors.
Now i do have one question. Since it seems the guest disk was corrupted by the host crash, does virtualbox have a tool for diagnosing guest vdi files and reparing them?
Guest: Windows XP SP3 32 Bit
This is more of an informational post on how i resolved booting a windows guest that wouldn't start up after my host system crashed. Host crashed because i had too many apps/guests running and ran out of memory.
After rebooting the host and starting Virtualbox, i tried starting a Windows XP guest and didn't get anything but a black screen. No error message, no activity on the disk/network icons, nothing but a black screen that just sat there. I tried another Windows guest and it started without a problem. Both were running when my host happened to crash. I thought it might be vt extensions or something keeping it from booting so i disabled everything on the guest that wasn't needed to boot (network adapter, sound, vt extensions, etc. When this didn't work i tried creating a new guest but instead of creating a new disk, used the windows xp disk from the broken guest. Still nothing but a black screen. Looked in the forums and googling for similar issues but couldn't find a fix. At this point i figured the system might be hosed and there might not be a chance to recover. The next thing to try was adding this broken disk as a second drive in my other windows guest. Went into settings in my working windows guest, added a new ide controller, and then attached the hard disk from my broken guest. When i booted, Windows checkdisk started running and wanted to check the new drive. I let this run and it did find some files that needed to be repaired. When the system finished booting i was happy to see a new d: drive and all of my files. At least i knew i could recover this way. I thought it was worth another shot so i shutdown the virtual guest, removed the ide controller and drive and then tried starting the broken guest again. This time it booted right up without any errors.
Now i do have one question. Since it seems the guest disk was corrupted by the host crash, does virtualbox have a tool for diagnosing guest vdi files and reparing them?