bug-grub
[Top][All Lists]
Advanced

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

Re: Determining if GRUB is the bootloader in use on a system


From: Jeremy Katz
Subject: Re: Determining if GRUB is the bootloader in use on a system
Date: Wed, 8 Aug 2001 10:53:41 -0400
User-agent: Mutt/1.2.5i

On Wednesday, August 08 2001, OKUJI Yoshinori said:
> IMO, you shouldn't use a BPB as an identifier, because the user can
> modify it arbitrarily. Instead, what do you think about just searching
> the string "GRUB" from a boot record? GRUB will have the string even
> for the future, and I don't think LILO will have the string itself
> (except when the user might insert the string into a BPB :).

LILO may not have the string itself, but depending on where in the code
block it ends up, it's not outside of the realm of possibility that it
won't get overrwritten by LILO.  

And with the BPB, if it gets modified, the user has at least done it
knowingly.  The fact that this is already the way that LILO checks to
see if it is installed internally adds, to me at least, some sort of
consistency and sanity in a world where we can really guarantee very
little.

Jeremy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]