LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-14-2008, 02:31 PM   #1
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Rep: Reputation: 30
upgrade the kernel manually


Hi, the proxy of my job block all trafic generated by apt-get, so I can't get to the repos and update my system, the way I do upgrades is to seek the packages at packages.debian.org and then download them from the repos, doing this way sometimes is harder because of problem dependences but after fix them all works.

But at his moment I need to update my kernel (currently 2.6.17), my questions are:

1. is there another way to do the process automatically but without use apt-get? (I've tried several ways of configure it, with the proxy information, user, password and nothing)

2. If I choose to download the packages and install them with dpkg, is there a risk to crash my all system and even get a kernel panic?

3. if something goes wrong, like problem dependences for example, will I be able to work at least in console mode?

4. what are the packages necessary to update my kernel, at least tell me the most important

regards
 
Old 11-14-2008, 03:33 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
if you leave your old kernel available in your boot manager, you should be able to boot it also, no matter how you mess up a new kernel.
 
Old 11-15-2008, 05:02 PM   #3
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 52
Sounds painful, have you played around with /etc/apt/sources.list?
Try ftp and http and regional servers.
Failing that, shout your network admin a beer or three...

If for some reason you do need to build your own kernel, have a look at make-kpkg.
There's heaps of debian howto's out there:
http://www.google.com.au/search?hl=e...+howto&spell=1
but I can't vouch for any of them personally, it's been a long while since i had to build a kernel.
 
Old 11-15-2008, 08:04 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
This should help you if you decide you need/want to compile a new kernel. Ignore the stuff about installing patches, and just download the kernel you want from kernel.org. The current kernel is 2.6.27.6, and I'm running from it. Click on the "F" on the line saying latest stable kernel or something like that. That will download the full kernel. Pay special attention to the config file. You should do both of the following steps within the directory of the unzipped kernel, no matter what the instructions say.
Code:
cp /boot/config-`uname -r`  .config      (NOTE: those are back quotes, not single quotes and don't forget the dot ".")
make oldconfig
Instructions on compiling:
http://howtoforge.com/kernel_compilation_debian_etch

Location of linux kernels:
http://www.kernel.org
 
  


Reply


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
upgrading Fedora Core 3 kernel 2.6.9-1.667 to 2.6.26.3 manually+kernel panic error LinuxLovinNoob Linux - Newbie 7 12-17-2008 08:45 PM
How to manually add SATA driver manually when kernel boot? aixilin Linux - Kernel 6 08-15-2008 10:36 AM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 02:40 PM
How do I update the kernel manually? christian_delaf Red Hat 1 02-09-2005 05:00 PM
Distribution that is (manually) upgrade-friendly? gundelgauk Linux - General 7 02-24-2004 08:19 AM


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

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