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.
This may be a silly question, but I need to have a clear view of it. So, what is a kernel? And how the Linux kernel is different form the Windows kernel (if windows has one). Please suggest some sites that will explain about the kernel, how it works, some useful code, and anything that you think will benefit. Thanks!
Bill Gates won't let you see it from what I have read. The kernel is what tells the OS how to recognize the components in your system. Maybe someone else can explain it better but it is the very root of the Linux OS. Can't run with out it. Like deleting the registry on windoze. Instant death.
Confused yet? Better ideas from a long time guru maybe.
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748
Rep:
A kernel is pretty much a device driver. Unlike other device drivers, however, the kernel tends to focus on the cpu and other "basic components". The kernel also makes judgement calls on the priority of jobs, including sorting them into their most efficient order. (More so now than in the past.)
Think of it this way. The kernel, in Linux or windows, is the part that loads before you can use the computer. If you can interact with your system at all, you are beyond the kernel stage. (There are exceptions, but not for the faint of heart.)
In fact, in Linux, as well as windows, much of the kernel proper, is written in assembly, with C binding the peices together. Most of the code has nothng to do with anything you'd care about. Most of it consists of moving numbers from one register to another in the CPU (or around in memory), which (over the long run) does fun things.
The difference between Linux and windows is that Linux's kernel is very much seperate from the rest of the OS. On the other hand, Windows' kernel contains stuff that shouldn't be there, including but not limited to, multimedia instructions, GUI instructions, networking instructions (not just drivers, but garbage that applications normally handle). Essentially, windows/dos is bolted together, and to maintain some semblance of effeciency, MS has found it necessary to make their kernel a jack of all trades.
The downside is that when your applications crash in linux, you get upset. When the same happens in windows, there is a good chance that your entire system might lock up as well. The upside is that you have your software "partners" by the balls.
How do for eg, Red Hat, put GUIs and use the kernel? How is it coded?
Is there anyway to compile the kernel in Windows, probably using a certain type of compiler.
Can I install the kernel only? How? Is the the harware requirement: pentium MMx 166 MHz, 16 Mb RAM enough to install the kernel?
If you can do programming why not grab a copy of the linux kernel source and see how its coded.
Having the kernel without other components of the operating system is like having only the engine of a car, with no wheels, chassis etc. you're not gonna get anywhere.
Yes p166mmx+16mb is enough to run linux, provided that you don't run memory intensive applications such as X.
im not sure if u guys understand this, but linux is the kernel. gnu and linux and a few other compnents make up the actual OS, most likely, for wut ur using. the kernel communicates with hardware. windows runs off of the NT kernel.
I don meant coding as the kernel coding. I meant that is it necessary to put some codes to the kernel so that it will work with the GUI components. Or do we code the components to work with the kernel. I hope this is not confusing.
About installing linux in p166mmx+16mb computer, what should I choose to install? I have tried to run the installation disk, but at the very beginning, it pops up a message saying that the hardware requirement is not enough. I've tried on Red hat ver 8 and ver 7.1.
OK, here we go:
The kernel is what handles all basic functions of the OS (in either Windows or Linux), such as handling memory, I/O tasks, CPU usage, etc. Different distributions may use slightly different versions of the kernel (one might use 2.4.18 while another uses 2.4.20), but distributions don't have their own kernel, but simply choose which packages/drivers/extra stuff that comes with the kernel. And now that you're probably throughly confused, you can't recompile a Windows kernel because Micro$oft doesn't make the source code of their kernel available.
Originally posted by unixbrain I don meant coding as the kernel coding. I meant that is it necessary to put some codes to the kernel so that it will work with the GUI components. Or do we code the components to work with the kernel. I hope this is not confusing.
About installing linux in p166mmx+16mb computer, what should I choose to install? I have tried to run the installation disk, but at the very beginning, it pops up a message saying that the hardware requirement is not enough. I've tried on Red hat ver 8 and ver 7.1.
Try vector or peanut linux for old hardware like that
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.