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

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

Section: System | Actuality: Unspecified

GRUB: error: unknown filesystem. grub rescue>

What to do if you turn your computer you saw this inscription?
Consider the original method of recovering GRUB without booting from the LiveCD.

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:

  • The first part of GRUB recorded in the MBR of the disk. It contains the basic functionality and no more. This is exactly these 4 commands.
  • The second part GRUB - she lies in the directory /boot/grub and contains modules to boot the system.

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!!!

Print version

  1. Sam
    Sam 10 December 2014 20:21
    Worked perfectly! Thanks a lot.

    Quote: Sam
    Worked perfectly! Thanks a lot.

    This happened after a Windows 7 update, so you may not want to have automatic updates set unless you want to go through this again.
    • 0
  2. olf
    olf 10 January 2015 05:55
    this is great, thank you for the tip
    • +1
  3. fer
    fer 13 January 2015 01:11
    ls
    (hd0) (hd0,msdos5) (hd0,msdos1)
    ls (hd0)/
    unknown filesystem
    ls (hd0,msdos5)/
    unknown filesystem
    ls (hd0,msdos1)
    unknown filesystem

    what must i do?
    • 0
  4. Shekin 30 January 2015 11:44
    Quote: fer
    ls
    (hd0) (hd0,msdos5) (hd0,msdos1)
    ls (hd0)/
    unknown filesystem
    ls (hd0,msdos5)/
    unknown filesystem
    ls (hd0,msdos1)
    unknown filesystem

    what must i do?

    I think you should use this method https://mintguide.org/tools/37-restore-grub-boot-loader-in-linux-mint-after-inst
    allation-reinstallation-windows.html
    --------------------
    x64 Linux Mint 18.3 cinnamon
    • +3
    1. Abishek
      Abishek 10 April 2016 09:54
      Bro my PC is also having the same problem ..... How to recover from that??
      • -1
  5. Tom
    Tom 3 March 2015 13:41
    Thank you so much this fixed my problem!
    • 0
  6. DS
    DS 9 March 2015 23:42
    Thanks, problem soved!
    The Grub 2 disappeared after Win7 upgrade to Ultimate ed.
    • 0
  7. Milind Kulkarni
    Milind Kulkarni 18 May 2015 14:17
    ls
    (hd0) (hd0,msdos1) (hd0,msdos2)
    ls (hd0)/
    unknown filesystem
    ls (hd0,msdos2)/
    unknown filesystem
    ls (hd0,msdos1)
    unknown filesystem

    what must I do?
    • +5
  8. Shekin 18 May 2015 14:32
    Quote: Milind Kulkarni
    ls
    what must I do?

    Please use this solve
    https://mintguide.org/tools/37-restore-grub-boot-loader-in-linux-mint-after-inst
    allation-reinstallation-windows.html
    --------------------
    x64 Linux Mint 18.3 cinnamon
    • +1
  9. arealvel
    arealvel 5 June 2015 17:50
    Great post! In 5 minutes my grub was on again. Thankyou!
    • 0
  10. Norm
    Norm 18 June 2015 16:10
    Great and clear solution! thanks..!
    • +1
  11. Luisa Fernanda
    Luisa Fernanda 26 August 2015 09:49
    Thank you so much!! You saved my life.
    • 0
  12. sateesh
    sateesh 28 August 2015 00:41
    error: file '/boot/grub/i386-pc/normal.mod' not found error ..pls help me. ..thanks
    • 0
  13. William
    William 11 September 2015 18:13
    Shekin, outstanding! Thank you very much! You have a gift for explaining this stuff in a way that's easily understandable. I was on day three of trying to fix this problem when I found your article. Seriously, thank you.
    • +1
  14. Jumbo Joshua
    Jumbo Joshua 11 October 2015 10:23
    Awesome and thanks for sharing. It So Worked!

    Awesome! thanks for sharing. It So Worked!
    • +1
  15. Jhon Lemain
    Jhon Lemain 11 October 2015 22:16
    It worked great!
    Nice and clean. It fixed my grub after updating to windows 10. Thank you
    • 0
  16. Priyanka Saraf
    Priyanka Saraf 14 October 2015 07:35
    I have the same problem as you. but when i type the ls command in grub rescue mode, i get it as (hd0,gpt1),(hd0,gpt2) and not as (hd0,msdos1). What am i supposed to do then
    • 0
  17. Jimmy
    Jimmy 19 October 2015 08:21
    Much Thanks for this post so that I fix kali linux partition issue.

    Quote: Priyanka Saraf
    I have the same problem as you. but when i type the ls command in grub rescue mode, i get it as (hd0,gpt1),(hd0,gpt2) and not as (hd0,msdos1). What am i supposed to do then

    the type gpt* is some thing equal to mddoc* in the post. you just type corresponded No. to fix the issue. Rest to follow the post mentioned. Just it.
    • 0
  18. jaz
    jaz 23 October 2015 19:39
    wanted to say thanks for posting this.

    w7 crash and a slight mishap with mint left me with the grub error.

    your post helped a newbie to linux, (but willing learn) fix what would previously have been far beyond my skill set...cheers.
    • 0
  19. mohan
    mohan 25 October 2015 06:43
    ls
    (hd0) (hd0,msdos3) (hd,msdos2) (hd0,msdos1)
    ls (hd0,msdos1)/
    Unknown file system
    ls (hd0,msdos2)/
    Unknown file system
    ls (hd0,msdos3)/
    Unknown file system
    What must i do now
    • -1
  20. bobi
    bobi 11 November 2015 21:49
    thank you for this help
    • 0
  21. Victor
    Victor 17 November 2015 06:34
    Thanks! Work great after the update of windows 10 that me make crash the notebook with that error. Thank you! Bty i use bugtraq II and windows 10 in the same notebook.
    • 0
  22. ham sarnie
    ham sarnie 19 November 2015 10:50
    ls
    (hd0) (hd0,msdos5) (hd0,msdos1)
    ls (hd0)/
    unknown filesystem
    ls (hd0,msdos5)/
    unknown filesystem
    ls (hd0,msdos1)
    unknown filesystem

    what must i do?
    • +7
  23. sadique khan
    sadique khan 9 December 2015 18:30
    hamВ sarnie,
    put a slash "/" after command
    • -1
  24. viki
    viki 10 January 2016 06:22
    i didnot found msdos6 and i tried some other hd0 msdos5 4 3 2 and its showing unknown file system.. what is the resolution?
    • +4
  25. Shekin 10 January 2016 08:32
    --------------------
    x64 Linux Mint 18.3 cinnamon
    • +1
  26. dhairya
    dhairya 22 January 2016 10:59
    after typing
    insmod normal

    error : no such partition

    what to do next? :(
    • 0
  27. Eric
    Eric 30 March 2016 10:44
    Works for me. Thankyou so muchh!
    • +2
  28. Ria
    Ria 1 April 2016 07:42
    after typing
    grub rescue> insmod normal

    error: attempt to read or write outside of disk 'hd0'.
    • 0
  29. LinuxUser
    LinuxUser 3 May 2016 17:15
    This saved my day. Thanks a ton for the detailed tutorial.
    • +1
  30. Kris
    Kris 5 May 2016 18:31
    thanks :)
    • +1
TOP OF THE MONTH
    Your working environment Other polls