I am new to Ubuntu. I was restarting the system and got the following message:
error: file '/boot/grub/i386-pc/extcmd.mod' not found.
Entering rescue mode...
grub rescue>'
What do I do?
I am new to Ubuntu. I was restarting the system and got the following message:
error: file '/boot/grub/i386-pc/extcmd.mod' not found.
Entering rescue mode...
grub rescue>'
What do I do?
Oh dear it sounds like your grub boot loader is corrupt.
You can do the following to repair it.
try ubuntu without installing
.BUT FIRST This assumes that your hard drive is showing as /dev/sda
you may need to adjust. If you computer is under 10 years old and has only one hdd and your not running under a virtual machine then your hdd is probably lableled /dev/sda
These are the commands to reinstall the boot loader.
sudo mount /dev/sda1 /mnt
sudo grub-install --boot-directory=/mnt /dev/sda
sudo reboot
There's a simple way to solve grub problems: https://help.ubuntu.com/community/Boot-Repair You don't even need to edit any configs.