LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-20-2004, 08:38 AM   #1
..:eMa:..
Member
 
Registered: Sep 2003
Location: Italy - Milan
Posts: 61

Rep: Reputation: 15
New KERNEL?


Hi!

I've installed Debian since 3 months and I'm very happy with this choice...

The kernel's version is 2.2-idepci and I would like to upgrade to a newest version.

First because I've found an ST WebCAM which work only with 2.4> kernel
even I think that 2.2idepci is a bit older...

Now, how do i do?
Which is the way to do that?

I know that I must download kernel source and compile them... AND ...???

My machine is a Celeron 333 98Mb Ram 40Gb Disk ... and so on...

ThkS!

Cia!
..:eMa:..
 
Old 05-20-2004, 09:35 AM   #2
Wandering_Dru
Member
 
Registered: May 2004
Posts: 32

Rep: Reputation: 15
Code:
# apt-cache search kernel-image
choose one of the kernel images, then...
Code:
# apt-get install kernel-image-2.<whateveryouchose>
no need to compile a kernel unless the provided images don't provide what you need. I know Woody provides an optional 2.4 kernel but I don't know if it's late enough to support your webcam. If it doesn't, installing a kernel from sarge isn't much harder.
 
Old 05-20-2004, 05:34 PM   #3
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
The Very Verbose Guide to Updating and Compiling Your Debian Kernel

http://osnews.com/story.php?news_id=2949
 
Old 05-21-2004, 04:23 AM   #4
..:eMa:..
Member
 
Registered: Sep 2003
Location: Italy - Milan
Posts: 61

Original Poster
Rep: Reputation: 15
I tried to do this
Code:
apt-get install kernel-image.2.4.18-1-686
but it says:
Quote:
You are attempting to install an initrd kernel image (version 2.4.18-1-686)
This will not work unless you have configured your boot loader to use
initrd. (An initrd image is a kernel image that expects to use an INITial
Ram Disk to mount a minimal root file system into RAM and use that for
booting).
As a reminder, in order to configure lilo, you need to
add an 'initrd=/initrd.img' to the image=/vmlinuz
stanza of your /etc/lilo.conf
But when I tried to lunch lilo it says
Quote:
initrd/initrd.img not found
I think I try to recompile it...
 
Old 05-21-2004, 07:55 AM   #5
wrat
Member
 
Registered: May 2004
Posts: 245

Rep: Reputation: 30
the easiest way to install a new kernel is with synaptic....no compile..no config
 
Old 05-21-2004, 03:09 PM   #6
bluebirdz
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 1
I do not think that you have to recompile your kernel-image.

As you executed lilo - after a hopefully complete intallation of your new kernel - the error message said:

Quote:
initrd/initrd.img not found
This means lilo can't find the 'initrd.img' in the directory '/initrd'.

But, what you need in 'etc/lilo.conf' is the entry:

Quote:
initrd=/initrd.img
Can it be that you have forgotten to write the '=' in your lilo.conf?

OK, hope this helps to solve your trouble, if not please post the error messages.

bluebirdz
 
  


Reply



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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

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

All times are GMT -5. The time now is 09:39 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
Open Source Consulting | Domain Registration