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


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

  Powered by Linux