Chat with us, powered by LiveChat
How to determine boot loader?

How to determine boot loader?

Sometimes you may want to find the boot loader on your operating system.

You can use the following commands to check the boot loader.

dd if=/dev/hda bs=512 count=1 2>&1 | grep GRUB
dd if=/dev/hda bs=512 count=1 2>&1 | grep LILO
One of will give the output as given below.

[email protected] [~]# dd if=/dev/hda bs=512 count=1 2>&1 | grep GRUB
Binary file (standard input) matches
[email protected][~]#

Which means its using grub.

Cheers!!!

Sharing

Leave your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.