In Windows 7, I set up another Windows 7 VM in VirtualBox. It worked great. Then, I needed to increase the vhd HD size. So, I used VBoxManage utility to do that with the following comment:
VBoxManage modifyhd "c:\VMs\Win7.vhd" --resize 30000
Then, I tried to run the VM again but it cannot be booted and gives me the following error:
FATAL: No bootable medium found! System halted.
Then, I tried to see what is going on inside the VHD and try to attach it inside Device Management and it says It cannot be attached because The file or directory is corrupted and unreadable.
Any idea what went wrong here and how can I save my VM inside that VHD file?