LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2003, 12:58 PM   #1
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Question Grub/Lilo ???


I have to reboot a couple of servers, this because of a kernel upgrade.
But does anyone know, how i can see(before booting!) if the redhat servers use grub or lilo to boot from?
 
Old 04-16-2003, 01:23 PM   #2
wrlewis
LQ Newbie
 
Registered: Apr 2003
Distribution: Mandrake 9.0, Red Hat
Posts: 2

Rep: Reputation: 0
If the computer uses LILO then just before boot menu appears you can see for a shorttime the text LILO . if you press pause then boot menu doesnt appear. Same is the case with Grub

Robs
 
Old 04-16-2003, 02:00 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,870

Rep: Reputation: 87
Quote:
how i can see(before booting!) if the redhat servers use grub or lilo to boot from?
To make a change to the correct config file before rebooting?
When I used 'dd' to make an image of my boot sector (dd if=/dev/hda of=mbrread.img bs=512 count=1) and opened the file in a binary editor I see the word "LILO" on the first line. I use LILO.
You would then know to edit and run LILO rather than Grub.
Am guessing vise-verse would work.
Good Luck.
 
Old 04-16-2003, 05:24 PM   #4
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
Ok, thanks.
I will give it a try tomorrow.

(The problem with the first reply is that i can't just boot the servers because i can only have a maximum downtime of 3 minutes.)
 
Old 04-16-2003, 07:00 PM   #5
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,870

Rep: Reputation: 87
You could also try the easier 'which lilo' and 'which grub' (as root) to see what is installed.
There has got to be an easier way, but I am not familar with Red Hat configuretion tools or how you are able to access your servers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 10:37 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
LILO or GRUB linuxnoobhelp Linux - General 6 12-07-2004 02:01 AM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 12:09 PM
Grub or Lilo better ? futurist Linux - Newbie 4 03-16-2003 11:22 PM


All times are GMT -5. The time now is 04:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration