Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

After resizing VHD file with

VBoxManage modifyhd "c:\VMs\WinXP.vhd" --resize 50000

and successful operation I cannot boot from this VHD:

FATAL: No bootable medium found! System halted.

Previous size was 29.9 GB. Host is Win7, guest on this VHD is WinXP.

When I run VirtualBox VM with linux live and GParted the VHD, it shows 50GB of unallocated space. On the other side, when I run linux live on Virtual PC and GParted VHD, it shows 7.9GB of unallocated space.

I have tried recovery by Gparted, no partitions found. I have tried recovery console from WinXP installation (fixmbr...) nothing changes.

I have also tried everything from Cannot boot after vhd hard drive is resized in VirtualBox

I have a backup of VHD, but it's few months old, and I'd hate to do everything again (it was my DEV station).

What should I do?

share|improve this question
    
I'm experiencing this as well. I have not been able to locate a solution to this as of this post. Keep an eye on forums.virtualbox.org/viewtopic.php?f=6&t=59561. –  user306040 Mar 8 '14 at 5:58

1 Answer 1

Some of the instructions in many blogs are very confusing. The simple thing at my end was to go into repair mode and use diskpart to set the smaller virtualbox partition as active and boot. That partition is typically like a 100MB.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.