Skip to content Skip to sidebar Skip to footer

How to Fix a Missing/Damaged Linux Elementary OS GRUB Bootloader

mrfdn – Still regarding the Linux and Ubuntu operating systems with all the problems that I experienced. This is just sharing. Also for my notes so as not to forget about what I did to fix my thinkpad x220 laptop.

This time I want to write some command line written in linux terminal to fix grub bootloader missing due to system error.

Initial story, my windows is still safe, can dual boot with linux elementary os. But somehow this time the error again.

how to fix grub linux bootloader

Just dizzy..

I thought that I should just install linux instead of installing dual boot like this, it makes me dizzy. huff..

How to fix a broken linux bootloader grub

So luckily the elementary os linux live cd is still stored on the flash disk. I installed it then entered the live cd.

  1. Run Live cd then select try linux.
  2. On the linux home screen, open terminal.
  3. Type sudo su to login as super user (root)
  4. Type fdisk -l to find the linux partition. In this case my linux os is on /dev/sda6
    fix grub linux boot loader

  5. Type mount /dev/sda6 /mnt
  6. Type grub-install –root-directory /mnt /dev/sda
  7. Type update-grub
  8. Type reboot
  9. Finished.

After that the computer will restart itself. At boot time there will be a choice of operating system that is the grub bootloader that was installed earlier.

The final word

That’s how to fix the missing elementary os linux bootloader due to a system error.

If you are experiencing the same thing, I hope this article can help you.

Post a Comment for "How to Fix a Missing/Damaged Linux Elementary OS GRUB Bootloader"