"I'm not anti-social; I'm just not user friendly"
All articles
Last comments
Przemek Dąbrowski
Świetny program,używam Oto adres do bloga: http://404.g-net.pl/
Shekin
You can install 370 version also
Vitali80
Thank you so much for your help Shekin, you're great
Shekin
1. sudo xed /etc/apt/sources.list.d/ewscott9-snes9x-trusty.list 2. paste there 2 strings deb http://ppa.launchpad.net/ewscott9/snes9x/ubuntu trusty main deb-src http://ppa.launchpad.net/ewscott9/snes9x/ubuntu trusty main 3. add GPG key.
Archive
«    December 2016    »
MonTueWedThuFriSatSun
 1234
567891011
12131415161718
19202122232425
262728293031 
» » Repair GRUB: error: unknown filesystem. grub rescue> in Linux Mint/PinguyOS

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

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.



Sorry for the spelling and phonetic errors in the text.
Owner and main writer of MintGuide.org is not a native English speaker.


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

Tags: grub system

Related articles

32 comments

  1. Kris
    thanks :)
  2. LinuxUser
    This saved my day. Thanks a ton for the detailed tutorial.
  3. Ria
    after typing
    grub rescue> insmod normal

    error: attempt to read or write outside of disk 'hd0'.
  4. Eric
    Works for me. Thankyou so muchh!
  5. dhairya
    after typing
    insmod normal

    error : no such partition

    what to do next? :(
  6. Shekin
    x64 Linux Mint 18 cinnamon
  7. viki
    i didnot found msdos6 and i tried some other hd0 msdos5 4 3 2 and its showing unknown file system.. what is the resolution?
  8. sadique khan
    hamВ sarnie,
    put a slash "/" after command
  9. ham sarnie
    ls
    (hd0) (hd0,msdos5) (hd0,msdos1)
    ls (hd0)/
    unknown filesystem
    ls (hd0,msdos5)/
    unknown filesystem
    ls (hd0,msdos1)
    unknown filesystem

    what must i do?
  10. Victor
    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.
  11. bobi
    thank you for this help
  12. mohan
    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
  13. jaz
    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.
  14. Jimmy
    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.
  15. 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
  16. Jhon Lemain
    It worked great!
    Nice and clean. It fixed my grub after updating to windows 10. Thank you
  17. Jumbo Joshua
    Awesome and thanks for sharing. It So Worked!

    Awesome! thanks for sharing. It So Worked!
  18. William
    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.
  19. sateesh
    error: file '/boot/grub/i386-pc/normal.mod' not found error ..pls help me. ..thanks
  20. Luisa Fernanda
    Thank you so much!! You saved my life.
  21. Norm
    Great and clear solution! thanks..!
  22. arealvel
    Great post! In 5 minutes my grub was on again. Thankyou!
  23. Shekin
    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 cinnamon
  24. Milind Kulkarni
    ls
    (hd0) (hd0,msdos1) (hd0,msdos2)
    ls (hd0)/
    unknown filesystem
    ls (hd0,msdos2)/
    unknown filesystem
    ls (hd0,msdos1)
    unknown filesystem

    what must I do?
  25. DS
    Thanks, problem soved!
    The Grub 2 disappeared after Win7 upgrade to Ultimate ed.
  26. Tom
    Thank you so much this fixed my problem!
  27. Shekin
    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 cinnamon
    1. Abishek
      Bro my PC is also having the same problem ..... How to recover from that??
  28. 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?
  29. olf
    this is great, thank you for the tip
  30. Sam
    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.
  • bowtiesmilelaughingblushsmileyrelaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypensive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
Login via
Up