MintGuide.org / Repair GRUB: error: unknown filesystem. grub rescue> in Linux Mint/PinguyOS

Repair GRUB: error: unknown filesystem. grub rescue> in Linux Mint/PinguyOS

More commonly known (universal) method to restore the bootloader as described in article RESTORE GRUB BOOT LOADER IN LINUX MINT AFTER INSTALLATION/REINSTALLATION WINDOWS

But consider another way...

Repair GRUB: error: unknown filesystem. grub rescue> in Linux MintRepair GRUB: error: unknown filesystem. grub rescue> in Linux Mint

In Grub Rescue Mode is available only four commands:

ls
set
unset
insmod

 

And as we know, Grub consists of two parts:

[banner_inside-articles]{banner_inside-articles}[/banner_inside-articles]

Therefore we can restore GRUB is as follows:

  1. we need to load all the modules to enable all the functionality of Grub
  2. to start with the desired section

For the beginning by command ls look what devices we have available in GRUB2.

Repair GRUB: error: unknown filesystem. grub rescue> in Linux Mint>Repair GRUB: error: unknown filesystem. grub rescue> in Linux Mint> 

Now, the enumeration of sections, we need to find the drive with the installed Linux Mint. In the figure, the correct disk number 6

ls (hd0,msdos6)/

Repair GRUB: error: unknown filesystem. grub rescue> in Linux MintRepair GRUB: error: unknown filesystem. grub rescue> in Linux Mint

I want to note that Grub sees only the disk partitions and does not understand what kind of file systems are on them. Therefore, all sections, we are seen as msdos.
I guessed section, and if you will not know what's where, have to try few times. Maybe things will become more complicated if you have more than one HDD, then you will see hd0, hd1, etc.

When the desired partition is found, you need to specify the path to the modules Grub2:

set prefix=(hd0,6)/boot/grub

And the path to the file system kernel image:

set root=(hd0,6)

Repair GRUB: error: unknown filesystem. grub rescue> in Linux MintRepair GRUB: error: unknown filesystem. grub rescue> in Linux Mint 

Check the proper ways

ls /

Repair GRUB: error: unknown filesystem. grub rescue> in Linux MintRepair GRUB: error: unknown filesystem. grub rescue> in Linux Mint

Repair GRUB: error: unknown filesystem. grub rescue> in Linux MintRepair GRUB: error: unknown filesystem. grub rescue> in Linux Mint 

After connecting the module with the command normal, Grub will go into full operations. Look at the screenshot above.

It will automatically find all operating systems, and displays the boot menu. Look at the screenshot below.

Repair GRUB: error: unknown filesystem. grub rescue> in Linux MintRepair GRUB: error: unknown filesystem. grub rescue> in Linux Mint 

To secure the changes you must boot to Linux Mint and execute the following commands in terminal:

sudo update-grub
sudo grub-install /dev/sda

sda - our drive with the installed system

These commands will reinstall the code in the MBR Grub, and it will automatically pick up the second part of the partition from which you booted.

 

Good Luck!!!

1-07-2014, 09:19
Go Back