LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2002, 06:19 AM   #1
Debianewb
Member
 
Registered: Aug 2002
Posts: 50

Rep: Reputation: 15
Question Howto install the linuxkernel-source from CDROM?


Well, that's basically it: Howto install the linuxkernel-source from CDROM?

As you can see I use Debian 3.0r0; I installed it using my Debian-installation-CD.

(I need to install the kernelsource, because I'd like to get my SBAudigy working under Linux..)

 
Old 10-28-2002, 11:01 AM   #2
txGeek
Member
 
Registered: Oct 2002
Location: Houston, TX
Distribution: Debian, Redhat
Posts: 39

Rep: Reputation: 15
Determine which Kernel you need the source for. Make sure your CD is in your /etc/apt/sources.list. Issue the command apt-get install libcurses5 libcurses5-dev kernel-package kernel-headers-#.#.# kernel-source-#.#.# which will install the Kernel source, header and package manager (substitute the appropriate kernel version for #.#.#).
 
Old 10-28-2002, 11:07 AM   #3
Donald1000
Member
 
Registered: Oct 2002
Location: Germany
Distribution: Debian, Non-Linux: Solaris, FreeBSD
Posts: 107

Rep: Reputation: 15
Hi!
If you want to make a new Installation of Debian, you can burn this ISO Image and boot from this CD Rom:
http://people.debian.org/~blade/boot-floppies/cvs/

With this Image Kernel 2.4.18-bf2.4 will be installed.
 
Old 10-29-2002, 08:15 AM   #4
Debianewb
Member
 
Registered: Aug 2002
Posts: 50

Original Poster
Rep: Reputation: 15
txGeek:..
First: Does your apt-get command install the kernel (and the rest of the command attributes) in /usr/src/ ?
Second: Do I really need all the libraries, packages etc. OR is the kernel-source-#.#.# just enough.... I only want to install my SBaudigy souncard and my Ati Radeon videocard....

tnX
 
Old 10-29-2002, 10:50 AM   #5
txGeek
Member
 
Registered: Oct 2002
Location: Houston, TX
Distribution: Debian, Redhat
Posts: 39

Rep: Reputation: 15
Apt-get will install the kernel source in /usr/src/kernel-source-#.#.# .

The headers, libraries and package manager are small so I would go ahead and install all of it.
 
Old 10-30-2002, 10:25 AM   #6
Debianewb
Member
 
Registered: Aug 2002
Posts: 50

Original Poster
Rep: Reputation: 15
Unhappy boehoehoe..

Uhmm.. It didn't work..
I issued the command you gave me. Then I looked at the directory, but there still wasn't any source in it (moreover the /usr/src/kernel-source-#.#.# wasn't even there! )
What it did was tell me that mplayer-k6 wasn't properly installed (I know: that's 1 of the reasons I needed the kernel.. l0l)..something about a few libraries not installed..

Anyhow, what do I check/do now? (I still really don't get when and how to use apt-get and dselect... and I DID rtfm .. )

Last edited by Debianewb; 10-30-2002 at 10:26 AM.
 
Old 10-30-2002, 02:15 PM   #7
txGeek
Member
 
Registered: Oct 2002
Location: Houston, TX
Distribution: Debian, Redhat
Posts: 39

Rep: Reputation: 15
Re: boehoehoe..

Quote:
Originally posted by Debianewb
Uhmm.. It didn't work..
I issued the command you gave me. Then I looked at the directory, but there still wasn't any source in it (moreover the /usr/src/kernel-source-#.#.# wasn't even there! )
You didn't literally type in #.#.# did you? If so, you need to replace the #.#.# with the appropriate kernel version like kernel-source-2.4.19.
 
Old 10-30-2002, 04:09 PM   #8
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
Quote:
Originally posted by Donald1000
Hi!
If you want to make a new Installation of Debian, you can burn this ISO Image and boot from this CD Rom:
http://people.debian.org/~blade/boot-floppies/cvs/

With this Image Kernel 2.4.18-bf2.4 will be installed.
Debian already contatins that kernel on the 3.0 cdrom, when you boot the installation you just have to type bf2.4 to install with the 2.4.18-bf2.4 kernel.

----------------------------

First write apt-cache search kernel-source

Then you have a list of the kernels available.

So it will f.ex. be:

apt-get install kernel-source.2.4.19

When you install the kernel, it puts it in /usr/src as a bz2 compressed file as far as i remember.
 
Old 10-31-2002, 05:20 AM   #9
Debianewb
Member
 
Registered: Aug 2002
Posts: 50

Original Poster
Rep: Reputation: 15
tnx aliensub; I'll try this tonight.. One small question right away: can I also view this "list of the kernels available"?

 
Old 10-31-2002, 05:56 PM   #10
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
write:
apt-cache search kernel-source

A really cool tool is synaptic, itīs a gui-frontend for apt-get and really nice.

You can get it by:

apt-get install synaptic
 
Old 11-19-2002, 09:36 AM   #11
Debianewb
Member
 
Registered: Aug 2002
Posts: 50

Original Poster
Rep: Reputation: 15
Okay did this, done that etc.

I extracted the file, because I reckoned the install-procedure for the SBAudigy drivers would need it that way.

Now, at this point the drivers still would'nt install. I figured out that I had to make the kernel, but this is where I get confused:
I'm perfectly happy with the way my Linux-setup works, therefor I don't want to change anything except for adding my soundcard and some more software.
I still don't quite understand if now my OS will use the uncompressed kernel and it's default settings or my "old" setup.
So I choose for make oldconfig (followed by make)in the hope it would keep my previous settings... Is this assumption correct?

If so, my modules still don't work. How can I fix this? (more makes?)

Last edited by Debianewb; 11-19-2002 at 09:38 AM.
 
  


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
install can't find source media - ide cdrom tunedLow Slackware 9 03-07-2006 11:17 AM
installing from source HOWTO? Lleb_KCir Linux - Software 13 05-25-2004 04:08 AM
Howto get lilo to boot a cdrom? kinasz Linux - General 2 05-17-2004 01:46 AM
k3b howto make booteable cdrom??? Schmurff Linux - Software 4 03-15-2004 09:27 AM
9.1 install, boot from cdrom, select source as cdrom, Can't find disk jake555 Slackware 1 10-30-2003 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:30 AM.

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