I have a server that I updated to Debian squeeze. I had backed up all my data to an external usb drive.
After updating it I was trying to transfer everything from my backups of /var/ and /etc/ back to Debian.
I was successful in doing that for var.
For etc, I don't know what I did but somehow I deleted the local /etc on my computer.
Then I made a etc directory and moved everything from /media/usbdisk/etc-copy/* to /etc/
This my first mistake using mv. I did that for both var and etc and now I don't have backups anymore.
Anyway after doing this I rebooted my computer. The grep boot menu came up. I started like normal but then it gave me some error.
After that I manually turned the computer off. At the boot menu I pressed e on the recovery version. At the end of the linux kernel I typed init=/bin/bash and rebooted. It then came up on a terminal after a bunch of errors with
I have no name! @(none)
None of my logins or root logins worked.
I used ls and saw all my files and folders there as normal including the etc file and everything in it.
I tried moving everything in /etc/ and /var/ back to my external drive so I had backups but it said that my external drive was read only. I also could not see anything inside my external drive when I did a ls.
Please help me.