This post will quickly show you how to solve unknown filesystem error when trying to boot an OS version from your machine.


Why does this happen?
In my case, I have a dual boot that allows me to choose between Windows 10 and Manjaro Linux. I encountered this problem when I used Windows and it started doing updates and trying to restart to install them. It seems like Windows overwrites some files at some level and messes up both systems and the dual boot tool.
How to fix it?
You can fix this very simply and quickly with just a few commands. No need to reinstall your OS and lose any data because your data is still there, ready to be loaded.
Follow the commands below to fix the issue:
- You will be shown the grub rescue command line. Run
set
to check how your machine is set up to boot the OS. - Run
ls
to see the names of the available partitions. - Run
ls (partition name)
to check if it has got any booting file. Example:ls (hd0, msdos1)
- Run set root=(partition name) . Example:
set root=(hd0,msdos1)
- Run set prefix=(partition name)/boot/grub . Example:
set prefix=(hd0,msdos1)/boot/grub
- Run
insmod normal
- Run
normal
- This will restart your machine and take you to the dual boot screen to let you select your OS.
- Boot your linux system, open a terminal and run:
sudo update-grub
- Then run
sudo grub-install /dev/sda
(sda might differ on yours)
In conclusion, this blog post shows you what commands to run to allow you to use grub rescue mode to fix your OS loading issue. Once you go through these steps you will be able to restart your machine and not see the ‘unknown filesystem’ error.