Newer Linux (that is, kernel)
Kenneth P. Turvey
kt-usenet at squeakydolphin.com
Wed Aug 2 05:55:34 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 28 Jul 2006 06:35:17 +0000, Pupeno wrote:
> I need, due to new hardware, a new Linux (that is, the kernel, Linux is a
> kernel). What path do you recommend me to get it ? I see the following:
>
> * Download the sources from Edgy repositories (.dsp and others) and
> re-build. I tried it, rebuilding worked, trying to install required a
> module-init-tools newer that what I have, would it be safe to just change
> that dependency on the control file and re-build ?
>
> * Download sources from Ubuntu using git. This seems living too in the
> edge, isn't it ? it seems for people actively working on the packages of
> Linux, I don't plan to do that.
>
> * Download vanilla (mainstream) Linux and recompile, and here I have a
> couple of choices. How:
> - using good old make and install
> - using make-kpkg, I tried this one
> or with what config:
> - using Ubuntu Daper config and running make-kpkg --config=oldconfig, I
> tried this one.
> - using Ubuntu Edgy congig
> The vanilla kernel I built hangs when booting, I am not sure why or doing
> what. Depressing.
What I've found myself doing is downloading the latest and greatest stable
kernel from kernel.org and then creating an Ubuntu package out of it.
You should start by copying the config file from your old kernel into the
new kernel directory:
cp /boot/config-2.6.15-26-amd64-generic ./.config
Then do make menuconfig
make oldconfig
make menuconfig
Make any changes you want to make, probably keep them small.
Then build the kernel packages:
#!/bin/bash
#make oldconfig
make-kpkg clean
make-kpkg --rootcmd fakeroot --initrd --append-to-version -mykernelname \
kernel-headers kernel-image kernel-source
If you need to keep track of changes to your kernel and move them ahead when
HEAD of the tree moves, you should probably look into subversion. It handles
most of these problems without breaking a sweat.
- --
Kenneth P. Turvey <kt-usenet at squeakydolphin.com>
XMPP: kpturvey at jabber.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFE0D5Hi2ZgbrTULjoRAmzPAJ0TH1bgvJKDMgv0yQqv64Hk6p6SkwCfWUqT
MmQGxBwK+0dQ7RkLWqB0H/c=
=92Bn
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list