I need install the kernel-source but, I can't seem to get anywhere. Either I can't get it to go any help on this would be really appreciated. I did try to
sudo wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.11.tar.bz2
#sudo tar jxvf linux-2.6.27.11.tar.bz2
#sudo ln -s linux-2.6.27.11 linux
#sudo cd linux
#sudo cp ../linux-headers-`uname -r`/.config . #(copy the previous kernel config to current dir (notice the '.'). You could use a different config if you like or start from scratch.
#sudo make oldconfig #(I usually accept the defaults for the new options. This takes all the options from the previous stock build
#sudo make-kpkg --append-to-version `date +"-%H%M-%d%m%Y"` kernel_image #builds a new kernel with todays time/date appended to the version number. You can omit this or use a different string
#sudo dpkg -i /usr/src/kernel_image.......deb #install whatever the name was of this kernel file you just created
#sudo reboot
I get to make-kpkg etc. then I get an error
exec debian/rules DEBIAN_REVISION=2.6.27.11-0549-07022009-10.00.Custom APPEND_TO_VERSION=-1300-07022009 kernel_image
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
====== making target CONFIG-common [new prereqs: testdir]======
====== making target CONFIG-common [new prereqs: stamp-conf]======
This is kernel package version 11.001-0.1.
====== making stamp-arch-conf because of ======
====== making target CONFIG-arch [new prereqs: stamp-arch-conf]======
====== making target conf.vars [new prereqs: Makefile .config]======
Makefile:518: /usr/src/linux-2.6.27.11/arch/xen/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-2.6.27.11/arch/xen/Makefile'. Stop.
make: *** [conf.vars] Error 2
Please help.