Boot Loader Detection: GRUB or LILO?

Charles Curley charlescurley at charlescurley.com
Mon Oct 27 23:07:15 UTC 2003


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.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20031027/4f0fa0fd/attachment-0001.sig>


More information about the fedora-list mailing list