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
Subscribe
Notify of
guest
36 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Sam
Sam
2020 years ago

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.

olf
olf
2020 years ago

this is great, thank you for the tip

fer
fer
2020 years ago

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
Shekin
2020 years ago

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
Tom
2020 years ago

Thank you so much this fixed my problem!

DS
DS
2020 years ago

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

Milind Kulkarni
Milind Kulkarni
2020 years ago

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
Shekin
2020 years ago

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
arealvel
2020 years ago

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

Norm
Norm
2020 years ago

Great and clear solution! thanks..!

Luisa Fernanda
Luisa Fernanda
2020 years ago

Thank you so much!! You saved my life.

sateesh
sateesh
2020 years ago

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

William
William
2020 years ago

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
Jumbo Joshua
2020 years ago

Awesome and thanks for sharing. It So Worked!

Awesome! thanks for sharing. It So Worked!

Jhon Lemain
Jhon Lemain
2020 years ago

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

Priyanka Saraf
Priyanka Saraf
2020 years ago

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

Jimmy
Jimmy
2020 years ago

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.

jaz
jaz
2020 years ago

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.

mohan
mohan
2020 years ago

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
bobi
2020 years ago

thank you for this help

Victor
Victor
2020 years ago

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
ham sarnie
2020 years ago

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
sadique khan
2020 years ago

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

viki
viki
2020 years ago

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
Shekin
2020 years ago
dhairya
dhairya
2020 years ago

after typing
insmod normal

error : no such partition

what to do next? 🙁

Eric
Eric
2020 years ago

Works for me. Thankyou so muchh!

Ria
Ria
2020 years ago

after typing
grub rescue> insmod normal

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

Abishek
Abishek
2020 years ago

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

LinuxUser
LinuxUser
2020 years ago

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

Kris
Kris
2020 years ago

thanks 🙂

Shekin
Shekin
2020 years ago
Shekin
Shekin
2020 years ago
anonm
anonm
2020 years ago

Tks, worked perfectly!

Mojtaba
Mojtaba
7 months ago

Thank you!

NormN
NormN
5 months ago

Please have some one carefully review for grammer.

36
0
Would love your thoughts, please comment.x
()
x

Spelling error report

The following text will be sent to our editors: