LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
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



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

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

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

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