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

Re: kernel



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

>>>>> "Dutch" == Dutch  <dutch@users.buoy.com> writes:

Dutch> Generally, do you recommend comiling a kernel my hand, the
Dutch> "normal way", or the debian way? (Ive done it a 100 times the
Dutch> "normal way" but under slackware & rat hed 7.2 - never under
Dutch> debian).

It's up to you.  I don't compile kernels that often, so I know that if I
do it the normal way, I'll forget something.  Debian provides some
helpful scripts for compiling and installing kernels, automatically
applying patches (which you can specify, if they're available for the
kernel version), and compiling and installing 3rd party modules.

Dutch> If the debian way, where would I find a "debian-ized" kernel to
Dutch> download, and where could I find a clearly written, step by step
Dutch> procedure?

"apt-get install kernel-package"

fakeroot may be useful too, if you're using kernel-package.

Since you normally compile kernels by hand, I'll assume that you won't
have any problems reading the man page: "man make-kpkg".

Basically, it'll compile the kernel and modules and produce .deb files.
Then you install them (dpkg -i) and that's it.  If you're using LILO,
it'll frob your lilo.conf, and run lilo.

I think that it can use the stock Linux sources, but I usually just wait
for the kernel-source-<version> packages to come out in sid.  I think
that for 3rd party modules and patches, some amount of magic is
involved, so you'll probably need to install the source packages.

To find out what patches are Debianized already,
"apt-cache search kernel-patch"
For modules,
"apt-cache search module | grep source"
will give a huge list of packages, some of which are not module
sources.  You'll have to do a bit of filtering by hand.

- -- 
Hubert Chan <hackerhue@geek.com> - http://www.geocities.com/hubertchan/
PGP/GnuPG key: 1024D/71FDA37F
Fingerprint: 6CC5 822D 2E55 494C 81DD  6F2C 6518 54DF 71FD A37F
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8nBvSZRhU33H9o38RAg38AJ9Of39qfs5wKKuAGihAFjditsfUTgCdEOTa
i2thKgE3hwry1MmPAp/P+RA=
=sMgS
-----END PGP SIGNATURE-----



Reply to: