I changed the network settings, but I made a mistake. As a result, I can’t access the web GUI.
Additionally, I have GPU pass-through enabled, and the GPU driver is in the blacklist, resulting in no video output.
In this case I am not able to connect to the host using ssh or webUI.
Solution:
- Boot into your bootloader (mostly
grub
orsystemd-boot
, select your preferred kernel but do not press enter. - Press e to go into edit mode.
- Depending on the boot-loader go to the kernel-commandline entry:
- For
grub
: scroll down to thekernel
line you will boot from, it starts withlinux /vmlinuz-...
- For
systemd-boot
the kernel commandline is directly editable
- For
- Scroll to the end of that line, optionally remove the
quiet
in the line and appendinit=/bin/bash
- For
grub
pressCtrl X
to boot, forsystemd-boot
simply press Enter
In the resulting shell:
# Remount / as Read/Write
mount -o remount,rw /
cd /etc/network/
vi interfaces
Done. Enjoy!