Kernel Panic - not syncing

Linux Kernel

The Linux kernel encountered an unrecoverable error and halted to prevent data corruption. Usually caused by a faulty driver, bad RAM, or corrupt initramfs.

Check your exact device first. Codes and procedures vary by model and software version. Back up important files before recovery. Stop if a device is overheating, smells burnt, or has a swollen battery.

CHOOSE HOW YOU WORK

Clear help. Useful detail.

Start with the checks below. Tick a step after you try it, and keep a note of what changed. You can stop as soon as the original task works.

What can cause it?

  • Corrupt or incompatible kernel module
  • Faulty or unseated RAM
  • Corrupt initramfs image
  • Incompatible hardware driver
  • Filesystem corruption on root partition

What to try

Work through one step at a time
Your troubleshooting progress0 steps tried
  1. Check Recent Changes

    Think about what changed before the panic appeared: new kernel update, new hardware, changed driver, or new module. That change is the likely culprit.

  2. Boot the Previous Kernel

    In the GRUB menu, select 'Advanced options for Ubuntu/Debian/etc.' and choose the previous kernel version to confirm the new kernel is the issue.

  3. Test RAM with Memtest86+

    At the GRUB menu, select Memtest86+ and run a full pass. Bad RAM is a very common cause of random kernel panics.

  4. Rebuild initramfs

    Boot a live USB, mount your root partition, chroot into it, and run: update-initramfs -u (Debian/Ubuntu) or mkinitcpio -P (Arch). A corrupt initramfs causes 'not syncing: VFS: Unable to mount root fs' variants.

  5. Check Kernel Logs

    After a reboot, run: journalctl -k -b -1 to see the kernel messages from the previous boot that panicked. Look for the driver or module name mentioned just before the panic.

How did it go?

Test the original task again. A completed checklist doesn’t by itself mean the problem is fixed.

If the error comes back

Record the full error, your exact model, software version, and the steps you tried. Share these with the manufacturer or a qualified technician. A repeated code needs a diagnosis, especially if it involves storage, heat, or power.

Find the instructions for your model

Linux Kernel official support

This is a general support link. This reference guide has not been checked against a model-specific source in this update.