Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi, Yesterday one of our droplets started showing error: file ‘/grub/i386-pc/normal.mod’ not found error due to this our server got down and we are unable to connect with the server.
We raised a ticket to resolve it but they said:
After reviewing the details and the droplet Techdost the issue stems from the GRUB bootloader failing to find the file listed due to a change in GRUB’s method of checking for available files (or perhaps this file has actually been removed, either due to a problematic update or some improperly-formatted shell command). One way to try working around this would be to boot into our Recovery ISO: https://www.digitalocean.com/docs/droplets/resources/recovery-iso/
From there, you should be able to select option #1 from the Recovery menu to mount the Droplet’s virtual disk, then select option #5 to attempt to chroot into the Droplet’s filesystem. From within the chroot, you may issue a
grub-installcommand as noted below, replacing $disk with your current disk’s name as identified by thelsblkcommand (usually this will be vda): grub-install --root-directory=/ $disk If you’re unable to boot into your Droplet at this point, it may be helpful to try performing a manual check of the GRUB recovery environment as noted in the following link: https://askubuntu.com/a/462995As with any critical maintenance task, we advise that you create a snapshot of the Droplet before proceeding. https://docs.digitalocean.com/products/images/snapshots/how-to/create-and-restore-droplets/
We tried it but when we select option #5, nothing happened. We told him then they sent other instructions.
Can you please share the screenshot when your are trying to get in chroot by typing 5?
I understand that you are still stuck at Grub Rescue mode. It may be helpful to try performing a manual check of the GRUB recovery environment. Please review the below suggested links on how to troubleshoot the grub issue:
https://askubuntu.com/questions/266429/error-file-grub-i386-pc-normal-mod-not-found/462995#462995 https://askubuntu.com/questions/232215/stuck-in-grub-rescue-mode https://www.howtoforge.com/tutorial/repair-linux-boot-with-grub-rescue/
In order to install Grub, you can try to manually chroot into your Droplet’s filesystem by typing 6 in the recovery menu and then run:
chroot /mnt/
If you encounter any issues at this point, then you might want to try to unmount the disk, then go back to the BASH shell (from the Recovery menu) and try to manually mount your disk before attempting a chroot:
mount /dev/vda1 /mnt mount --bind /dev /mnt/dev mount --bind /dev/pts /mnt/dev/pts mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys chroot /mnt/
If that all completes without error, then from inside the chroot you can try to manually reinstall the GRUB bootloader with the below command:
grub-install /dev/vda
If that completes without error, then you can exit the chroot (CTRL+d keystroke, or the
exitcommand), go back to the Cloud panel and select the option to boot the Droplet from its Hard Disk, then power it off and back on.
This also didn’t work.
We then changed the Boot from Hard Drive and found the location of /grub/i386-pc/normal.mod at (hd0,glt1)/usr/lib/grub with the help of this video https://www.youtube.com/watch?v=vhZ415ZWNdY
We followed this video but got stucked when we run ls (hd0,gpt2)/boot command but it didn’t show vmlinuz-4.18.0-16-generic, initrd.img-4.18.0-16-generic files.
Kindly help me, I’m trying to resolve it since yesterday, it’s very urgent as we don’t have a data backup.
ebeecroft
Noor Bakkal
384d3f11289345379905a243f7b817
IsaacMvd
Ervan Agus
Teckno
dc1bce8262314f84b368813178d9e4
gerard
gerard
Stan Flint