[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to edit Grub boot menu?



Mark Champion wrote:

> Currently, my boot menu gives me 3 options...
>
>     1. Linux 2.4.9
>     2. Linux 2.4.7
>     3. Windows 98
>
> I only want options 1 and 3.  (I can't think of any reason to run option 2.)

You would keep a previous kernel until such time that you are sure the new
kernel is stable. Removing Linux 2.4.7 from the boot menu won't remove the
kernel from the machine. it will still be in /boot, modules in
/lib/modules/2.4.7-10 and the sources will still be in /usr/src/linux-2.4.7-10.
(These are RH kernels?)



>
>
> Can anyone tell me what to change in grub.conf to accomplish this?
>
> (Sorry, I didn't understand Dennis's suggestion.)
>
> Thanks
>
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd0,0)
> #          kernel /vmlinuz-version ro root=/dev/hda2
> #          initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=10
> splashimage=(hd0,0)/grub/splash.xpm.gz
> title Red Hat Linux (2.4.9-13)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.9-13 ro root=/dev/hda2
>         initrd /initrd-2.4.9-13.img
>
>

This is your complete /boot/grub/grub.conf? If it is then you would not be
getting the choices you indicate above. Your only choice would be: Red Hat
Linux (2.4.9-13).
What does /etc/lilo.conf look like?

--
Dennis K. Grow
RedHat 7.2  Kernel: 2.4.13  KDE: 2.2-11  ALSA: 0.5.11  Samba 2.2.2
 10:30am  up 10 days, 22:06,  6 users,  load average: 0.00, 0.06, 0.13
------------------------------------------------------------







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]