LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-03-2003, 11:08 AM   #1
sharrej
LQ Newbie
 
Registered: May 2003
Location: Northridge,CA
Distribution: SlackWare 9.0
Posts: 5

Rep: Reputation: 0
Angry slackware 9.0 kernel source


can anyone tell me how to install the kernel source, i have the full distro of slackware 9.0 and i understand it's on disk 2 /slackware/k. I mounted the cdrom (from kde) and opened this directory and sure enough it's there but when i click on the install icon nothing happens....i tried doing it from the command line but can't find the directory /slackware/k any advice will be appreciated...i am trying to build a "mosix"cluster....thanx again
 
Old 06-03-2003, 11:33 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Well, your not going to have just a /slackware/k, but more like wherever the cdrom is mounted, usually by default in /cdrom or /mnt/cdrom
Look at your /etc/fstab file to see where the cdrom automounts or mounts to by default. Then you should be able to mount and view the contents.. and then copy or install the package from the cd that way.
 
Old 06-03-2003, 03:43 PM   #3
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
You can also get it from Slackwares FTP server, under the /k directory.

cd to the directory with the source, su -m, enter root password, and type "installpkg kernelpackagename.tgz".
 
Old 06-03-2003, 04:01 PM   #4
Blindsight
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 234

Rep: Reputation: 30
kernel source

Go to the Source! (Pun intended.)

ftp.kernel.org
or ftp.us.kernel.org
or ftp.de.kernel.org

not sure what works now a days, but one will, I'm sure. Newest kernel source is in bzip2 or tar.gz format. it'll be somewhere similar to /pub/linux/kernel/v2.4/ then have a list of all the 2.4 kernels. find the highest 3rd number and that's the latest linux kernel release.

Don't have time else I'd check for sure where it's at, but with 5 minutes, I'm convinced you'll find it.

Good to see you're interested in kernel source. That was one of my first steps to 'linux mastry'. =)
 
Old 06-03-2003, 04:45 PM   #5
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
dont get the generic kernel unless you want a dev version.

The kernel source on Slackwares FTP is pre-patched for a lot of stuff you'll most likely need, so you dont want to screw up your system.

Also, its in a package format, so its easy to install.


LOL, good pun.
 
Old 06-03-2003, 04:55 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by contrasutra
dont get the generic kernel unless you want a dev version.

The kernel source on Slackwares FTP is pre-patched for a lot of stuff you'll most likely need, so you dont want to screw up your system.

Also, its in a package format, so its easy to install.
I thought Slackware didn't modify any of the kernel as its the same kernel from the official kernel at www.kernel.org? hmmm...
 
Old 06-03-2003, 04:55 PM   #7
Blindsight
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 234

Rep: Reputation: 30
prepatch and package formats

First thing I do is recompile with a "generic kernel" to ensure my system is running as streamlined as possible. I've never seen an advantage to slackware's hooks.

Speaking of hooks (segway!), SuSE 6.0 or 6.4? don't remember, anyway, I could not get a 'generic kernel' to install on it, AT ALL. Their kernel was (or still is?) so deep in hooks, it wouldn't install a real kernel on it.

As for packages, I get satisfaction out of watching the binaries compile on MY system. I like the feel that that's MY binary. ;)
 
Old 06-03-2003, 05:49 PM   #8
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
Just for the record, the kernel included in Slackware is usually either the generic kernel, or the generic kernel with a couple of more significant patches that are available elsewhere from kernel contributors merged in. Patrick doesn't usually do any revision of his own, unlike most of the big distributions. Slackware has one of the most generic kernels of any distribution.
 
Old 08-07-2003, 04:48 PM   #9
Trolman
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
on the disk

To answer your question:

/mnt/cdrom/slackware/k
 
Old 08-07-2003, 04:55 PM   #10
Trolman
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
then

installpkg kernel-source-2.4.20-noarch-5.tgz
 
  


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
slackware kernel source install (kernel 2.6.6) ? LinuxOG Slackware 22 06-06-2004 04:34 PM
Where is Slackware Kernel Source? Louis_Carole Linux - Newbie 8 03-27-2004 04:07 PM
Slackware 9.0 kernel source acom99 Slackware 17 09-26-2003 12:09 PM
Slackware 9.0 Kernel Source and Compile PrimaryDataLoop Slackware 7 05-19-2003 09:32 PM
Can't compile source code in Slackware 9.0 kernel 2.4.20) GrandTheft Slackware 2 04-29-2003 10:52 AM

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

All times are GMT -5. The time now is 06:41 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