At Tue, 01 Jan 2002 11:35:43 -0500,
Justin Piszcz wrote:
> Is it possible to find out what bootloader booted the system if the user
> has both GRUB and LILO installed?

No. Any i386 boot loader should pass its own type to Linux (See
"Documentation/i386/boot.txt", for more information), but Linux
doesn't export the type to the user-land.

> Could you please reccomend how I should find either LILO or GRUB and
> make sure the other one isn't the one that was used to boot the system?

I don't think there is any robust way for that. Suppose that you can
determine which booted your Linux kernel. Even with this information,
you cannot determine which is _normally_ used. The user may boot it
another way.

Okuji

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to