Re: automagic rpm changes in grub.conf

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mikkel L. Ellertson schrieb:
> Christoph Höger wrote:
>> hi,
>>
>> I have a little problem: I once had to change the default menu option in
>> grub.conf manually to pick a specific kernel.
>> Now (having removed that kernel some time ago) whenever I update my
>> kernel, rpm is so smart to not just leave that file untouched but change
>> the default value to where the old kernel is now. How can I force rpm to
>>  make the latest kernel default boot?
>>
>> regards
>>
>> christoph
> What does your grub.conf look like?
> 
> Mikkel
> 

Hi,

my grub.conf:

default=1
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-42.fc8)
        root (hd0,1)
        kernel /vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.23.1-42.fc8.img
title Fedora (2.6.23.1-21.fc7)
        root (hd0,1)
        kernel /vmlinuz-2.6.23.1-21.fc7 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.23.1-21.fc7.img
title Vista
        rootnoverify (hd0,0)
        chainloader +1

notice, that this is after the last kernel update. Before that update
default was 0. Rpm mentioned that I had changed this and changed it to 1
to have the same kernel as default.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHNcZvhMBO4cVSGS8RAiM1AJ94X+oKrLvYt5OzrmSGovEI4+61bQCeINQw
qFGgCLRHCKrg9ahxKuAvXuE=
=BHaF
-----END PGP SIGNATURE-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux