LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-08-2004, 06:44 AM   #1
sleddog
Member
 
Registered: Jan 2002
Location: Labrador, Canada
Distribution: CentOS, Debian
Posts: 182

Rep: Reputation: 35
How to install Grub bootloader to MBR from command line


I've copied my Fedora installation to another hard drive, which does not have a bootloader installed (yet). Everything is setup and functioning correctly, I can boot using a floppy just fine. My question is, how do I now install grub to the master boot record?

Back in the Good Old Days using LILO, I'd just boot from a floppy and then run /sbin/lilo in a situation like this. What's the equivalent of that when using grub?

'man grub' does not seem to address this; I'm obviously missing something obvious...

Thanks in advance...
 
Old 04-08-2004, 06:57 AM   #2
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Try 'grub-install /dev/hda'
 
Old 04-08-2004, 02:17 PM   #3
gandalf2041
Member
 
Registered: Jul 2003
Location: Sunny Florida, USA
Distribution: Ubuntu 6.06 LTS
Posts: 53

Rep: Reputation: 15
Interestingly enough, there's a great description in the Gentoo Installation Handbook.
here
 
  


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
How write new MBR using command line only lonecrow Linux - Newbie 2 11-02-2005 10:17 AM
Install So Bootloader is On Floppy/CDROM No Change to MBR fortezza Fedora - Installation 7 02-08-2005 06:56 PM
Oops, I let my new windows install overwrite my FC2 bootloader on the MBR... mono Fedora 1 08-03-2004 08:02 PM
Write to MBR while in the command line? EThitop Linux - Newbie 10 05-11-2004 11:04 PM
Grub Command Line Help! Yoncopin Linux - General 5 02-02-2004 10:31 PM


All times are GMT -5. The time now is 10:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration