PDA

View Full Version : [SOLVED] how to reinstall grub?



rockager
December 29th, 2010, 10:56 AM
can someone give me a step by step procedure for reinstalling grub? (i'm a total n00b)

spiky001
December 29th, 2010, 11:14 AM
Why do you need to reinstal, and what version are you using?

cottfcfan
December 29th, 2010, 12:15 PM
Assuming your using Grub2.
Boot into the live CD.
Open a terminal and mount the partition your installation is on.
for eg if your on sda1

sudo mount /dev/sda1 /mnt
then:

sudo grub-install --root-directory=/mnt/ /dev/sda
You should then get a message saying whether successful or not.
Then Reboot, enter a terminal and type:

sudo update-grub
Done.

ruben_linux
December 29th, 2010, 01:34 PM
two interesting video:

http://www.youtube.com/watch?v=WtBBl6HvdpM

http://www.youtube.com/watch?v=MDRBffouUto&feature=watch_response

I hope they are useful