LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to install Grub bootloader to MBR from command line (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-grub-bootloader-to-mbr-from-command-line-167684/)

sleddog 04-08-2004 06:44 AM

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... :eek:

Thanks in advance...

aaa 04-08-2004 06:57 AM

Try 'grub-install /dev/hda'

gandalf2041 04-08-2004 02:17 PM

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


All times are GMT -5. The time now is 03:34 PM.