I lost power briefly today, when my headless ubuntu server rebooted I could no longer SSH into it. I assumed the drive had failed or something. I took out the drive, put it into a USB SATA enclosure and connected to my windows PC. I tried booting from it and it does actually still boot, however, when it was booting there was a few error messages about not being able to resolve the network and proceeding with no network connection.
So it seems all my files are intact, however, I have no connection. When I run
ifconfig -a there is no inet address listed under eth1.
Any ideas on what my issue could be?
Edit: Ok so my /etc/network/interfaces file only had details for lo and eth0. I added this to the file:
auto lo eth0 iface lo inet loopback
network is now working. However when I put the drive back into my home server box I still can't access it over SSH. It still doesn't seem to boot. I'm not sure why it would boot from an external enclosure and not the server box. Maybe something else inside the server box is fried?