Re: Links in /boot

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

 



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


      
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


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

  Powered by Linux