Fixing Grub Rescue Errors on Linux

How to Fix Grub Rescue or GRUB Missing Error on Linux

GRUB is multiboot boot loader which is on the GNU/Linux operating system, which will display a menu in the form of a list of operating systems installed on the computer or laptop to load.

With GRUB, users can use more than one operating system on their device, and can choose which operating system to use in the GRUB menu when the device is turned on.

GRUB rescue is a error what happens to GRUB caused by missing GRUB files or system can’t find GRUB files so device can’t load GRUB to show operating system.

There are two ways to fix GRUB rescue, that is by repairing directly without installation media or by using media live USB or CD/DVD installation. For the first way, that is without using media live installation, you can go to the link below.

And in this article, I provide a tutorial on how to fix GRUB errors rescue by using media live installation. Let’s begin..

Fixing GRUB Rescue Errors on Linux Using Media Live Installation

Because using media live installation, it requires an iso from a Linux distribution, you can use Ubuntu, Kali Linux and so on. In this tutorial I use Kali Linux, but you can use Ubuntu and others. Burning the iso into a CD/DVD or create it bootable on a USB flash drive.

Then boot the installation media on a laptop or computer device. Then do live boot and wait for the boot to finish so go to Desktop.

After boot finished and successfully logged in to Desktops. Open a terminal and type the following command to search for partitions root (/) or file system on the device.

sudo fdisk -l

Then the partitions marked with the name will appear device /dev/sda1 or
/dev/sda2 and so on on each partition as shown below. To check partition root(/) or file system Linux look on tab Typepartition file system will be marked with Linux Types. As in the image below, device /dev/sda3 is file system GRUB installed.

Fixing Grub Rescue Using Live Installation Media
Searching for File System Partition

After successfully finding filesystems, type the following commands in the terminal, replace /dev/sda3 by the name device file system You.

sudo mount /dev/sda3 /mnt/
sudo mount -t proc proc /mnt/proc/
sudo mount -t sysfs sys /mnt/sys/
sudo mount -o bind /dev/ /mnt/dev/
sudo chroot /mnt /bin/bash
sudo grub-install /dev/sda
sudo update-grub
Fixing Grub Rescue Using Live Installation Media
Fixed GRUB Rescue Error

After all the commands are successful, restart or restart computer, don’t forget to unplug the installation media first.

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *