How to tell which bootloader is using?

How to tell which bootloader is using?

Post by Xiaoqin Qi » Wed, 09 Oct 2002 10:03:40



Hi,

On an installed machine, how can I tell which bootloader is using?

I noticed that a lot of PCs with RedHat 7.2 installed in our office has
both lilo and grub packages loaded. The configuation files
/etc/lilo.conf and /etc/grub.conf, and /boot/grub directory are all on
the machine. And the configuration files have the same settings with
different syntax. And because the bootloader is installed in MBR not the

first sector of boot partition, dd if=... bs=512 count=1 gave me empty
result.

Then how to tell which bootloader they are using? Is there a way to
switch the bootloader without reinstall?

On 7.2 kickstart coniguration options, there is bootloader option. If I
don't use this option, I use "lilo -mbr" instead. Which bootloader is
installed to the MBR?

Thank you very much for your help!

Xiaoqin

 
 
 

How to tell which bootloader is using?

Post by CrayzeeWul » Wed, 09 Oct 2002 15:30:42



> Hi,

> On an installed machine, how can I tell which bootloader is using?

The bootloader should print its identity when the system boots. If you do
not want to reboot your machine, if /dev/hda is the drive you boot from,
try:

dd if=/dev/hda bs=1024 count=1 | grep GRUB

If you see a match, then you are using Grub. Otherwise try:

dd if=/dev/hda bs=1024 count=1 | grep LILO

Quote:> Is there a way to switch the bootloader without reinstall?

You can switch the bootloader without a reinstall. Just follow the
bootloader's documentation.

--
CrayzeeWulf

 
 
 

How to tell which bootloader is using?

Post by mjt » Wed, 09 Oct 2002 16:21:27



> Then how to tell which bootloader they are using? Is there a way to
> switch the bootloader without reinstall?

.... check the lilo.conf or grub's menu.lst file to see
which is being installed where. (boot line)

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

1. How to tell which bootloader is using?

Hi,

On an installed machine, how can I tell which bootloader is using?

I noticed that a lot of PCs with RedHat 7.2 installed in our office has
both lilo and grub packages loaded. The configuation files
/etc/lilo.conf and /etc/grub.conf, and /boot/grub directory are all on
the machine. And the configuration files have the same settings with
different syntax. And because the bootloader is installed in MBR not the
first sector of boot partition, dd if=... bs=512 count=1 gave me empty
result.

Then how to tell which bootloader they are using? Is there a way to
switch the bootloader without reinstall?

On 7.2 kickstart coniguration options, there is bootloader option. If I
don't use this option, I use "lilo -mbr" instead. Which bootloader is
installed to the MBR?

Thank you very much for your help!

Xiaoqin

2. Dynamic Array Allocation in GCC3.2 RH8.0 - mysterious

3. q:I am not able to install bootloader in redhat

4. EASYLinux - Using linux without install

5. How do I tell what speed I am connected at?

6. Xwindows Config . using SiS6215c Graphic Card

7. rlogin can't tell who I am in Solaris 2.1

8. in.dhcpd "SPAM" in syslog...

9. How can my script tell if I am in the console?

10. I am ready for Linus....Just tell me how to set it up!!!

11. How can I tell whether I am logging in on console inside .login?

12. can someone tell me what I am missing here?