how to get grub back????

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

how to get grub back????

Post by itsmani1 »

Hello Every one....

I lost the grub on pc as i formated my C partation where windows was installed and now i want to get grub back.
can any body help me?

Regards.....
slimsam1
Forum Commoner
Posts: 49
Joined: Wed Aug 21, 2002 12:20 am

Post by slimsam1 »

Did you make a boot disk?

(really, the question is 'can you still get in to linux somehow?')
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post by redmonkey »

If you made a boot disk, you should be able to use that to boot into Linux then from the cammand line using something like.....

Code: Select all

/sbin/grub-install /dev/hda
....should re-install grub in the MBR
Post Reply