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

Re: Recompile Debian Woody Kernel



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

You can take a look at my "log" file :-)

June 11, 2003
- -------------
* Install debian (no update)
 - make some necessaary changes
  # apt-get install vim
  # alias vi=vim
* Update kernel 2.4.18 from CD
 - install gcc compiler
  # apt-get install gcc
 - install libncurses5 and lincurses5-dev for make menuconfig
  # apt-get install libncurses5 libncurses5-dev
 - install kernel-package. Built-in package for kernel installation
(to make image file) so you can use `make-kpkg kernel_image'
  # apt-get install kernel-package
 - install the kernel-source
  # apt-get install kernel-source-2.4.18
 - preparation
  # cd /usr/src
  # tar jxvf kernel-source-2.4.18.tar.bz2
  # ln -s kernel-source-2.4.18 linux-2.4.18
  # cd linux-2.4.18
 - create linux <kernel-image>.deb from kernel-source
  # make-kpkg kernel_image
 - Just enter for all of the question :-) and get a cup of coffee
(Decaf, please! :-))
 - install the <kernel-image>.deb and just follow the instructions
  # cd ..
  # dpkg -i kernel-image-2.4.18_10.00.Custom_i386.deb
 - restart
  # init 6
 - Shit! it doesn't work! It freezes! Error below
LILO 22.2 Loading Linux................
Uncompression Linux... Ok, Booting the kernel
 - Restart again and press SHIFT to get LILO console then choose
OLDLinux

June 12, 2003
- -------------
* (Still) Update kernel 2.4.18 from CD
 - Restart again and press SHIFT to get LILO console then choose
OLDLinux
 - Login as usual
 - trying to get `current' configuration from 2.2.x kernel (default)
  # cd /usr/src/linux-2.4.18
  # make oldconfig
 - Again, compile the kernel (create the <kernel-image>.deb)
  # make-kpkg kernel_image
  # cd ..
  # dpkg -i kernel-image-2.4.18_10.00.Custom_i386.deb
 - Still Freezes! Trying to recompile (clean one) and get rid of initrf
  # cd ..
  # rm -rf linux-2.4.18
  # rm -rf kernel-source-2.4.18
  # tar jxvf kernel-source-2.4.18.tar.bz2
  # ln -s kernel-source-2.4.18 linux-2.4.18
  # cd linux-2.4.18
  # make oldconfig
 - Get rid of initrd (Mmm seems that trough `make oldconfig' the
initrd is not loaded, So you don't need to go to `make menuconfig' to
deselect it.
  # make-kpkg kernel_image
  # cd ..
  # dpkg -i kernel-image-2.4.18_10.00.Custom_i386.deb
  # init 6
 - Wait... it Works! It was because initrd stuff.

On Thu, 12 Jun 2003, tt tt wrote:

> Are there any beginners guides to recompiling the kernel - specifically for woody?
>
> Thanks

thx
.dave

There is a multi-legged creature crawling on your shoulder.
		-- Spock, "A Taste of Armageddon", stardate 3193.9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+6IQP7SUrJYWHOyoRAv3WAJ9TFGxYTGSlF9LNgu5JuDPH9gB7EgCeJUBH
bMOZprijZc7GvnihUxJMn3M=
=2bJl
-----END PGP SIGNATURE-----



Reply to: