How to find out where grub is installed?

Mikkel L. Ellertson mikkel at infinity-ltd.com
Sun Jan 18 00:27:07 UTC 2009


Andras Simon wrote:
> 
> But if grub is in the MBR, how can it read grub.conf from /dev/sda2?
> I'm sorry if my complete lack of understanding shines through...
> 
> In any case: how do I install the "missing" grubs so that I end
> up with one in the MBR and one in the /boot partition of each
> version of Fedora? I assume that the installer will give me
> one choice (MBR or /boot).
> 
> Andras
> 
There is more then one part to Grub. The first part (stage 1) is a
small loader program that uses the BIOS to load the next part. It is
dumb, so it only know the physical location on the disk of the next
part, and it gets lost if you move it. The next part is usually
stage 1.5, and it know how to read one type of file system. You use
different stage 1.5 depending on the type of file system the grub
directory is on. Stage 1.5 then loads stage 2, and handles thigs
like loading the config file...

When you are using more then one copy of Grub, you normally install
the primary copy stage 1 in the MBR. You add chainload commands as
menu entries to load the other Grub installations. The stage 1 for
those installations are normally installed on the boot record of the
/boot partition that has the files for that copy of Grub.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090117/f2bab411/attachment-0001.sig>


More information about the fedora-list mailing list