LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub/Lilo ??? (https://www.linuxquestions.org/questions/linux-newbie-8/grub-lilo-55325/)

pk21 04-16-2003 11:58 AM

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?

wrlewis 04-16-2003 12:23 PM

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

2damncommon 04-16-2003 01:00 PM

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.

pk21 04-16-2003 04:24 PM

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.)

2damncommon 04-16-2003 06:00 PM

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.


All times are GMT -5. The time now is 06:28 AM.