Try to start from your current configuration. Copy the config file from the /boot directory
This is general instructions without an initrd image
You will have to select(not as modules) your current filesystems and sata/ata drivers in menuconfig, for this to work.
Do all this as root
Isntall packages that are needed:
Code:
apt-get install kernel-package ncurses-dev fakeroot wget bzip2
Download the kernel:
Copy your current configuration:
If your /boot partition isn't mounted:
Copy:
Code:
make mrproper
cp /boot/config...[your current kernel version] .config
Customize:
Build and Install
Code:
make && make modules_install
cp cp arch/(your arch)/boot/bzImage /boot/mykernel
Edit grub.conf
Code:
nano -w /boot/grub/menu.lst
Add:
Code:
title Debian Custom
root (hd0,0) # Set this to where your boot your partition is.
kernel /mykernel # If you dont have a boot partition set this to /boot/myquernel
To build a kernel with initrd image you can fallow this intructions:
http://www.falkotimme.com/howtos/deb...el2.6_compile/