How To Fix Common Grub Loader Error In Linux Platform - Error 17/15

Posted by Suraj Singh on January 10, 2017 · 7 mins read
hello readers,

                          Today, I am Sharing Some Solutions Of Common Grub Loader Error Mostly Founded In Linux Platform.
One of the most frightening things about Linux is the horrible word bootloader. The primary reason for this is the fact that most new Linux users have only ever used Windows operating systems. In the Windows world, they have never bothered with boot loaders. For them, the issue of a system booting was a transparent one. At most, they would use Windows Recovery Console to fix problems for them. Thus, they have been spared the need to learn about the single most important piece of software on a computer - the little program that makes it all work.

Let's Start

How To Fix Broken Boot Loader? Or Not Showing Dual Boot Option With Windows?

This Is Very Simple. 
First of all, Start linux using live cd,
Then, Open Your Console And Type;
sudo fdisk –l

and Note Your Partition Disk
sudo update-grub 

Broken Boot Loader? or Any Other Error

if Your Problem not solved Yet After Trying All Above Commands ,Then

sudo grub-install /dev/sdX
Execute those two commands, replacing X with the partition your linux is installed on. For me, it was ‘a’. Voila! You’ve fixed your broken ‘auto-updated’ MBR records.
sudo fdisk /dev/hda

hda as in the whole hard disk, not hda1 or stuff like that.
choose option x (extra functionality (experts only)) and enter.
then select f (fix partition order) and enter.
then select option w (write table to disk and exit), and enter. You can exit now.
Now, you need finalize this in grub.
$ sudo grub
grub > root (hd0,1)
grub > setup (hd0)
grub > quit

Obviously, you need to know which HDD houses your OS and replace the 0,1 and hd0 accordingly.
Congratulations, you’ve just fixed Grub Error 17. Grub error 15 can be fixed in the same way as well.

Not Solved:

hmm, try This one also:
Enter All Commands One By One in Terminal
sudo mount /dev/sdba /mnt

for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt$i";


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

Congratulation! Your Problem Is Solved......

Thanks For Support
Please, Feel Free To Leave A Comment If Our Article has Helped You.