LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-24-2003, 08:54 AM   #1
Gilion
Member
 
Registered: Sep 2003
Location: Netherlands
Distribution: Debian 3.0
Posts: 78

Rep: Reputation: 15
How to install a kernel-image package


For networking purposes I like to upgrade my debian potato system to a debian woody releas with 2.4.x kernel. So I used the apt-get dist-upgrade method. Now my system is called version 3.0, but the kernel is still version 2.2.19:

uname -r
2.2.19

So I dug further in the debian documentations like the Reference, the FAQ and the user's guide. I found out about the kernel-image packages. If I correct, these contain a precompiled standard kernel with standard modules, which is perfect since my current kernel isn't anything special at all. I tried to install package of the 2.4.18 kernel on 386.

Like every newbie I get really nervous at this point, anxious to damage my system.

Apt-get always installs most recent stable versions of packages, does it also automatically select the kernel for my architecture (486) ?

Unsure about this I installed all supporting packages using apt-get, after-which I downloaded the exact kernel-image package and tried installing it using dpkg. It prompts to change /etc/lilo.conf. I only need to add one line:

initrd=/initrd

Don't I need to remove other lines in the configuration of the linux loader, e.g. links to the old kernel? If I am correct, this line tells the kernel were to find the initrd filesystem. This file-system is empty. Doesn't that harm the system? Finally, I am wondering if I will be able to remove the old kernel image, since dpkg -s kernel-image does not find any installed kernel?

Any tips are welcome,

Gilion

Last edited by Gilion; 09-24-2003 at 08:55 AM.
 
Old 09-24-2003, 12:21 PM   #2
Gilion
Member
 
Registered: Sep 2003
Location: Netherlands
Distribution: Debian 3.0
Posts: 78

Original Poster
Rep: Reputation: 15
I found out a couple of things:

Initrd contains important drivers which need to be loaded in order to load the kernel, thus whenever the initrd line is incorrect the booting system will fail. Now how can I configure the initrd filesystem, incl. the addition in lilo.conf, before the kernel to be loaded is installed?? Or is this a wrong conclusion?

Also, I like to know how I need to use mkinitrd in order to get this working. Do you have suggestions for extended reading?

Anyone?

Gilion
 
Old 09-24-2003, 05:21 PM   #3
damien
Member
 
Registered: Sep 2003
Location: Calgary, Canada
Distribution: Slackware 10.0
Posts: 90

Rep: Reputation: 15
I posted this a couple of days ago when I was trying to get my SCSI card to wake up at the right time. It covers initrd pretty well


http://www.pucmmsti.edu.do/materias...TUT/node34.html

The link to the complete book is here:

http://www.pucmmsti.edu.do/materias...E_TUT/rute.html

Hope this helps.
 
Old 09-24-2003, 05:23 PM   #4
damien
Member
 
Registered: Sep 2003
Location: Calgary, Canada
Distribution: Slackware 10.0
Posts: 90

Rep: Reputation: 15
For some reason the url got clipped just then. Here:

http://www.pucmmsti.edu.do/materias/...UT/node34.html

http://www.pucmmsti.edu.do/materias/..._TUT/rute.html
 
Old 09-25-2003, 02:36 AM   #5
Gilion
Member
 
Registered: Sep 2003
Location: Netherlands
Distribution: Debian 3.0
Posts: 78

Original Poster
Rep: Reputation: 15
Thanks, that's usefull, I got it working.

Gilion
 
  


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
Install kernel devlopment package ust Linux - Software 0 01-25-2005 08:24 AM
install kernel image Smokey Slackware 4 08-27-2004 10:34 AM
kernel image for slack 9.1 install space13 Slackware 4 06-24-2004 09:52 PM
kernel image for slackware 9.1 install space13 Linux - Newbie 0 06-22-2004 11:19 PM
Install kernel source package yzrider210 Linux - Newbie 2 11-22-2003 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration