Unable to Boot because Of Grub Broken…(Linux)

  • Maybe U uninstall Linux From Duel Boot With Windows,U may probably face.
  • After installing ubuntu,u install windows…u can meet with this error.
  • If Your Grub File is broken, u can use this solution

Requirement-
Ubuntu Live CD or Ubuntu Live USB Drive

Boot with Bootable CD or Media Devices
Open Terminal …and
type it

sudo mount /dev/sdXY /mnt

.. :

Replace XY with these..( sda1,sda2,sda3,…etc)

If U don’t Know,open GPart
After this,We have to find a path for Grub to detect other OS.
We must type this command…

sudo mount –bind /dev /mnt/dev && sudo mount –bind /dev/pts /mnt/dev/pts && sudo mount –bind /proc /mnt/proc && sudo mount –bind /sys /mnt/sys

Now Let’s Chroot…Don’t Ask me What is Chroot…Just find On Google.

sudo chroot /mnt

Now Let’s install,update and upgrade Grub

  • grub-install /dev/sdX
  • grub-install –recheck /dev/sdX
  • update-grub

The Directory for installation of GRUB
( grub-install /dev/sda, grub-install –recheck /dev/sdX ) Replace X with Your sda or whatever…

Now Let’s Exit from chroot and Ummount all Devices

exit && sudo umount /mnt/dev && sudo umount /mnt/dev/pts && sudo umount /mnt/proc && sudo umount /mnt/sys && sudo umount /mnt

Okieee …Get out From live section and 
shutdown Your PC….Grub 2 will be set up…
go to Ubuntu and  Update Grub or Reinstall Grub .U can do as you like then.. 😀

Announcement: I Am not Author For This Post…I Just Translate it to english from Myanmar….The Source Page is Form A Facebook Group….Myanmar LocoTeam

error: Content is protected !!