r/Ubuntu • u/iNdramal • Jul 24 '25
Ubuntu Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)(Linux 6.14.0-24-generic)
When I start computer it shows "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)" error.
I go to Advanced options for Ubuntu and select Ubuntu, with Linux 6.14.0-24-generic and Ubuntu, with Linux 6.14.0-24-generic (recovery mode) both get same error. Then I select old version then Ubuntu start normally.
After that I go to CLI and try to update kernal using sudo apt install --reinstall linux-image-6.14.0-24-generic linux-headers-6.14.0-24-generic but i gor error Internal error, No file name for linux-headers-6.14.0-24-generic:amd64 same error for No file name for linux-image-6.14.0-24-generic:amd64.
Additional Info: This computer have GeForce GTX 1050 Mobile GPU with nvidia-driver-550.
How to solve this error?
8
u/bdcam4 Jul 24 '25
Check for
initrd.img-6.14.0-24-genericin/boot/. If it's missing, you'll need to create it and update GRUB.3
u/jdjohndoe13 Apr 12 '26 edited Apr 12 '26 •
The issue most likely caused by an error during automatic kernel update by Ubuntu.
Expanding on that bdcam4 answer, here is the solution:
There will most likely be several entries, like
Ubuntu, with Linux 6.17.0-19-generic.When Ubuntu boots, open a terminal and run this command.
ls -la /boot/
Find the line that ends with text like this:
You can notice that this text is in brown or red, which means that this is a broken symlink.
initrd.img-6.17.0-20-genericin the folder. This is what causes the issue: Ubuntu updated the kernel, but failed to update the files in/boot/folder.Run this command in the terminal:
sudo update-initramfs -c -k 6.17.0-20-generic
You should see a line like this:
It might take a few seconds for this command to complete. Next, verify that the file /boot/initrd.img-6.17.0-20-generic exists by running that command again:
You will notice that the line
is no longer in brown, and that there is now a line
initrd.img-6.17.0-20-generic.Now update grub configuration:
and reboot your computer. It should boot into Ubuntu automatically.
2
u/[deleted] Aug 19 '25
Found this thread after sometime searching and this worked like a charm, thanks!
1
u/daxidz Mar 03 '26
Our apprentice stumbled into this on the first day of their big final project, you saved his day!
1
u/Capn_Arngrim Apr 15 '26
just joining into this late but wanted to say thanks, this fixed my issue when i ran into this just now on an older box.