Home VirtualizationFix Virtualizor VPS Boot Failures and VNC Console Problems

Fix Virtualizor VPS Boot Failures and VNC Console Problems

by Knowledge Base Linux
Fix Virtualizor VPS Boot Failures and — Fix Virtualizor VPS Boot Failures and VNC Console Problems

The ticket always arrives the same way: “my server is down”. When a Virtualizor VPS not booting lands in your queue, resist the urge to reinstall. In practice the cause is almost always one of a handful of things: a broken kernel or GRUB after an update, a full or corrupted disk, missing virtio drivers, or a storage problem on the host itself. This field guide works through the diagnosis in the right order, then tackles the second classic complaint, a VNC console that will not connect. It assumes a KVM fleet managed from Virtualizor; if your panel is not installed yet, see our guide on how to install Virtualizor on KVM and Proxmox. This article covers Fix Virtualizor VPS Boot Failures and in detail.

First, Read the Console: The Error Tells You the Layer – Fix Virtualizor VPS Boot Failures and

Open the VPS in the enduser or admin panel and launch the HTML5 (noVNC) console, then reboot the guest and watch from the first second. Where it stops identifies the broken layer:

  • “No bootable device” / “Boot failed”: the virtual BIOS/UEFI found nothing to boot. Suspect boot order, a disk attached with the wrong bus, or a destroyed boot sector.
  • Stuck at a GRUB menu or grub> prompt: the bootloader loads but its configuration or kernel files are broken, often because /boot filled up with old kernels and an update half-finished.
  • Kernel panic, “VFS: Unable to mount root fs”: the kernel starts but cannot find or read the root filesystem. Classic after a kernel update (initramfs not rebuilt) or after converting a disk from IDE/SATA to virtio without the driver inside the initramfs.
  • Black screen after GRUB, then nothing: frequently the guest is actually booting but the display has stalled. Give it a minute, then test ping and SSH before concluding anything.

Diagnose a Virtualizor VPS Not Booting, Host Side First – Fix Virtualizor VPS Boot Failures and

Before repairing the guest, prove the host is healthy. On the slave node:

# Is the virtual machine actually running?
virsh list --all

# For LVM storage: is there space left, and is a thin pool exhausted?
vgs
lvs -a -o +data_percent,metadata_percent

# Are the storage pools active?
virsh pool-list --all

# Host-side complaints (OOM kills, I/O errors, libvirt faults)
dmesg | tail -n 50
journalctl -u libvirtd -n 50

Three host faults masquerade as guest failures. An inactive storage pool after a host reboot (fix with virsh pool-start and enable autostart) leaves every VM on it unbootable. A thin LVM pool at 100% data makes guests freeze or fail mid-boot. And a host that ran out of RAM may have OOM-killed the QEMU process, which the panel reports as a mysteriously stopped VPS.

Repair the Guest from Rescue Mode

If the host is fine, boot the VPS into rescue mode from Virtualizor (or attach a rescue ISO in the media library), which mounts the guest disk so you can repair it. From a host shell you can also inspect a stopped guest’s disk directly:

# QCOW2 disk, VM powered OFF: expose it as a network block device
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd0 /path/to/vm-disk.qcow2
mount /dev/nbd0p1 /mnt

# Always release it when finished
umount /mnt
qemu-nbd --disconnect /dev/nbd0

With the filesystem mounted (chroot in for the full toolkit), the standard repairs are:

  • Free up /boot: remove old kernels so the pending update can finish, then regenerate the bootloader configuration (grub2-mkconfig -o /boot/grub2/grub.cfg on RHEL family, update-grub on Debian/Ubuntu).
  • Rebuild the initramfs so it contains the virtio and storage drivers: dracut -f (RHEL family) or update-initramfs -u (Debian/Ubuntu).
  • Fix /etc/fstab: a stale UUID after a disk clone or resize makes boot hang on a device timeout. Match the UUIDs against blkid output.
  • Check filesystem damage: unmount and run fsck if the console showed journal errors, rather than letting it mount read-only forever.

Why a Virtualizor VPS Is Not Booting After Migration or a Disk Change

A special case deserves its own warning: the VPS that breaks the day you touch its disk settings. If a guest was installed with its disk on IDE or SATA and you switch the bus to VirtIO for performance, the guest must already contain virtio drivers. Linux templates usually do (which is why they survive), but a Windows guest without the virtio-win drivers will blue-screen or report no boot device instantly. The safe order is: attach a secondary virtio disk or install the drivers while still on the old bus, reboot once, shut down, and only then switch the system disk to VirtIO. The same logic applies when importing guests from Xen or Proxmox: let the imported machine boot once with compatible settings before optimizing anything. Whether VNC is available for this rescue work is itself a plan setting, as covered in our guide to Virtualizor plans, IP pools and OS templates.

Remote console screen used to diagnose why a Virtualizor VPS is not booting

Fix VNC and noVNC Console Problems

Virtualizor’s console is an HTML5 noVNC session: your browser opens a websocket to the panel, which proxies to the guest’s VNC display on the slave. When the console fails, work through this list:

  • Black window, no error: the guest is powered off or hung before initializing its display. Power-cycle the VPS from the panel and watch again; a fresh power action also regenerates the VNC session.
  • “Failed to connect to server”: the console socket cannot reach the slave. Check that the slave’s firewall allows the VNC/websockify traffic from the master and that nothing else on the node has grabbed the display ports (VNC displays start at port 5900 and count up per running guest).
  • Console works over HTTP but not HTTPS (or the reverse): a mixed-content or certificate mismatch. Always open the panel through its proper HTTPS hostname so the secure websocket (wss://) is allowed by the browser.
  • Pop-up never appears: the console opens in a new window or tab. Allow pop-ups for the panel domain, and try a private window to rule out an extension eating the session.
  • External VNC client asks for a password: that is expected. Use the per-VPS VNC password shown in the panel, or simply use the built-in HTML5 console, which injects it for you.
  • Keyboard types the wrong characters: a keymap mismatch between your layout and the guest’s console layout. Type passwords carefully (or paste them through the console’s clipboard helper) before concluding the password is wrong.

If the console fails for every VPS on one slave but works on others, stop debugging guests: restart the node’s Virtualizor-related services during a maintenance window and check the slave’s logs, because the fault lives in that node’s console stack, not in any single VM.

Prevention: Make Boot Failures Boring

  • Take a backup or snapshot before kernel updates and major upgrades, and keep at least one rescue ISO in the media library at all times.
  • Alert on thin-pool usage and node disk space; most “sudden” boot failures were forecast by a graph nobody watched.
  • Install qemu-guest-agent in every template so shutdowns are clean and the panel reports real IP and state information.
  • Leave healthy headroom in /boot by enabling automatic old-kernel cleanup on long-lived guests.

Frequently Asked Questions

The VPS pings but SSH refuses connections. Is it a boot failure?

No, it booted. SSH is failing at the service layer: check the console for a full disk (the classic cause), a crashed sshd, or a firewall change. Log in through VNC and inspect systemctl status sshd and df -h.

My VPS stopped booting right after I resized its disk. Why?

The virtual disk grew but the partition and filesystem inside were never extended, or a clone changed UUIDs that fstab still references. Boot rescue mode, compare blkid with /etc/fstab, and grow the partition/filesystem to fill the new disk.

Can I use my own VNC client instead of the web console?

Yes. Connect to the slave address and the guest’s display port with the VNC password from the panel. Most providers still recommend the HTML5 console because it needs no exposed ports and handles the password automatically.

How do I tell a guest fault from a host fault quickly?

Check whether other VPS on the same slave are healthy and whether the storage pool is active. One sick guest among many healthy ones is a guest repair; a whole node of failures is a host incident. Start where the pattern points.

Conclusion

A Virtualizor VPS not booting is a diagnosis exercise, not a reinstall excuse: read the console, clear the host, then repair the guest’s bootloader, initramfs or fstab from rescue mode, and treat VNC failures as the separate proxy and firewall problems they usually are. Do it in that order and most “dead” servers are back before the customer has finished writing their second ticket.

You may also like

KbLinux

Typically replies within a day

Hello, Welcome to the site. Please click below button for chatting me through Telegram.