Kernel crashed: kernel panic and what next
What to do when the machine won't boot and a kernel message is frozen on the screen: capture the error text, roll back the kernel, and fix fstab from the recovery disk.
Updated August 23, 2026
Kernel panic is a state where the kernel has stopped and cannot continue. The machine doesn't respond over SSH or the network, but still shows as running. Everything you need to troubleshoot is available from the control panel: the console shows the full screen, and the recovery disk gives you access to the system files.
Step 1. Read the message
Open /hosting/vds/m/<id>, the “Console” tab, the “Screen” view (VNC). The text console also shows kernel output, but the panic is often drawn by the graphical buffer, and it's more reliably visible on the “Screen”. What matters is not the first line but the lowest meaningful one, usually one of:
VFS: Unable to mount root fs on unknown-block(0,0)— the kernel couldn't find the root partition;Kernel panic - not syncing: Attempted to kill init— process number one died, most often due to a corrupted/sbin/initafter a failed update;Kernel panic - not syncing: No working init found— same problem;- a driver error with a stack trace — usually after installing a third-party kernel module.
Take a photo or copy the text right away: the screen will be cleared after a reboot.
Step 2. Try the previous kernel
If the panic appeared right after an update, GRUB has the old kernel. Reboot the machine from the control panel and catch the menu on the “Screen”: press Shift or Esc in the first seconds, then “Advanced options” and the previous version.
Once you've booted with the old kernel, lock in the working state and deal with the new package:
uname -r
dpkg -l | grep linux-image
apt install --reinstall linux-image-amd64
Step 3. Recovery disk
If the bootloader menu doesn't appear or the old kernel also crashes, enable the “SystemRescue recovery disk” boot mode on the “Access” tab and reboot the machine. Log in as root without a password; the machine's disk appears as /dev/sda.
lsblk
mount /dev/sda1 /mnt
ls /mnt
Check the file system if you suspect corruption:
umount /mnt
fsck -f /dev/sda1
A typical cause of a panic after manual edits is an error in /etc/fstab: a line with a non-existent partition or an incorrect UUID halts boot. Check it:
blkid /dev/sda1
cat /mnt/etc/fstab
To work inside the system (reinstalling the kernel, editing the bootloader), enter it via chroot:
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt /bin/bash
When you're done, be sure to switch back to the normal boot mode on the “Access” tab. Otherwise the machine will boot into SystemRescue on every reboot, and you'll think the system never came up.
Step 4. When reinstalling is easier
We don't have automatic machine backups or state snapshots, so the decision is yours. If valuable data is on the disk, first copy it out of SystemRescue via scp to your own machine, and only then start the OS reinstall from the “Access” tab — it wipes the disk completely.
The order is: copy the data, make sure it reads on your side, reinstall. There's no going back after a reinstall.
How to avoid repeating this
Keep copies of your data outside the machine, update the kernel separately from other packages, and reboot right after updating — that way you'll learn about a problem at a convenient time, not a month later during an accidental reboot. For troubleshooting ordinary service failures, see Service won't start: systemd troubleshooting.