change default kernel at boot
Kam Leo
kam.leo at gmail.com
Thu Apr 21 04:58:31 UTC 2005
On 4/20/05, Antonio Olivares <olivares14031 at yahoo.com> wrote:
> Sorry to bother again but I get kernel 2.6.9-1.667 by
> default and I want to change to 2.6.11.7 the newly
> installed kernel. How do I do that?
>
> Here's what's in /boot/grub/grub.conf
>
> [root at rio ~]# cat /boot/grub/grub.conf
> # 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/VolGroup00/LogVol00
> # initrd /initrd-version.img
> #boot=/dev/hda
> default=1
NOTE: Grub counts installed kernels and OSs from 0. The first kernel
(2.6.11.7) is number "0", the second (2.6.9-1.667) is number "1",
etc.
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
TIPS: Change "hiddenmenu" to "#hiddenmenu" to disable the hiding of
menu. This will allow grub to present a menu of kernels and OSs for
booting. You should also change the "5" in "timeout=5" to a larger
value to provide you with more time to make a selection.
> title Fedora Core (2.6.11.7)
> root (hd0,0)
> kernel /vmlinuz-2.6.11.7 ro
> root=/dev/VolGroup00/LogVol00 quiet acpi=ht
> initrd /initrd-2.6.11.7.img
>
> title Fedora Core (2.6.9-1.667)
> root (hd0,0)
> kernel /vmlinuz-2.6.9-1.667 ro
> root=/dev/VolGroup00/LogVol00 rhgb quietacpi=ht
> initrd /initrd-2.6.9-1.667.img
>
> [root at rio ~]#
>
> Thanks,
>
> Antonio
>
More information about the fedora-list
mailing list