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

Re: Kernel



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pedro M. (Morphix User) wrote:
| Can anybody answer the questions about how to update from a kernel to a
| newer one (untouching the configuration : hardware, options and so on )??-

I don't have more time and the english is not my native language, but
one easy way is using and copying the config file from a kernel image
before. When you install a kernel image from a debian package, it comes
with a /boot/config-$VER.$OF.$KERNEL file, you can place this file as
.config file in the source directory of the new kernel, usually in:

/usr/src/kernel-source-$VER.$OF.$KERNEL

or

/usr/src/linux (symbolic link of kernel-source-... or linux-VERSION if
you use an source image from kernel.org)

you must execute "make menuconfig" inside the directory of the kernel
source to add new device drivers and update the .config file with the
new options of the new version of kernel (if you are amateur, you can
exit and save the new configuration without changing something in
there), and run the make-kpkg:

make-kpkg --revision=myrelease1 --append-to-version=-mine1 binary

You can include the "--initrd" option or maybe you can only generate the
"kernel_image and kernel_headers" packages. The binary option resumes
the kernel_image, kernel_headers, kernel_doc and kernel_source and
create the debian package for each one.

If you need an explanation about the options of make-kpkg you can use
the manual pages:

man make-kpkg

Remember that man is your friend.

Greetings!
- --
nmag only
gnupg 0xA024A03F [pgp.mit.edu] && GNU/Linux Registered User #312624

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAb+vRy3Ce2qAkoD8RAojzAJ4mCvpXtn9Sd1sI5D+s6JYIhICvvACcCW6U
J35CiHcWnVT8F8hAZb3499U=
=m4F6
-----END PGP SIGNATURE-----



Reply to: