

Open terminal after booting up into the live desktop.Your error is fixed, and the distro is back. You may be asked for a data connection if GRUB files are lost and the system wants to download them. You may be asked for your password type it, the password will remain invisible, which is normal. Now hit Ctrl+Alt+T and open terminal and type sudo update-grub and then sudo grub-install /dev/sda.


Now your PC/Laptop will reboot, and you will be on your desktop. After you’ve found the drive, enter this command insmod normal and then normal.Assuming that you have installed distro in 2nd option, enter this command set prefix=(hd0,msdos1)/boot/grub (Tip: – if you don’t remember the partition, try entering the command with every option.Select the partition in which your Linux distro is installed. You will now see many partitions which are present on your PC.Below are certain ways you can use to get your distro back from the screen of Grub Rescue. No matter the reason, most of the time, the problem is with the GRUB. You might have installed some software, might mess with GRUB2, who knows, you used some other distro trying dual booting and many other things. You might be thinking about what has happened to the distro. Let us discuss some grub rescue commands. Now you are here at LinuxAndUbunu to see how you can tackle this problem, save your precious data, and boot normally into Linux again. Just this lovely morning, you started your laptop and Boom! You get a black screen with a message that “Unknown Filesystem” and a message saying grub rescue.
