My main virtual machine crashed today. More specifically, the Windows7 host crashed while the VM was transferring files (very slowly) to a flash drive. I'm running Ubuntu 10.04 LTS - Lucid Lynx in VMware (not sure if it is VMware Player, esx, or what. I downloaded it for free about a year ago) as a testing webserver. Now the VM will not boot past the 1st 2-3 lines. Then it does nothing at all. I waited about 30 minutes one time.
Usually it says this:
fsck from util-linux-ng 2.17.2 /dev/sda1: clean, 652189/6373376 files, 14459048/25464832 blocks
One time it said this:
fsck from util-linux-ng 2.17.2 /dev/sda1 has been mounted 27 times without being checked, check forced. /dev/sda1: clean, 652189/6373376 files, 14459049/25464832 blocks
[Note: aside from the extra line, the only difference is the number of blocks in the numerator]
I have a bunch of custom php code on there. several mysql databases, and I've made lots of tweaks to the system that I would hate to lose.
To get into Recovery mode, I tried pressing and holding the -shift- key while booting up the VM, to no effect. I've also tried pressing -escape- a bunch of times. I've tried this on working VMs and it doesn't work there either. The only install where I get that option is the one I just did an hour ago, and it comes up automatically, without any key presses.
As I mentioned, the host system crashed while the VM was transferring files to a flash drive. The flash drive is special because I created an entry for it in fstab and it's mounted on every boot. The flash drive still works, by the way.
Does anyone know how I can fix this? One positive is that I now have access to the disk through another VM and all the files seem to be fine. Are there any particular files I should look at or modify to fix this?