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
Jeremy Katz [EMAIL PROTECTED] writes:
[...]
missing the easy way to check and tell if GRUB is being used as the boot
loader?
well, we're using:
offset magic offset magic
[ 'grub', 0, \xEBG, 0x17d, stage1 \0 ],
[ 'grub', 0, \xEBH, 0x17e, stage1 \0 ],
[ 'grub', 0,
As may or may not have been noticed, we are giving GRUB as the primary
boot loader in the Red Hat Linux public beta released the end of last
week. Unfortunately, due to the vagueries of hardware just being weird
and lack of the kind of widespread use that LILO has seen, LILO is still
offered as