LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Rebuilding the kernel (https://www.linuxquestions.org/questions/linux-general-1/rebuilding-the-kernel-30871/)

decster 09-21-2002 04:57 AM

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

markus1982 09-21-2002 07:30 AM

Why not build up a new kernel? For information on building your own kernel you may check out http://www.kernelnewbies.org

decster 09-21-2002 08:21 AM

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.

nautilus_1987 09-21-2002 09:44 AM

I don't know about Debian, but Slackware has itw own USB kernel :D

NGraphiX 09-22-2002 08:00 AM

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

dorward 09-22-2002 08:20 AM

To build a kernel The Debian Way:

Code:

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


decster 09-23-2002 03:08 AM

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.

NGraphiX 09-23-2002 04:24 AM

freaky. can't you do things normaly in debian?

dorward 09-23-2002 04:41 AM

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.

decster 09-23-2002 05:42 AM

thanks doeward
 
:study:

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

dec


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