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

Re: upgrading the kernel in debian etch from 2.6.18 to 2.6.29



On Thu, Apr 02, 2009 at 12:29:32AM -0400, Joey L wrote:
>      You might want to do add "--initrd" to the list of arguments to build
>      the ramdisk, which would load the modules required to mount your
>      drives and read the files etc. That should solve the problem.
> 
>    Thanks for getting back to me, but do i make the line look like this :
> 
>    fakeroot make-kpkg --revision=custom.1.0 kernel_image --initrd**
> 
>    and then execute :
> 
>    dpkg -i kernel-image-2.6.29_custom.1.0_i386.deb
> 
>    cd /boot/
>    mkinitrd -o /boot/initrd.img-2.6.29 2.6.29

True, that will not necessitate a recompile. But, the next time you
build your kernel, just use

make-kpkg -rfakeroot --initrd --revision=custom.1.0 kernel_image

Also, to easily make an initramfs, I use update-initramfs as follows:

sudo update-initramfs -c -v 2.6.29

HTH.

Kumar
-- 
Kumar Appaiah


Reply to: