Re: Changing default kernel

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

 



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@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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux