kernel panic not syncing

Table of Contents

full error message:

kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

indicates initramfs for the specific version of kernel is missing(a file looks like initrd.img-6.5.0-15-generic under /boot)

solution: boot into the system somehow(recovery mode, another kernel, live CD)

sudo update-initramfs -u -k version # replace version with 6.5.0-15-generic
sudo update-grub

Backlinks

linux

linux (GNU/linux) is a unix-like operating system, where:

  • linux(linux-libre) kernel

is necessarily present, and:

  • unix-like shell (bash,zsh,fish,sh)
  • FOSS software/content (with GPL, APEX, MIT, CC)

are very likely to be present.

Author: Linfeng He

Created: 2024-04-03 Wed 20:17