Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-09-2004, 02:28 PM   #1
Registered: Feb 2003
Location: Belgium
Distribution: Debian
Posts: 166

Rep: Reputation: 31
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
Old 02-09-2004, 02:34 PM   #2
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Go to and download whatever you like. I use Debian but I usually download kernel versions and patches manually.
Old 02-09-2004, 02:36 PM   #3
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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 to the boot directory, edit your bootloader's config (if it's LILO, run it after editing to get it work) and reboot.
Old 02-09-2004, 10:19 PM   #4
Registered: Jun 2003
Location: Hanover, New Hampshire, USA
Distribution: Debian Sid (Unstable)
Posts: 143

Rep: Reputation: 15
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,, and runs and checks config for LILO)
Old 02-10-2004, 08:34 AM   #5
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,992

Rep: Reputation: 193Reputation: 193 if you are going to compile your own kernel you may as well do it the "Debian way".
Old 02-11-2004, 03:02 AM   #6
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
afaik, 2.6 does not need make dep anymore....

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating packages through apt-get tuxuser19 Debian 8 10-26-2005 10:30 AM
updating in slack10.1: apt-get? nadroj Linux - Newbie 12 05-30-2005 09:20 PM
Updating Software (Yast vs. Apt) NanoJock SUSE / openSUSE 4 02-23-2005 05:25 PM
erro updating with apt-get toddncl Linux - Software 1 08-20-2004 07:22 AM
Updating the kernel with apt-get yamaduc Linux - Software 0 12-19-2003 11:08 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration