[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Are lilo and grub compatible?

Mike McCarty wrote:
José Alburquerque wrote:
Mike McCarty wrote:

José Alburquerque wrote:

As far as I know, lilo and grub are mutually exclusive because both are

Nope. GRUB may be installed in any Boot Record, not just the Master
Boot Record. For example, on my machine, I do not have GRUB on my
MBR. I use Microsoft's MBR, and use the Windows XP Boot Manager to
load GRUB from a file on my XP file system. I did that by installing
it to a BR (not the MBR) on my disc, and ripping it to a file.

Yes, you're right about that. GRUB can be installed in any BR (of any partition) and in that way grub and lilo *are not* mutually exclusive.

Umm, maybe. I'd be reluctant to install GRUB on the BR of a swap
partition. I'm sure it would be untouched, as it contains a copy
of the BPB, but, well, it just seems a little iffy somehow.

But if you're planning on installing grub or lilo on the mbr then I think that they indeed are mutually exclusive. (Am I right on this?)

Nope. I dunno enough about LILO to know whether it be able to
load GRUB, though I suspect that it can, but I am sure that GRUB
can load LILO. OTOH, AFAIK LILO wants to be on an MBR. But, one
could intall LILO to the MBR, rip it to a file, write that where
GRUB can find it, then install GRUB into the MBR, and let GRUB
chain load LILO. Cumbersome, and difficult to imagine a circumstance
where it would be desirable, but it /could/ be done.

I suppose I was too quick to generalize for the sake of simplifying but was wrong to do so. :-)

"Wrong" is a very strong word. I wouldn't use it.


As far as I know, no matter which boot-loader is installed on your master boot record, a bootdisk overrides the boot-loader. In fact, even

What matters is which boot loader gets loaded by the bootstrap
in the firmware BIOS. One may have any number of boot loaders
on disc. Only the one loaded into memory by the BIOS is the
one executed. This does not have to come from a "bootdisk", whatever
that may be.

Again, you're right because I over simplified. :-) I sort of forgot that the loading order can be changed in the BIOS!

[snip some good advice]


Thanks for correcting!

Welcome. No criticism intended, BTW.

None taken. :-)  Thanks for excellent explanations.

Jose Alburquerque

Reply to: