View previous topic :: View next topic |
Author |
Message |
arkepp n00b
Joined: 23 Jul 2002 Posts: 74 Location: NYC / USA (or Norway)
|
Posted: Tue Apr 06, 2004 11:13 pm Post subject: is my server using grub or lilo? |
|
|
Hi,
this may seem like a very odd question, but here is the deal:
I do the system admin stuff for a company in Europe while I study in the US. Right before leaving Europe, I installed Gentoo on one of the servers, but I ran into some problems with _either_ grub og lilo (can't remember), so I chose the other. Now the problem is that this machine should not be rebooted, and I need to find out which bootloader is being used to create mondo-rescue CDs.
Is there an easy way of telling? If I were to guess, I would say its running LILO: Machines running GRUB seem to have files like "boot-menu.b" and "boot-bmp.b" in /boot, but the machine in question has neither.
Corrections suggestions? Thanks in advance
-Arne |
|
Back to top |
|
|
SuperSheep Tux's lil' helper
Joined: 06 Apr 2004 Posts: 133 Location: South London, England
|
Posted: Tue Apr 06, 2004 11:17 pm Post subject: |
|
|
Well, if its grub, then there should be a file called grub.conf knocking around somewhere in the /boot partition. If its lilo, them there should be a lilo.conf. _________________ http://www.bash.org/?65749 |
|
Back to top |
|
|
arkepp n00b
Joined: 23 Jul 2002 Posts: 74 Location: NYC / USA (or Norway)
|
Posted: Tue Apr 06, 2004 11:25 pm Post subject: both lilo.conf and grub.conf exist |
|
|
They're both were they are supposed to be... I first installed one, then the other without unmerging the previous first (had no idea whether the other would in fact work better than the first).
I've also looked at the timestamps, but they're too close to tell. I probably moved text from one to the other. |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Wed Apr 07, 2004 9:08 am Post subject: |
|
|
Just having a look in my /boot directory I noticed that LILO made a map file last time it was run, it's mainly data but has some strings in it. This is what I get:
Code: | sudo strings /boot/map | grep -i lilo
LILO
LILOu
?LILOu
LILOu
LiLo
EBDA is big; kernel setup stack overlaps LILO second stage
LILO
|
_________________ Search | Read | Answer | Report | Strip |
|
Back to top |
|
|
adrenalin Tux's lil' helper
Joined: 29 Dec 2002 Posts: 129
|
Posted: Wed Apr 07, 2004 4:27 pm Post subject: |
|
|
when i do
Code: | #dd if=/dev/hda count=1 | strings |
here it says something about grub in it. /dev/hda is my boot device.
hth |
|
Back to top |
|
|
|