Oeps! How to mount /etc/ from other rescue Linux? New network /etc/network/interfaces configuration?
What If your server is crashing from one rack? You can still boot server with another rescue Linux and mount hard disk to analyze what actually happened in your OS.. And maybe set this hard drive in other hardware and restore your system back.
blkid -c /dev/null -o list
root@rescue ~ # mkdir /media/configs
root@rescue ~ # mount /dev/md2 /media/configs
root@rescue ~ # ls /media/configs
Old network configuration
iface eth0 inet dhcp
# Or static device: eth0
iface eth0 inet static
default route to access subnet
up route add -net 184.108.40.206 netmask 255.255.255.192 gw 220.127.116.11 eth0
Network interface name
See NetworkInterfaceNames. Starting with Stretch, by default, the new system no longer uses the old-style interface names, such as eth0, eth1, wlan0, wlan1. The new system uses a name based on the hardware location, such as eno0, enp0s31f6, wlp1s7 (or in the case of using a USB dongle, the MAC address: enx2c56ac39ec0d).
- on-link: true