rewrite bootloader

Thorsten Leemhuis fedora at leemhuis.info
Wed Dec 3 17:31:00 UTC 2003


Am Mi, den 03.12.2003 schrieb David Balazic um 17:47:

Corrected top posting ;-) 

> > ----------
> > From: 	Michael Smith[SMTP:operalover_99 at yahoo.com]
> > Reply To: 	fedora-test-list at redhat.com
> > Sent: 	3. december 2003 17:23
> > To: 	fedora-test
> > Subject: 	rewrite bootloader
> > 
> > Dear All,
> > 
> > I have several experimental Linux installs, plus one
> > production install, with a boot floppy for each. The
> > latest install, of course, puts its own bootloader on
> > the hard disk (the Fedora 1.0 bootloader was
> > overwritten by Mandrake 9.2).
> > 
> > Now, my problem is that I want to make Fedora 1.0 boot
> > from the hard disk, but I cannot find the maintenance
> > tool to rewrite the bootloader in any of the menus.
> > What am I overlooking? How do I rewrite the
> > bootloader.
>
> run this : grub-install <your boot device>
> for exmaple : grub-install /dev/hda
> 
> Make sure the /etc/grub.conf file has the right contents.

Just FYI:

>From 
# info grub
Installation/Installing GRUB using grub-install:
----
   *Caution:* This procedure is definitely deprecated, because there
are several posibilities that your computer can be unbootable. For
example, most operating systems don't tell GRUB how to map BIOS drives
to OS devices correctly, GRUB merely "guesses" the mapping. This will
succeed in most cases, but not always. So GRUB provides you with a
user-defined map file called "device map", which you must fix, if it is
wrong.
----

Look at
# info grub
Installation/Installing GRUB natively:
Short form:
----
root (hd0,5)
setup (hd0)
----
will install grub in mbr of the first harddisk (hd0) an look for its
config and other grub files on the second logical Partition (hd0,5 --
presumable /dev/hda6) 

CU
thl

BTW: fedora-test-list is IMHO not the right place for this 





More information about the test mailing list