Filename | Unable to Boot because Of Grub Broken...(Linux) |
Permission | rw-r--r-- |
Author | dr.t3rr0r |
Date and Time | 3:59 AM |
Label | Linux |
Action |
- 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.. :D
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
0 comments:
Post a Comment