Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users

Dashboard
Notifications
Mark all as read
Q&A

Grub rescue error

+2
−0

I was using Linux mint and Windows 10 together (in different partitions). Few months I was using it freely. Today I got a message in Windows 10 (new updates available or shutdown and update) then, I clicked on shutdown and update. After finishing the update 50% automatically restarted my laptop.

After updating Windows any user get's following error (grub rescue error).

grub rescue error

How to fix the problem? After rebooting my PC this problem is keep happening. What to do now? Can I solve the issue using live bootable USB?

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

6 comments

Why there is a Linux tag? FoggyFinder‭ about 1 month ago

@FoggyFinder Read the question. I think most of linux users face the problem if they have Windows alongside. This problem mostly occurs for Linux. I don't think that it occur in Windows. But, if you delete grub loader in Windows somehow than you will face the problem also. And, I faced the issue while using Debian-Based Linux and, I know how to solve it using Debian-Based. This question will be helpful for future users Istiak‭ about 1 month ago

OK. I see it now. Can you add these crucial details to the Q? FoggyFinder‭ about 1 month ago

@mods I would request to migrate it to Linux Community. To the reviewer I would request to migrate it rather than closing it. Istiak‭ 29 days ago

@MonicaCellio is cross-posting ok? You had write while you decline flag,"to post it in linux". So, can i post the same question wherever i want? Istiak‭ 22 days ago

Show 1 more comments

1 answer

+1
−0

If you print out ls than you will see disks. You have to check which have your Linux. One by one you have to try following commands.

code

set boot=(hd0,msdosN)    #N is number is disk.
set prefix=(hd0,msdosN)/boot/grub
set root=hd0,msdosN   
insmod normal
normal
reboot

Then, you have to update grub loader.

sudo update-grub

Above solution may work for you. But, if it doesn't work than try following process. You need live bootable USB for this process. Start Ubuntu, Mint, Kali or any debian-based linux than write following commands in terminal.

sudo mount /dev/sda5 /mnt   #/dev/sda5 is where you installed your Linux Distro
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sda
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
sudo umount /mnt
Why does this post require moderator attention?
You might want to add some details to your flag.

2 comments

I do not follow. User updates Windows and this answer suggest they to use Linux instead? FoggyFinder‭ about 1 month ago

@FoggyFinder I think you don't use Linux. If you have Linux alongside Windows. Then, if you update Windows than you will face the grub-rescue-error issue most of times. I didn't suggest to use Linux instead. Istiak‭ about 1 month ago

Sign up to answer this question »