LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   grub fallback configuration (http://www.linuxquestions.org/questions/red-hat-31/grub-fallback-configuration-333493/)

monkeypop 06-14-2005 12:01 PM

grub fallback configuration
 
I am administrating a redhat es 3 server remotely and need to update the kernel because of some security holes in the current kernel. I have already downloaded the stock kernel from redhat and installed it. I was looking into configuring grub by setting the new kenel as the default and the old as the fallback kenel. What I am confused about is that in every example I have seen some settings are done with default 0 fallback 1 or others with default=0 fallback=1 or default=0 fallback 1. What I want to know is if the = sign is optional or required. The last thing I want to have on the remote server is to screw up the grub configuration and have it not boot at all. I will list my grub.conf file as I plan to use it and I also I am running grub .93. If anyone out there knows the correct way to do this in redhat it would be much appreciated.

default=0
timeout=10
fallback 3
splashimage=(hd0,0)/grub/splash.xpm.gz

title Red Hat Enterprise Linux ES (2.4.21-32.0.1.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-32.0.1.ELsmp ro root=/dev/md1 /dev/ht0=ide-scsi
initrd /initrd-2.4.21-32.0.1.ELsmp.img
title Red Hat Enterprise Linux ES (2.4.21-32.0.1.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-32.0.1.EL ro root=/dev/md1 /dev/ht0=ide-scsi
initrd /initrd-2.4.21-32.0.1.EL.img
title Red Hat Enterprise Linux ES (2.4.21-20.0.1.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-20.0.1.EL ro root=/dev/md1 /dev/ht0=ide-scsi
initrd /initrd-2.4.21-20.0.1.EL.img
title Red Hat Enterprise Linux ES (2.4.21-20.0.1.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-20.0.1.ELsmp ro root=/dev/md1 /dev/ht0=ide-scsi
initrd /initrd-2.4.21-20.0.1.ELsmp.img

cowboy_jake 06-15-2005 09:22 PM

Looking at the documentation on the GRUB website... It doesn't look like the "=" is required for "default" or "fallback".

Here's the link... http://www.gnu.org/software/grub/man...#Configuration

-Jake

monkeypop 06-17-2005 05:00 PM

I guess what I was confused about was that the documentation from grub had them without = signs while the Redhat documentation does. Anyway I found an old computer to play around with and my guess was correct the = sign can be used inplace of a space, both configuration styles work.


All times are GMT -5. The time now is 11:09 AM.