Article

Table of Contents
Theme:
Was this article helpful?
Try Vultr Today with

$50 Free on Us!

Want to contribute?

You could earn up to $300 by adding new articles!

Recovering From a Kernel Panic Using a Custom ISO

Last Updated: Fri, May 1, 2020
FAQ Linux Guides Troubleshooting Guides

Introduction

This guide demonstrates the steps to place a Linux-based VPS in an offline mode to recover from a kernel panic.

1. Make a Backup

Before attempting any rescue, back up your VPS. Vultr offers manual snapshots and automated backups for VPS instances. If you do not have automatic backups enabled, make a manual snapshot. Attempting to rescue a server without a backup is reckless. There is no substitute for a sound backup strategy. You can create a server snapshot in a few clicks in the customer portal.

You are responsible to back up all your mission-critical data, following your local laws and organizational policies. Vultr does not maintain additional backups outside your customer portal.

2. Identify the Error

Open the Vultr web console to view the server startup messages. If needed, click the Send CtrlAltDel button at the top-right of the console to reboot the server.

Take note of the error messages shown on-screen. The exact kernel panic error message will vary widely, depending on the Linux distribution, version, and nature of the problem. Research the internet for solutions to your particular error using keywords from your error messages.

3. Mount the VPS Filesystem

Mounting the VPS filesystem requires a few steps:

  1. Mount a recovery ISO and boot the VPS.
  2. Connect to the VPS via SSH.
  3. Identify the correct data device.
  4. Mount the filesystem device.

The general troubleshooting guide, "Troubleshoot your VPS with Bootable ISOs" describes these steps. Once you have the filesystem mounted, you have access to the VPS files.

4. Resolve the Kernel Panic

With full access to your filesystem, perform the resolution steps you identified when researching the error messages. To test your solution, unmount the ISO in the Vultr server information page, which also reboots the VPS.

Remove ISO

If the problem is not resolved, continue to research the issue. Sometimes when attempting repairs, the problem deteriorates or becomes confusing, so it's good to have a backup to restore the original starting point.

Want to contribute?

You could earn up to $300 by adding new articles