Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
is my server using grub or lilo?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
arkepp
n00b
n00b


Joined: 23 Jul 2002
Posts: 74
Location: NYC / USA (or Norway)

PostPosted: Tue Apr 06, 2004 11:13 pm    Post subject: is my server using grub or lilo? Reply with quote

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 :D
-Arne
Back to top
View user's profile Send private message
SuperSheep
Tux's lil' helper
Tux's lil' helper


Joined: 06 Apr 2004
Posts: 133
Location: South London, England

PostPosted: Tue Apr 06, 2004 11:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
arkepp
n00b
n00b


Joined: 23 Jul 2002
Posts: 74
Location: NYC / USA (or Norway)

PostPosted: Tue Apr 06, 2004 11:25 pm    Post subject: both lilo.conf and grub.conf exist Reply with quote

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
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Wed Apr 07, 2004 9:08 am    Post subject: Reply with quote

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
View user's profile Send private message
adrenalin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Dec 2002
Posts: 129

PostPosted: Wed Apr 07, 2004 4:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum