[arch-general] Howto Preserve Current Kernel through Update?

Ray Rashif schiv at archlinux.org
Sun Dec 12 03:51:57 EST 2010


On 12 December 2010 11:39, David C. Rankin
<drankinatty at suddenlinkmail.com> wrote:
> On 12/11/2010 09:34 PM, David C. Rankin wrote:
>> mkinitcpio -k 2.6.35-dcr \
>> -c /etc/mkinitcpio.conf \
>> -g /boot/kernel26-dcr.img
>>
>> mkinitcpio -k 2.6.35-dcr \
>> -c /etc/mkinitcpio.conf \
>> -g /boot/kernel26-dcr-fallback.img \
>> -S autodetect
>
> Of course that should be 2.6.36-dcr

You're on the right track. Two points that you have to remember:

1) there must be modules
2) there must be a kernel image

Change the file names in /boot, because mkinitcpio still creates with
the standard names. You can change the config files as well.

I created a script to install an x64 kernel alongside i686, but it's
all about renames, so you can use it verbatim as well (if you have the
pkg cached):

http://paste.pocoo.org/show/303829/

./303829 $kernelpkgfile $name

Or just follow the steps and rename stuff in existing files.


More information about the arch-general mailing list