LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-21-2002, 05:57 AM   #1
decster
LQ Newbie
 
Registered: Sep 2002
Location: Ireland
Distribution: Debian 3.0
Posts: 10

Rep: Reputation: 0
Question Rebuilding the kernel


This is probably a really dumb question but how do I rebuild the kernel from the CD using Debian. I've looked at the HOWTOs and on Google, but they all seem refer to rebuilding it in RedHat, as in

bash# cd /mnt/cdrom/RedHat/RPMS

Am I missing something really obvious or is this done differently in Debian?

dec
 
Old 09-21-2002, 08:30 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Why not build up a new kernel? For information on building your own kernel you may check out http://www.kernelnewbies.org
 
Old 09-21-2002, 09:21 AM   #3
decster
LQ Newbie
 
Registered: Sep 2002
Location: Ireland
Distribution: Debian 3.0
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks markus, I'll give that site a spin. However all I want to do is add USB support to my kernel, by configuring and then rebuilding it from the version on my CD. Probably seems simple but to a newbie it ain't.
 
Old 09-21-2002, 10:44 AM   #4
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
I don't know about Debian, but Slackware has itw own USB kernel
 
Old 09-22-2002, 09:00 AM   #5
NGraphiX
Member
 
Registered: Feb 2002
Location: Jerusalem, Israel
Distribution: Fedora Core 3
Posts: 154

Rep: Reputation: 30
Just follow the instructions here..

http://www.tldp.org/HOWTO/Kernel-HOWTO-2.html

first time I saw kernel recompile I wasn't to happy but it's really
not to hard to follow.
NGraphiX
 
Old 09-22-2002, 09:20 AM   #6
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
To build a kernel The Debian Way:

Code:
apt-get install kernel-package less gzip
zless /usr/share/doc/kernel-package/README.gz
 
Old 09-23-2002, 04:08 AM   #7
decster
LQ Newbie
 
Registered: Sep 2002
Location: Ireland
Distribution: Debian 3.0
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the advice on doing this in Debian

However when I enter...

"apt-get install kernel-package less gzip
zless /usr/share/doc/kernel-package/README.gz"

...into the shell, I get back...

buzz:~# apt-get install kernel-package less gzip zless /usr/share/doc/kernel-package/README.gz
Reading Package Lists... Done
Building Dependency List... Done
Sorry, kernel-package is already the newest version.
Sorry, less is alredy the newest version.
Sorry, gzip is alredy the newest version.
Sorry, less is alredy the newest version.
E: Couldn't find package
buzz:~#

...have I done something wrong? I need to re-configure my kernel so that I can add USB support.
 
Old 09-23-2002, 05:24 AM   #8
NGraphiX
Member
 
Registered: Feb 2002
Location: Jerusalem, Israel
Distribution: Fedora Core 3
Posts: 154

Rep: Reputation: 30
freaky. can't you do things normaly in debian?
 
Old 09-23-2002, 05:41 AM   #9
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Quote:
freaky. can't you do things normaly in debian?
Of course you can install stuff the usual way, you just don't get the benefit of the package management system that way

decster

I gave you two commands, not one command split over two lines. The output of that says that all the packages required are already installed, so you just need to run the zless command to get to the kernel building instructions.
 
Old 09-23-2002, 06:42 AM   #10
decster
LQ Newbie
 
Registered: Sep 2002
Location: Ireland
Distribution: Debian 3.0
Posts: 10

Original Poster
Rep: Reputation: 0
thanks doeward



ahhh I see what you mean. stupid me. I'm reading thru the instructions now. thanks for the info

dec
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rebuilding kernel the Fedora way ... bpcw001 Fedora 1 10-29-2004 10:37 AM
Need some insite before rebuilding the kernel. kphume Linux - General 1 05-05-2004 10:22 AM
rebuilding kernel jmarsh Linux - Software 2 04-04-2003 09:09 PM
redhat 7.3 rebuilding kernel granny Linux - Newbie 6 12-20-2002 02:48 PM
Rebuilding kernel troubles Wapocalypse Linux - Newbie 3 12-04-2002 12:41 PM


All times are GMT -5. The time now is 06:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration