How to install grub in Ubuntu?

Disclaimer: Accessing the information on this page means you agree to the Sites Privacy Policy & Terms of Use Agreement.


here is the simple solution :

A) boot from live cd of ubuntu

B) After boot from live CD enter below command to identify partition :

$ sudo fdisk -l

C) Now check the partition you have had and note down the partition where you have installed Ubuntu and then mount it on /mnt :

$ sudo mount /dev/sda1 /mnt

D) After mount Partition run below command :

$ sudo grub-install –root-directory=/mnt /dev/sda

here you go, you will get succefully installed message, so now remove CD from cd/dvd drive and restart computer with booting first priority of disk where you had installed ubuntu.


This article is contributed by RootLinuxBlog. If you like RootLinuxBlog and would like to contribute, you can submit an article using contact us from. See your article appearing on the RootLinuxBlog main page and help other Techies.
Please write comments if you found any error with the above article would really help us to serve you a better way. Thank you…

Grub Rescue

Leave a Reply

Your email address will not be published. Required fields are marked *

error

Enjoy this blog? Please spread the word :)

Share