Activating the Rescue System
To start a server in the Rescue System, it needs to be activated in the Robot.
Under "Main Functions; Server" select the desired server and then open the tab "Rescue". Here the desired variant can be activated.
The password that was given to you when you activated the Rescue System can now be used to login as "root" via SSH. Restarting the Server
To load the Rescue System, the server must be restarted.
If you no longer have access to the server, you can use the reset function in the Robot. You will find this under the "Reset" tab of the desired server.
Please note that the activation of the Rescue System is only valid for one boot. If you want to boot your server to the Rescue System again, you will have to activate it in the Hetzner Robot again. If you do not reboot your server within 60 minutes after the activation, the scheduled boot of the Rescue System will automatically become inactive. If the server is restarted later, the system will boot from the internal drive(s).
We need to find real interface name
, IP address
, mask
and gateway
- Real Interface Name
udevadm info -e | grep -A 20 ^P.*eth0 | grep ID_NET_NAME_PATH
Example of output: E: ID_NET_NAME_PATH=enp35s0
My interface is enp35s0
- In some cases, you will need to check the kernel logs to find real name:
cat /var/log/kernel | grep renamed
- IP Address/Netmask & Gateway
ip -c a
ip route
- Dowload Proxmox VE latest ISO Image Go to http://download.proxmox.com/iso/ and copy download link of latest proxmox-ve ISO
wget 'https://enterprise.proxmox.com/iso/proxmox-ve_8.2-2.iso' -O proxmox.iso
lsblk
printf "change vnc password\n%s\n" MYPASSWORD | qemu-system-x86_64 -enable-kvm -m 10240 -hda /dev/nvme0n1 -hdb /dev/nvme1n1 -cdrom proxmox.iso -boot d -vnc :0,password -monitor stdio
example for 4 nvmedrives with a new hetzner rescue quemu (fix CDROM mounting issue)
printf "change vnc password\n%s\n" MYPASSWORD | \
qemu-system-x86_64 -enable-kvm -m 10240 \
-drive file=/dev/nvme0n1,format=raw \
-drive file=/dev/nvme1n1,format=raw \
-drive file=/dev/nvme2n1,format=raw \
-drive file=/dev/nvme3n1,format=raw \
-device virtio-scsi-pci,id=scsi \
-drive file=proxmox.iso,media=cdrom,if=none,id=cdrom \
-device scsi-cd,drive=cdrom \
-boot d -vnc :0,password=on -monitor stdio
MYPASSWORD
is a password for VNC connection
Use serverip:0
and your password
During install properly configure the Network with previously found information.
- Turn off
qemu
at install finish - Then run qemu without
cdrom
:
printf "change vnc password\n%s\n" MYPASSWORD | qemu-system-x86_64 -enable-kvm -m 10240 -hda /dev/nvme0n1 -hdb /dev/nvme1n1 -vnc :0,password -monitor stdio
Qemu will boot to installed Proxmox.
example for 4 nvmedrives with a new hetzner rescue quemu (fix CDROM mounting issue)
printf "change vnc password\n%s\n" MYPASSWORD | \
qemu-system-x86_64 -enable-kvm -m 10240 \
-drive file=/dev/nvme0n1,format=raw \
-drive file=/dev/nvme1n1,format=raw \
-drive file=/dev/nvme2n1,format=raw \
-drive file=/dev/nvme3n1,format=raw \
-vnc :0,password=on -monitor stdio
Edit network interfaces by changing interface name
:
nano /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp0s inet manual
auto vmbr0
iface vmbr0 inet static
address $MYIP/$MYMASK
gateway $MYGW
bridge-ports enp0s
bridge-stp off
bridge-fd 1
hwaddress ether $MYMAC
pointtopoint $MYGW
bridge_hello 2
bridge_maxage 12
post-up iptables -t nat -A POSTROUTING -s '10.10.10.1/24' -o enp0s -j MASQUERADE
auto vmbr17
iface vmbr17 inet manual
address 10.10.10.1/24
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
-
Use vmbr17 for VM's without external IP
-
Use vmbr0 for VM's with external IP (add mac addr from hetzner console to interface in proxmox)
-
Poweroff Proxmox, close qemu & and restart dedicated server
- Connect to https://serverip:8006
- Enjoy
All steps the same except ISO and network config -You should additionally create 2 files with your current ip+route settings: /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", ATTR{address}="b8:a1:59:8c:a0:0d", NAME="enp9s0"
/etc/netplan/01-network-manager-all.yaml
network:
version: 2
renderer: NetworkManager
ethernets:
enp9s0:
match:
macaddress: b8:a1:59:8c:a0:0d
addresses:
- 44.76.28.20/27
nameservers:
addresses: [8.8.8.8, 1.1.1.1]
routes:
- to: 0.0.0.0/0
via: 44.76.28.33
apt -y instal openssh-server && systemctl enable ssh
cd ~
rm -rf {Documents/,Downloads/,Music/,Pictures/,Public/,Templates/,Videos/}
sudo apt purge -y ubuntu-desktop nautilus nautilus-* gnome-power-manager gnome-screensaver gnome-termina* gnome-pane* gnome-applet* gnome-bluetooth gnome-desktop* gnome-sessio* gnome-user* gnome-shell-common zeitgeist-core libzeitgeist* gnome-control-center gnome-screenshot
sudo apt autoremove -y
sudo apt autoclean -y
zpool add rpool /dev/nvme0n1