Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 04-12-2004, 02:33 AM   #1
Registered: Sep 2003
Location: Indonesia
Distribution: Mandrake,RedHat,Slackware
Posts: 58

Rep: Reputation: 15
How to reinstall GRUB??

I recently lost my GRUB bootloader and now i don't know how to reinstall it again....i never use GRUB before so it is new for i don't have any idea how to fix it.

Can someone help me to solve this problem...and i dont have a bootdisk so please tell me how to reinstall GRUB using the rescue disk....

Thank's before
Old 04-12-2004, 02:58 AM   #2
Registered: Nov 2003
Location: Australia
Distribution: Mandrake, SUSE, Fedora
Posts: 122

Rep: Reputation: 15
Boot into the rescue mode using install CD1 by typing "linux rescue" at the boot prompt. When it asks you if you want it to find your installation and mount it, let it by selecting "Continue". Once you get to the sh prompt chroot into you installation with:

# chroot /mnt/sysimage

If the disk you boot from is /dev/hda then you should be able to reinstall grub with:

# grub-install /dev/hda

Just remember to exit the chroot'ed shell before you reboot. If you reboot by "Ctrl-Alt-Del" the installer will unmount your partitions. Although it probably wouldn't hurt to try to unmount as many as you can yourself with something like:

# umount /dev/hd?[1-9]*
Old 04-12-2004, 03:08 AM   #3
Registered: Sep 2003
Location: Indonesia
Distribution: Mandrake,RedHat,Slackware
Posts: 58

Original Poster
Rep: Reputation: 15
Thanx's hazza it's very helpfull..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 11:29 AM
reinstall windows, reinstall GRUB too? leupi Linux - Software 1 05-07-2005 11:50 AM
Can't reinstall GRUB gandalfthewite Linux - General 4 01-26-2004 04:31 AM
Reinstall GRUB Staticreator Linux - Software 0 08-10-2003 05:14 PM
how to reinstall grub? Pimp Linux - General 1 08-04-2003 05:35 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration