LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   updating kernel without apt-get! (https://www.linuxquestions.org/questions/debian-26/updating-kernel-without-apt-get-144144/)

restless 02-09-2004 02:28 PM

updating kernel without apt-get!
 
ok, i have an adsl modem and i need kernel 2.4.x to get connected to the internet, so the only thing i can do is go to windows and download and burn all the files i need. so now i want to update to kernel 2.6.x anyone here who can points me in the right direction plz?? because i see only people who write tuts using apt-get somewhere in the updating process which isn't an option for me..

I'm using debian 3.0r2 btw

Thank you in Advance

snacky 02-09-2004 02:34 PM

Go to www.kernel.org and download whatever you like. I use Debian but I usually download kernel versions and patches manually.

b0uncer 02-09-2004 02:36 PM

download the sources somewhere (/usr/linux-2.6/ for example) and then cd into the directory. then, if you know where it is, copy over the .config -file from your current kernel (to get the current settings) and do

make menuconfig

(or instead, make oldconfig/make xconfig/whatever) and change what you wish if you wish (no editing = basic kernel). then do

make deps
make bzImage
make modules
make modules_install

then copy (you're supposed to be in the source directory you downloaded & extracted) arch/i386/boot/bzImage (suppose you've got i386) to your boot partition, and from the source directory System.map to the boot directory, edit your bootloader's config (if it's LILO, run it after editing to get it work) and reboot.

smith847be 02-09-2004 10:19 PM

Easier for installing kernel 2.6:

make menuconfig (or whateverconfig)
make (does bzImage, deps, anything else needed)
make modules_install (puts all modules in /lib/modules/2.6.x/ and registers them with modprobe)
make install (copies bzImage, System.map, and runs and checks config for LILO)

HappyTux 02-10-2004 08:34 AM

http://newbiedoc.sourceforge.net/tut...ernel-pkg.html if you are going to compile your own kernel you may as well do it the "Debian way".

pe2338 02-11-2004 03:02 AM

afaik, 2.6 does not need make dep anymore....

and make-kpkg is a great way to compile the kernel....


All times are GMT -5. The time now is 08:34 PM.