Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I know Grub is the one installed by default when installing Ubuntu but I am faced with an embedded system running 9.10 Desktop Edition. Following are the contents of lsb-release file

ubuntu@ubuntu-desktop:/boot$ cat /etc/lsb-release

but this system does not have Grub bootloader and I want to find out which one its using. So any ideas?

share|improve this question
wiki.debian.org/BootLoader lists all the boot loaders available in Debian, if you'd like to check each one. What arch is the system? Just leaving a comment as this isn't a proper answer... –  andrewsomething Feb 2 '11 at 15:25

4 Answers 4

up vote 5 down vote accepted

The boot info script will detect all kinds of useful information about your boot configuration:


share|improve this answer

Use the dd command to read the boot sector, then use grep to know your bootloader:

dd if=/dev/hda bs=512 count=1 2>&1 | grep GRUB
dd if=/dev/hda bs=512 count=1 2>&1 | grep LILO
share|improve this answer

For GRUB the command to check what version you have is:

grub-install -v

More to find here:

share|improve this answer

If you have the /etc/lilo.conf file then you are using LILO (LInux LOader) This means that if you type lilo for example you should see the command dialog for the lilo booter.

If you have the /boot/grub/ directory then you are using GRUB (Grand Unified Boot Loader) This means that you should be able to use all the grub file like grub-install,grub-reboot...

Ubuntu 9.10 was the first version to use GRUB2 https://help.ubuntu.com/community/DualBoot/Grub


Here is a script to check inside the first sector of the hard drive for what boot manager it is using:

Assuming your hard drive is at SDA then:

sudo dd if=/dev/sda bs=512 count=1 2>&1 | grep GRUB - For GRUB
sudo dd if=/dev/sda bs=512 count=1 2>&1 | grep LILO - For LILO
sudo dd if=/dev/sda bs=512 count=1 2>&1 | grep ACRON - For Acronis
sudo dd if=/dev/sda bs=512 count=1 2>&1 | grep RED - For RedBoot

If ONE of the above outputs this line Binary file (standard input) matches then you have found the match for your boot loader. This means that you are positive for the boot loader you have just searched for.

You can imagine the rest...
The list of boot loaders is here: http://en.wikipedia.org/wiki/Comparison_of_boot_loaders and http://wiki.debian.org/BootLoader (For Debian based distros)
Also if you want to SEE the real binary output then add -a to the grep part. For example:

sudo dd if=/dev/sda bs=512 count=1 2>&1 | grep -a GRUB which will show you the data in that first block.

Now with this new information you HAVE to find the boot manager you are using.

share|improve this answer
nops, dont have any of these. –  binW Feb 2 '11 at 14:47
Updated with a small command line for you. –  Luis Alvarado Feb 2 '11 at 17:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.