Repair GRUB: error: unknown filesystem. grub rescue> in Linux Mint/PinguyOS
   
All articles
Last comments
Shekin
Will, 16-11-2014, 19:21
Will
Didnt see when this post was originally made....but still works in Mint 'Sarah' in 2017
kardamom
Jesús, for "libpackagekit" run: sudo apt-get install packagekit-backend-aptcc
Guest Michael
This is my favorite GUI text editor for Linux, I use the Windows version all the time too. I also covered this topic here.
Andrii
I'm using Mint Cinnamone installed on virtual machine VMWare. The instruction helped me to adjust my mouse scroll wheel speed. I set the value to 6. Now it's comfortable to use the mouse. Thanks a lot!
Archive
«    January 2017    »
MonTueWedThuFriSatSun
 1
2345678
9101112131415
16171819202122
23242526272829
3031 
» » 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

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.
olf
this is great, thank you for the tip
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
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.1 cinnamon
Tom
Thank you so much this fixed my problem!
DS
Thanks, problem soved!
The Grub 2 disappeared after Win7 upgrade to Ultimate ed.
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
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.1 cinnamon
arealvel
Great post! In 5 minutes my grub was on again. Thankyou!
Norm
Great and clear solution! thanks..!
Luisa Fernanda
Thank you so much!! You saved my life.
sateesh
error: file '/boot/grub/i386-pc/normal.mod' not found error ..pls help me. ..thanks
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
Awesome and thanks for sharing. It So Worked!

Awesome! thanks for sharing. It So Worked!
Jhon Lemain
It worked great!
Nice and clean. It fixed my grub after updating to windows 10. Thank you
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
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.
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.
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
thank you for this help
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
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
hamВ sarnie,
put a slash "/" after command
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
x64 Linux Mint 18.1 cinnamon
dhairya
after typing
insmod normal

error : no such partition

what to do next? :(
Eric
Works for me. Thankyou so muchh!
Ria
after typing
grub rescue> insmod normal

error: attempt to read or write outside of disk 'hd0'.
Abishek
Bro my PC is also having the same problem ..... How to recover from that??
LinuxUser
This saved my day. Thanks a ton for the detailed tutorial.
  • 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
Name of our planet
Up