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

Re: DPT2044W SCSI adaptor with disk installed but no /dev/sd* devices created



On Mon, 2008-12-08 at 15:23 +0100, Arthur Marsh wrote:
> lee wrote, on 2008-11-29 04:07:
> 
> > Hm, I've always been using the kernels from kernel.org without
> > problems.
> 
> How do you make .deb's of kernel.org kernels under Debian
> (kernel-package, checkinstall, ???)
> 
> Arthur.



Download the source code and unpack
root# cd /usr/src
root# wget
http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.1.tar.bz2
root# bzip2 -d linux-2.6.22.1.tar.bz2
root# tar -xvf linux-2.6.22.1.tar

Create new default link to new source code 
root# cd /usr/src
root# rm linux
root# ln -s linux-2.6.22.1 linux

Create a new config file based on the old one, this will prompt for new
configuration settings. Read carefully every question. 
root# make oldconfig

Compile the kernel into .DEB package 
root# fakeroot make-kpkg --append-to-version "-newkernel" \
 --revision "20081208"  --us --uc --initrd kernel_image

Then install .deb packages created in parent directory and link linux
link to the new header directory in /usr/src. 

Best,

Rob



Reply to: