I just completed my Windows 10 update, only to realize that it broke my GRUB bootloader on the first restart. It would take me to a black screen, with a command prompt and a error message...
rror: unknown filesystem
Entering rescue mode...
<grub rescue> _
Yes, "error" is misspelled.
I Googled online and found out it is a very common problem for anyone using dual-booting PCs (Mac + Windows, Linux + Windows, etc.), because apparently some Windows updates rewrite the partition tables or something. I am not a experienced Linux user but I hope that at least trying this bit could save all of you the wasted time and lost files from a reformat and reinstallation of both OSes. GRUB is apparently "lost", and needs help finding your Linux and Windows installs to continue on apparently. After following these steps, my Windows update proceeded normally.
I took these instructions and adapted them to today's commands. Since it is not referred to as "grub2" anymore and I do not use Fedora. http://www.legendiary.at/2016/01/04/...d-breaks-grub/
And this other one: https://www.linux.com/learn/how-resc...g-grub-2-linux
- Anyways, I started by typing "ls", and taking note of all of the partitions that it listed.
- Then I followed up by typing ls (hd#,gpt#), as how it was listed on my machine. Where "#" stands for the number. The goal is to find out where your operating systems are installed. For me, I discovered that "ls (hd0,gpt8)" returns the "ext2 filesystem".
- I typed the following commands without quotes "set prefix=(hd0,gpt8)/boot/grub" and then "set root=(hd0,gpt8)".
- Then I followed up with "insmod normal" and "normal", which automatically brought up our familiar bootloader. However, booting back into Kali normally is only temporary until the next reboot, where you have to once again help GRUB find your OS installs.
- In the terminal, I typed "update-grub" and then "grub-install /dev/sda", without a number pointing to any "sda". Just "sda". It completed in a few seconds, and after rebooting my GRUB is back and working again. Something about updating the GRUB configuration and then pointing it to the correct location of our operating system installs.
Anyways, I got my Kali working again. But unfortunately, some Windows updates are more extreme, and would go as far as to delete your partitions. http://www.omgubuntu.co.uk/2016/08/w...lete-partition I don't know how to deal with THAT. I am sure, that means a forced reinstall of everything.