Changing default kernel
Alexander Apprich
a.apprich at science-computing.de
Wed Jul 7 08:02:45 UTC 2004
Daniel,
Danielb wrote:
> I've been downloading the new kernel versions as they come
> out for my version of Fedora Core 2. They seem to load
> fine, how do I change my boot loader (GRUB I think) so that
> it loads the latest kernel version by default? As at the
> moment it loads the kernel version that came on the DVD and
> I have to manually select the newer version(s) if I want to
> load them.
>
I would just copy the existing section with the old kernel and
replace things which have changed
[root at rubikon ~]$ 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
#boot=/dev/hda
default=3
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
# New kernel
title Fedora Core (2.6.6-1.435.2.3)
root (hd0,1)
kernel /boot/vmlinuz-2.6.6-1.435.2.3 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.6-1.435.2.3.img
# Original kernel
title Fedora Core 2 (2.6.5-1.358)
root (hd0,1)
kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.5-1.358.img
title Windows XP Professional
rootnoverify (hd0,0)
chainloader +1
> Cheers,
>
> Daniel
>
>
Hope this helps.
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3879 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040707/88e2fb60/attachment-0001.bin>
More information about the fedora-list
mailing list