A little background....
I have a disk going bad and couldn't boot Lucid, so I used Virtualbox on Win7 to create a temporary Kubuntu machine to work getting data from my failing drive. Because it was a temp setup, I did not enable root login.
I logged into Linux at Virtualbox, plugged in my failing drive, and began working on moving stuff over using Konsole. The failing drive was mounted on /media/linux. At some point, trying to do some experimenting, I did a sudo chmod 0400 /media/linux. All hell broke loose. No commands would work. No access to /bin/mv or /bin/ls.....no ability to change directories. It was as though the chmod had been applied to the entire root folder. I double-checked my command...no spaces between / and media.
I figured Virtualbox had gone screwy, so I shut down the machine and re-booted. Cannot log in - cannot change to /home/<user>.
If this were a real disk partition, I would simply boot the Kubuntu CD and chmod again. But this is on the VM. Any ideas what I can do? HELP! I had already backed most of my stuff to the VM!
Bookmarks