[ilugc] Current Bootloader.

  • From: moinakg@xxxxxxxxx (Moinak Ghosh)
  • Date: Fri, 05 Jul 2002 14:52:15 +0530

Hi,

    While poking around Google I found a link for an automated Kernel build
and installation script someone has written at
http://freshmeat.net/projects/ik/?topic_id=147

More details at http://www.linuxgazette.com/issue75/piszcz.html

The author claims that the script accurately determines the last bootloader
used to boot the current running kernel. However it detects only grub and lilo.
I looked at the script and the logic is -

1) If lilo config is present and grub config is absent then bootloader = lilo
2) If lilo config is absent and grub config is present then bootloader = grub
3) if lilo config is present and grub config is present then
            if "cat /proc/cmdline" contains the string "BOOT_IMAGE"
               then bootloader = lilo
               else bootloader = grub

Regards,
Moinak.

At 05:12 PM 7/4/2002 +0530, Bhuvan A wrote:

hello prakash,

really smart. I too tried

# dd if=/dev/hda bs=512 count=1|strings$
and it resulted in

1+0 records in
1+0 records out
LILO
ZRrI
D|f1
GRUB
Geom
Hard Disk
Read
 Error

Actually in mine i overwrote LILO with GRUB and currently
GRUB exists.

So it seems WE are still unaware of pointing current
bootloader, isnt it?

regards,
bhuvaneswaran.



---
Visit our home page at: http://www.chennailug.org
Send e-mail to "ilugc-request@xxxxxxxxxxxxxxxxxx" with "unsubscribe"
in either the subject or the body to unsubscribe from this list.


Other related posts: