Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
You insert a loadable module into the kernel with the "modprobe" command.
(man modprobe)
You cannot edit the kernel directly - you can edit the kernel source!
However - FC does not ship with the kernel source. You must use yum to install it.
(www.fedorafaq.org, www.mjmwired.net)
To insert a module into the kernel you must recompile the kernel to include your module code. There are plenty of tutorials etc (including in LQ) on compiling the kernel.
Once the module is compiled into the kernel, it is "enabled". (Unless you are thinking of something else?)
Last edited by Simon Bridge; 01-08-2007 at 09:37 AM.
I'd like to insert module into the kernel.
Use modprobe
Where is my kernel located?
The actual "kernel" is loaded during startup by the boot loader, so it would be in /boot
I'm using fedora Core 6..
I know a little bit about the modprobe,but is there any way to edit the kernel directly in text mode.?????
No. You can, however, pass argument through the kernel to processes started by it. And, of course, you're free to download the kernel source and recompile it incorporating any changes you wish.
Also how to enable a loadable module already in the kernel??
Look at /etc/modprobe.* for what is added by the nash init script, and at /etc/rc.d/rc?.d/* for the links to the services started after the kernel is loaded. (See /etc/rc.d/rc.sysinit for details.
If there's some specific thing(s) you'd like to have in the kernel, tell us what it is, and someone here might be able to help you.
Also, you should install the release documentation and look at the kernel options section. What you want to do might already be an option you could pass to your FC 6 kernel.
Last edited by PTrenholme; 01-08-2007 at 10:36 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.