LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-13-2003, 10:37 AM   #1
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Command to reinstall grub?


Whats the command to install Grub back to the MBR? I know for lilo the user just types "lilo", but I've never had to do this w/ Grub before. Its probably something easy, I just thought I would ask on here while at work so I will just know right away when I get back home. Thanks in advance.
 
Old 08-13-2003, 10:46 AM   #2
gargamel237
Member
 
Registered: Aug 2003
Location: Los Angeles
Distribution: gentoo
Posts: 52

Rep: Reputation: 15
start up grub.

then go setup(hd0)

or whatever drive you want it on. don't forget that grub starts on hd0 instead of hd1.
 
Old 08-13-2003, 10:48 AM   #3
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Original Poster
Rep: Reputation: 30
So I just type grub at the console and it runs a program to set it up?
 
Old 08-13-2003, 11:17 AM   #4
gargamel237
Member
 
Registered: Aug 2003
Location: Los Angeles
Distribution: gentoo
Posts: 52

Rep: Reputation: 15
yeah. type grub and it'll open the grub console.
 
Old 08-13-2003, 11:29 AM   #5
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Original Poster
Rep: Reputation: 30
Nice... thanks. That will save me a little time tonight.
 
Old 08-13-2003, 01:18 PM   #6
erkaN
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
grub-install /dev/hda
 
  


Reply


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 10:29 AM
reinstall grub . . . Aidin_36 Linux - Newbie 3 06-11-2005 09:42 AM
reinstall windows, reinstall GRUB too? leupi Linux - Software 1 05-07-2005 10:50 AM
Reinstall grub rejser Linux - Software 3 04-14-2004 03:19 AM
Reinstall GRUB Staticreator Linux - Software 0 08-10-2003 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:49 PM.

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