Repair GRUB: error: unknown filesystem. grub rescue>

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 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>
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 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 Mint
Check the proper ways
ls /

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

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

The site has moved to a new engine, help me fix bugs, send me your notify by selecting that text and pressing Ctrl+Enter.

Share to friends
Shekin
Rate author
( No ratings yet )
MintGuide.Org

35
Leave a Reply

avatar
35 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
30 Comment authors
MojtabaanonmShekinLinuxUserRia Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Eric
Guest
Eric

Works for me. Thankyou so muchh!

mohan
Guest
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

bobi
Guest
bobi

thank you for this help

Victor
Guest
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.

ham sarnie
Guest
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?

sadique khan
Guest
sadique khan

hamВ sarnie,
put a slash "/" after command

viki
Guest
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?

Shekin
Guest
Shekin
dhairya
Guest
dhairya

after typing
insmod normal

error : no such partition

what to do next? 🙁

olf
Guest
olf

this is great, thank you for the tip

Ria
Guest
Ria

after typing
grub rescue> insmod normal

error: attempt to read or write outside of disk 'hd0'.

Abishek
Guest
Abishek

Bro my PC is also having the same problem ….. How to recover from that??

LinuxUser
Guest
LinuxUser

This saved my day. Thanks a ton for the detailed tutorial.

Kris
Guest
Kris

thanks 🙂

Shekin
Guest
Shekin
Shekin
Guest
Shekin
anonm
Guest
anonm

Tks, worked perfectly!

Jimmy
Guest
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.

Sam
Guest
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.

fer
Guest
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?

Shekin
Guest
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

Tom
Guest
Tom

Thank you so much this fixed my problem!

DS
Guest
DS

Thanks, problem soved!
The Grub 2 disappeared after Win7 upgrade to Ultimate ed.

Milind Kulkarni
Guest
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?

Shekin
Guest
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

arealvel
Guest
arealvel

Great post! In 5 minutes my grub was on again. Thankyou!

Norm
Guest
Norm

Great and clear solution! thanks..!

Luisa Fernanda
Guest
Luisa Fernanda

Thank you so much!! You saved my life.

sateesh
Guest
sateesh

error: file '/boot/grub/i386-pc/normal.mod' not found error ..pls help me. ..thanks

William
Guest
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.

Jumbo Joshua
Guest
Jumbo Joshua

Awesome and thanks for sharing. It So Worked!

Awesome! thanks for sharing. It So Worked!

Jhon Lemain
Guest
Jhon Lemain

It worked great!
Nice and clean. It fixed my grub after updating to windows 10. Thank you

Priyanka Saraf
Guest
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

jaz
Guest
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.

Mojtaba
Guest
Mojtaba

Thank you!

Spelling error report

The following text will be sent to our editors: