How to fix "error: unknown filesystem. grub rescue

New to Debian (Or Linux in general)? Ask your questions here!

How to fix "error: unknown filesystem. grub rescue

Postby lilyana » 2018-07-05 17:10

I have windows and Debian on PC, after creating a new partition in windows
I get this error: when booting Debian

Code: Select all
Error: unknown filesystem.
grub rescue>

I solved the problem according to this command:
Code: Select all
ls
ls (hd0,msdos3)
set prefix=(hd0,msdos3)/boot/grub
insmode normal
normal


I solved but after shutting down and start again it appears again and again!!!
if I delete the new partition, is the problem solve??
or what I can do to fix this, can you help, please?
lilyana
 
Posts: 19
Joined: 2017-11-07 15:28

Re: How to fix "error: unknown filesystem. grub rescue

Postby bw123 » 2018-07-05 19:50

If it was my problem, I would run fdisk -l and post the output on here in code tags. Then I would ask advice about how to reinstall/update grub correctly. I would not do anything until I was pretty sure that the commands i entered would work.

Until then, you can use a live system on usb or cd to access and backup your data, if you have not done this already.
User avatar
bw123
 
Posts: 3139
Joined: 2011-05-09 06:02
Location: TN_USA

Re: How to fix "error: unknown filesystem. grub rescue

Postby lilyana » 2018-07-05 19:59

debian work fine when using this commands, but the problem is when restarting I need to do the same commands
lilyana
 
Posts: 19
Joined: 2017-11-07 15:28

Re: How to fix "error: unknown filesystem. grub rescue

Postby Dai_trying » 2018-07-05 20:05

After running your commands and getting Debian working you could re-install grub.
Dai_trying
 
Posts: 470
Joined: 2016-01-07 12:25

Re: How to fix "error: unknown filesystem. grub rescue

Postby lilyana » 2018-07-05 20:13

Dai_trying wrote:After running your commands and getting Debian working you could re-install grub.

How can re-install grub, can you gave me the command please?
lilyana
 
Posts: 19
Joined: 2017-11-07 15:28

Re: How to fix "error: unknown filesystem. grub rescue

Postby Dai_trying » 2018-07-05 20:28

If your machine uses BIOS and your HDD is /dev/sda you can use this command
Code: Select all
grub-install /dev/sda
as root (or use sudo)
Dai_trying
 
Posts: 470
Joined: 2016-01-07 12:25

Re: How to fix "error: unknown filesystem. grub rescue

Postby lilyana » 2018-07-05 20:51

Dai_trying wrote:If your machine uses BIOS and your HDD is /dev/sda you can use this command
Code: Select all
grub-install /dev/sda
as root (or use sudo)

Thank you soooo much you solve my problem
lilyana
 
Posts: 19
Joined: 2017-11-07 15:28

Re: How to fix "error: unknown filesystem. grub rescue

Postby Dai_trying » 2018-07-06 07:39

You are welcome :)
Dai_trying
 
Posts: 470
Joined: 2016-01-07 12:25


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable