How to fix “Error: unknown filesystem. grub rescue>“











up vote
0
down vote

favorite












I have Windows 10 and Ubuntu on my PC. After I updated Windows I received this message:



Error: unknown filesystem
grub rescue>


I entered these commands:



set root=(hd0,6)
set prefix=(hd0,6)/boot/grub
insmod normal
normal


It worked fine but when I restarted the PC the same error message came up, so I deleted the partitions with Ubuntu. I restarted the PC and again the same error. Now when I try to put the commands from above I receive unknown filesystem.



What do I need to do to avoid this grub rescue?





I tried to run the commands given in the answer in a root shell but when I try to run the first command mount -t ext4 /dev/sda6 /mnt/ubuntu it returns



mount: /mnt/ubuntu: mount point does not exist


Maybe I haven't selected the correct partition so here I give you a link to check all my partitions and decide which one is the partition with Ubuntu:



fdisk output










share|improve this question




















  • 3




    Possible duplicate of Grub rescue - error: unknown filesystem
    – karel
    Nov 6 at 8:09






  • 1




    You deleted the Ubuntu partition, so maybe what you want is How to remove Ubuntu and put Windows back on?
    – Zanna
    Nov 16 at 12:46















up vote
0
down vote

favorite












I have Windows 10 and Ubuntu on my PC. After I updated Windows I received this message:



Error: unknown filesystem
grub rescue>


I entered these commands:



set root=(hd0,6)
set prefix=(hd0,6)/boot/grub
insmod normal
normal


It worked fine but when I restarted the PC the same error message came up, so I deleted the partitions with Ubuntu. I restarted the PC and again the same error. Now when I try to put the commands from above I receive unknown filesystem.



What do I need to do to avoid this grub rescue?





I tried to run the commands given in the answer in a root shell but when I try to run the first command mount -t ext4 /dev/sda6 /mnt/ubuntu it returns



mount: /mnt/ubuntu: mount point does not exist


Maybe I haven't selected the correct partition so here I give you a link to check all my partitions and decide which one is the partition with Ubuntu:



fdisk output










share|improve this question




















  • 3




    Possible duplicate of Grub rescue - error: unknown filesystem
    – karel
    Nov 6 at 8:09






  • 1




    You deleted the Ubuntu partition, so maybe what you want is How to remove Ubuntu and put Windows back on?
    – Zanna
    Nov 16 at 12:46













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have Windows 10 and Ubuntu on my PC. After I updated Windows I received this message:



Error: unknown filesystem
grub rescue>


I entered these commands:



set root=(hd0,6)
set prefix=(hd0,6)/boot/grub
insmod normal
normal


It worked fine but when I restarted the PC the same error message came up, so I deleted the partitions with Ubuntu. I restarted the PC and again the same error. Now when I try to put the commands from above I receive unknown filesystem.



What do I need to do to avoid this grub rescue?





I tried to run the commands given in the answer in a root shell but when I try to run the first command mount -t ext4 /dev/sda6 /mnt/ubuntu it returns



mount: /mnt/ubuntu: mount point does not exist


Maybe I haven't selected the correct partition so here I give you a link to check all my partitions and decide which one is the partition with Ubuntu:



fdisk output










share|improve this question















I have Windows 10 and Ubuntu on my PC. After I updated Windows I received this message:



Error: unknown filesystem
grub rescue>


I entered these commands:



set root=(hd0,6)
set prefix=(hd0,6)/boot/grub
insmod normal
normal


It worked fine but when I restarted the PC the same error message came up, so I deleted the partitions with Ubuntu. I restarted the PC and again the same error. Now when I try to put the commands from above I receive unknown filesystem.



What do I need to do to avoid this grub rescue?





I tried to run the commands given in the answer in a root shell but when I try to run the first command mount -t ext4 /dev/sda6 /mnt/ubuntu it returns



mount: /mnt/ubuntu: mount point does not exist


Maybe I haven't selected the correct partition so here I give you a link to check all my partitions and decide which one is the partition with Ubuntu:



fdisk output







grub2 grubrescue






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 16 at 12:45









Zanna

48.9k13123234




48.9k13123234










asked Nov 6 at 7:38









Capatina Stefan

12




12








  • 3




    Possible duplicate of Grub rescue - error: unknown filesystem
    – karel
    Nov 6 at 8:09






  • 1




    You deleted the Ubuntu partition, so maybe what you want is How to remove Ubuntu and put Windows back on?
    – Zanna
    Nov 16 at 12:46














  • 3




    Possible duplicate of Grub rescue - error: unknown filesystem
    – karel
    Nov 6 at 8:09






  • 1




    You deleted the Ubuntu partition, so maybe what you want is How to remove Ubuntu and put Windows back on?
    – Zanna
    Nov 16 at 12:46








3




3




Possible duplicate of Grub rescue - error: unknown filesystem
– karel
Nov 6 at 8:09




Possible duplicate of Grub rescue - error: unknown filesystem
– karel
Nov 6 at 8:09




1




1




You deleted the Ubuntu partition, so maybe what you want is How to remove Ubuntu and put Windows back on?
– Zanna
Nov 16 at 12:46




You deleted the Ubuntu partition, so maybe what you want is How to remove Ubuntu and put Windows back on?
– Zanna
Nov 16 at 12:46










1 Answer
1






active

oldest

votes

















up vote
0
down vote













You'd need a live disk running Ubuntu or any Linux variant.



After such, follow the commands here to mount the necessary drives and chroot into the directory.



For the CHROOT PROCESS



See this article



I've highlighted the commands you can use in the window below:



sudo mount -t ext4 /dev/sda6 /mnt/ubuntu


Confirm that sda6 is your current root partition.



sudo mount /dev/sda1 /mnt/ubuntu/boot


Check if this drive is your windows boot partition



Then follow up and mount the other required filesystems



sudo mount -t proc none /mnt/ubuntu/proc
sudo mount -o bind /dev /mnt/ubuntu/dev
sudo mount -o bind /sys /mnt/ubuntu/sys


Follow up to chroot here using this:



chroot /mnt/ubuntu /bin/bash


You should get into another window screen with a terminal window



COMMANDS TO FIX FILESYSTEM MAPPINGS



Run the following to fix your issue



sudo grub-install /dev/sda
sudo update-grub


That should fix your GRUB issues for you automatically with the default filesystems containing your various operating systems.






share|improve this answer























  • But if I want to get rid of Ubuntu and run windows only is there any easier method?
    – Capatina Stefan
    Nov 6 at 10:34










  • You'd have to delete the Ubuntu partition and then restore the windows grub. Restoring it is optional as you could always continue with the linux one, if you're interested tho, it requires you have a windows bootable disk to get to the windows recovery option and reset your BCD configuration. More details here about how to do that after deleting the partition here: lifewire.com/how-to-rebuild-the-bcd-in-windows-2624508
    – Bakare Emmanuel
    Nov 6 at 14:56












  • What is the command for writing on this site “program language”?
    – Capatina Stefan
    Nov 7 at 10:17












  • Sorry, could you expatiate on what you mean ---- "by writing on the site 'program language' " please
    – Bakare Emmanuel
    Nov 7 at 13:05










  • How can i write with that font with grey background
    – Capatina Stefan
    Nov 7 at 14:19











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1090423%2fhow-to-fix-error-unknown-filesystem-grub-rescue%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













You'd need a live disk running Ubuntu or any Linux variant.



After such, follow the commands here to mount the necessary drives and chroot into the directory.



For the CHROOT PROCESS



See this article



I've highlighted the commands you can use in the window below:



sudo mount -t ext4 /dev/sda6 /mnt/ubuntu


Confirm that sda6 is your current root partition.



sudo mount /dev/sda1 /mnt/ubuntu/boot


Check if this drive is your windows boot partition



Then follow up and mount the other required filesystems



sudo mount -t proc none /mnt/ubuntu/proc
sudo mount -o bind /dev /mnt/ubuntu/dev
sudo mount -o bind /sys /mnt/ubuntu/sys


Follow up to chroot here using this:



chroot /mnt/ubuntu /bin/bash


You should get into another window screen with a terminal window



COMMANDS TO FIX FILESYSTEM MAPPINGS



Run the following to fix your issue



sudo grub-install /dev/sda
sudo update-grub


That should fix your GRUB issues for you automatically with the default filesystems containing your various operating systems.






share|improve this answer























  • But if I want to get rid of Ubuntu and run windows only is there any easier method?
    – Capatina Stefan
    Nov 6 at 10:34










  • You'd have to delete the Ubuntu partition and then restore the windows grub. Restoring it is optional as you could always continue with the linux one, if you're interested tho, it requires you have a windows bootable disk to get to the windows recovery option and reset your BCD configuration. More details here about how to do that after deleting the partition here: lifewire.com/how-to-rebuild-the-bcd-in-windows-2624508
    – Bakare Emmanuel
    Nov 6 at 14:56












  • What is the command for writing on this site “program language”?
    – Capatina Stefan
    Nov 7 at 10:17












  • Sorry, could you expatiate on what you mean ---- "by writing on the site 'program language' " please
    – Bakare Emmanuel
    Nov 7 at 13:05










  • How can i write with that font with grey background
    – Capatina Stefan
    Nov 7 at 14:19















up vote
0
down vote













You'd need a live disk running Ubuntu or any Linux variant.



After such, follow the commands here to mount the necessary drives and chroot into the directory.



For the CHROOT PROCESS



See this article



I've highlighted the commands you can use in the window below:



sudo mount -t ext4 /dev/sda6 /mnt/ubuntu


Confirm that sda6 is your current root partition.



sudo mount /dev/sda1 /mnt/ubuntu/boot


Check if this drive is your windows boot partition



Then follow up and mount the other required filesystems



sudo mount -t proc none /mnt/ubuntu/proc
sudo mount -o bind /dev /mnt/ubuntu/dev
sudo mount -o bind /sys /mnt/ubuntu/sys


Follow up to chroot here using this:



chroot /mnt/ubuntu /bin/bash


You should get into another window screen with a terminal window



COMMANDS TO FIX FILESYSTEM MAPPINGS



Run the following to fix your issue



sudo grub-install /dev/sda
sudo update-grub


That should fix your GRUB issues for you automatically with the default filesystems containing your various operating systems.






share|improve this answer























  • But if I want to get rid of Ubuntu and run windows only is there any easier method?
    – Capatina Stefan
    Nov 6 at 10:34










  • You'd have to delete the Ubuntu partition and then restore the windows grub. Restoring it is optional as you could always continue with the linux one, if you're interested tho, it requires you have a windows bootable disk to get to the windows recovery option and reset your BCD configuration. More details here about how to do that after deleting the partition here: lifewire.com/how-to-rebuild-the-bcd-in-windows-2624508
    – Bakare Emmanuel
    Nov 6 at 14:56












  • What is the command for writing on this site “program language”?
    – Capatina Stefan
    Nov 7 at 10:17












  • Sorry, could you expatiate on what you mean ---- "by writing on the site 'program language' " please
    – Bakare Emmanuel
    Nov 7 at 13:05










  • How can i write with that font with grey background
    – Capatina Stefan
    Nov 7 at 14:19













up vote
0
down vote










up vote
0
down vote









You'd need a live disk running Ubuntu or any Linux variant.



After such, follow the commands here to mount the necessary drives and chroot into the directory.



For the CHROOT PROCESS



See this article



I've highlighted the commands you can use in the window below:



sudo mount -t ext4 /dev/sda6 /mnt/ubuntu


Confirm that sda6 is your current root partition.



sudo mount /dev/sda1 /mnt/ubuntu/boot


Check if this drive is your windows boot partition



Then follow up and mount the other required filesystems



sudo mount -t proc none /mnt/ubuntu/proc
sudo mount -o bind /dev /mnt/ubuntu/dev
sudo mount -o bind /sys /mnt/ubuntu/sys


Follow up to chroot here using this:



chroot /mnt/ubuntu /bin/bash


You should get into another window screen with a terminal window



COMMANDS TO FIX FILESYSTEM MAPPINGS



Run the following to fix your issue



sudo grub-install /dev/sda
sudo update-grub


That should fix your GRUB issues for you automatically with the default filesystems containing your various operating systems.






share|improve this answer














You'd need a live disk running Ubuntu or any Linux variant.



After such, follow the commands here to mount the necessary drives and chroot into the directory.



For the CHROOT PROCESS



See this article



I've highlighted the commands you can use in the window below:



sudo mount -t ext4 /dev/sda6 /mnt/ubuntu


Confirm that sda6 is your current root partition.



sudo mount /dev/sda1 /mnt/ubuntu/boot


Check if this drive is your windows boot partition



Then follow up and mount the other required filesystems



sudo mount -t proc none /mnt/ubuntu/proc
sudo mount -o bind /dev /mnt/ubuntu/dev
sudo mount -o bind /sys /mnt/ubuntu/sys


Follow up to chroot here using this:



chroot /mnt/ubuntu /bin/bash


You should get into another window screen with a terminal window



COMMANDS TO FIX FILESYSTEM MAPPINGS



Run the following to fix your issue



sudo grub-install /dev/sda
sudo update-grub


That should fix your GRUB issues for you automatically with the default filesystems containing your various operating systems.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 16 at 12:41









Zanna

48.9k13123234




48.9k13123234










answered Nov 6 at 8:25









Bakare Emmanuel

112




112












  • But if I want to get rid of Ubuntu and run windows only is there any easier method?
    – Capatina Stefan
    Nov 6 at 10:34










  • You'd have to delete the Ubuntu partition and then restore the windows grub. Restoring it is optional as you could always continue with the linux one, if you're interested tho, it requires you have a windows bootable disk to get to the windows recovery option and reset your BCD configuration. More details here about how to do that after deleting the partition here: lifewire.com/how-to-rebuild-the-bcd-in-windows-2624508
    – Bakare Emmanuel
    Nov 6 at 14:56












  • What is the command for writing on this site “program language”?
    – Capatina Stefan
    Nov 7 at 10:17












  • Sorry, could you expatiate on what you mean ---- "by writing on the site 'program language' " please
    – Bakare Emmanuel
    Nov 7 at 13:05










  • How can i write with that font with grey background
    – Capatina Stefan
    Nov 7 at 14:19


















  • But if I want to get rid of Ubuntu and run windows only is there any easier method?
    – Capatina Stefan
    Nov 6 at 10:34










  • You'd have to delete the Ubuntu partition and then restore the windows grub. Restoring it is optional as you could always continue with the linux one, if you're interested tho, it requires you have a windows bootable disk to get to the windows recovery option and reset your BCD configuration. More details here about how to do that after deleting the partition here: lifewire.com/how-to-rebuild-the-bcd-in-windows-2624508
    – Bakare Emmanuel
    Nov 6 at 14:56












  • What is the command for writing on this site “program language”?
    – Capatina Stefan
    Nov 7 at 10:17












  • Sorry, could you expatiate on what you mean ---- "by writing on the site 'program language' " please
    – Bakare Emmanuel
    Nov 7 at 13:05










  • How can i write with that font with grey background
    – Capatina Stefan
    Nov 7 at 14:19
















But if I want to get rid of Ubuntu and run windows only is there any easier method?
– Capatina Stefan
Nov 6 at 10:34




But if I want to get rid of Ubuntu and run windows only is there any easier method?
– Capatina Stefan
Nov 6 at 10:34












You'd have to delete the Ubuntu partition and then restore the windows grub. Restoring it is optional as you could always continue with the linux one, if you're interested tho, it requires you have a windows bootable disk to get to the windows recovery option and reset your BCD configuration. More details here about how to do that after deleting the partition here: lifewire.com/how-to-rebuild-the-bcd-in-windows-2624508
– Bakare Emmanuel
Nov 6 at 14:56






You'd have to delete the Ubuntu partition and then restore the windows grub. Restoring it is optional as you could always continue with the linux one, if you're interested tho, it requires you have a windows bootable disk to get to the windows recovery option and reset your BCD configuration. More details here about how to do that after deleting the partition here: lifewire.com/how-to-rebuild-the-bcd-in-windows-2624508
– Bakare Emmanuel
Nov 6 at 14:56














What is the command for writing on this site “program language”?
– Capatina Stefan
Nov 7 at 10:17






What is the command for writing on this site “program language”?
– Capatina Stefan
Nov 7 at 10:17














Sorry, could you expatiate on what you mean ---- "by writing on the site 'program language' " please
– Bakare Emmanuel
Nov 7 at 13:05




Sorry, could you expatiate on what you mean ---- "by writing on the site 'program language' " please
– Bakare Emmanuel
Nov 7 at 13:05












How can i write with that font with grey background
– Capatina Stefan
Nov 7 at 14:19




How can i write with that font with grey background
– Capatina Stefan
Nov 7 at 14:19


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1090423%2fhow-to-fix-error-unknown-filesystem-grub-rescue%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?