Help!!! After making some file changes to a custom directory on a Ubuntu droplet and rebooting it I’m getting this:
end Kernel panic — not syncing : VFS :Unable to mount root fs on unknown—block(0,0)
drive.google.com/file/d/1zxaondroSCh0L0FU264ZpRxGzaQaX0sx/view?usp=sharing
I’ve tried this as the error is similar www.digitalocean.com/community/questions/digital-ocean-kernel-panic-after-cpu-ram-resize but still couldn’t fix the issue.
The issue seems to be with Grub not finding the boot partitian running grub-install --target=x86_64-efi --boot-directory /boot --efi-directory=/boot or --bootloader-id=grub gives this error
grub-install: error: failed to get canonical path of ‘overlay’
Any suggestions are welcome, thank you!!!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Heya,
Here are some additional tips you might want to try,
Once you’re in Rescue Mode, you can try to mount the root filesystem to inspect it.
or
Mount your root partition: Assuming
/dev/sda1
is your root partition (replace with the actual device name), try:If you can mount it, inspect the
/boot
directory to check for any missing files or incorrect symlinks.Check and Reinstall GRUB
With the root filesystem mounted, you can try reinstalling GRUB. Make sure the
/boot
directory is intact.Reinstall GRUB: Attempt to reinstall GRUB with the following command:
If you’re still encountering
failed to get canonical path of 'overlay'
, it could indicate an issue with the filesystem layout or partition recognition.After reinstalling GRUB, generate a new GRUB configuration file:
Once you’ve completed these steps, unmount the filesystems and reboot the Droplet.
If this doesn’t help you might need to contact DigitalOcean support for further assistance.