Here's the script I'd run manually every time I upgraded my kernel:
#!/bin/bash
cd /
mv vmlinuz vmlinuz.old
mv initrd initrd.old
NEW_KERNEL=`rpm -q kernel | tail -1 | sed -e 's/kernel-//'`
ln -s boot/vmlinuz-$NEW_KERNEL vmlinuz
ln -s boot/initramfs-$NEW_KERNEL.img initrd
exit 0
--
us
On Sun, 2011-02-06 at 14:58 -0500, Nikolaus Rath wrote:
> Hello,
>
> Is there a way to get initrd.img and vmlinuz symlinks in /boot or / that
> are automatically updated to point to the newest installed kernel?
>
>
> Thanks,
>
>-Nikolaus
>
I am not sure what you are asking, but when yum up
"Kevin J. Cummings" writes:
> On 02/06/2011 02:58 PM, Nikolaus Rath wrote:
>> Hello,
>>
>> Is there a way to get initrd.img and vmlinuz symlinks in /boot or / that
>> are automatically updated to point to the newest installed kernel?
>
> Huh? I don
On 02/06/2011 02:58 PM, Nikolaus Rath wrote:
> Hello,
>
> Is there a way to get initrd.img and vmlinuz symlinks in /boot or / that
> are automatically updated to point to the newest installed kernel?
Huh? I don't have any links in /boot Not on any of 3 different
systems
Hello,
Is there a way to get initrd.img and vmlinuz symlinks in /boot or / that
are automatically updated to point to the newest installed kernel?
Thanks,
-Nikolaus
--
»Time flies like an arrow, fruit flies like a Banana.«
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E