Welcome! Log In Create A New Profile

Advanced

Installing Kernel Doesn't Work

Posted by Eddiie 
Eddiie
Installing Kernel Doesn't Work
February 09, 2013 02:06PM
I have a new Kernel built... dpkg -i *.deb...

Looks good.

When I reboot, still the old kernel.

How do I use the new kernel?
Re: Installing Kernel Doesn't Work
February 09, 2013 02:56PM
Eddie,

"dpkg -i" will only generate new vmlinuz and initrd.img in your /boot directory.

Go to /boot directory and find these 2 new files generated by dpkg. They should look like these:

vmlinuz-x.x.x-x-kirkwood
initrd.img-x.x.x-x-kirkwood

where x.x.x.x is the version number

Then run these 2 commands

mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-x.x.x.x-kirkwood -d /boot/vmlinuz-x.x.x.x-kirkwood /boot/uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-x.x.x.x-kirkwood -d /boot/initrd.img-x.x.x.x-kirkwood /boot/uInitrd



Edited 1 time(s). Last edit at 02/09/2013 02:58PM by bodhi.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: