On Mon, Oct 27, 2003 at 04:07:15PM -0700, Charles Curley wrote: > Is there any way to detect which boot loader is the working one? > Simply detecting whether a grub or lilo package is installed may not > be sufficient, especially in the case where both are installed. I > suppose I could look to see which is more recent, grub.conf or > lilo.conf, but I can think of several scenarios unde which this would > fail. > > It's time to update my bare metal recovery scripts > (http://www.charlescurley.com/Linux-Complete-Backup-and-Recovery-HOWTO.html) > to handle grub, and I'd like to detect the current boot loader if > possible. The solutions suggested seem too complicated. Just reboot. Unless things have changed radically the lilo boot screen looks completely different that the grub boot screen. ------------------------------------------- Aaron Konstam Computer Science Trinity University 715 Stadium Dr. San Antonio, TX 78212-7200 telephone: (210)-999-7484 email:akonstam@xxxxxxxxxxx