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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I apologize if the topic seems alittle vague I did not want to make it overly long. Only enough to give you an idea of what I was looking for in regaurds to information.
I had afew questions regaurding updates and such and they are as follows.
1) When I do my yum updates and for example got a new kernal update to 2157 I beleive (correct me if I am wrong). When the system rebooted after installation I recieved a graphics card error and was not able to boot into gnome until the system did an automated recovery and did it's own video driver recovery from defualt drivers. Now I DO understand that the root cause for this was that I had the kmod-nvidia drivers? RPM? installed. (Also had troubles with kmod-ntfs)
My question relating this is, Do I need to do a "yum remove kmod" everytime I go to update the kernal to ensure I can boot back into the new kernal and then do a "yum install kmod" once the installation is complete? If so is there a specific reason as to why these drivers fail when all others on the system seem to accept the new kernal update?
Secondly, While being new to Linux in general I have seem some talks of "compiling of the kernal". I was hoping to gain more understanding on what exactly this means some benefits and flaws and how this differs from when I do a "yum update" and end up getting a new kernal build (if they are not the same thing). Thanks for your time. I appreciate all the help you have all given me in the past!
Also on a final note. Can anyone explain why everytime I update I always have 2 choices for each update on my grub loaders one 21XX and one for 21XXSMP. I know that SMP stands for duelcore but why would the system load both when it KNOWS i have duelcore?
Sorry forgot to say I was using Fedora 5 2157 kernal release I believe.
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
It installs both, because on dualcore SMP may fail or not fail. It is for dual-processor anyway..
About compiling=building kernel. When you download binary from distro vendor, you get standard compiled kernel. When you compile yourself, you download source code (it is readable - and editable, unlike binary form), possibly apply patches like suspend2, check everything you need that is in kernel, uncheck things that just add bugs on your system and build it - with optimizations for your processor family, not generic 80386 processor.
Once you compile a kernal can you then still add programs and applications properly? Or everytime you add an application does the kernal need to be recompiled?
Does compiling your own kernal give you that much of an improvement system performance wise?
While I like the idea of being able to literally pick and choose what applications and software is running on my machine (while I have alot of learning to do yet before I can properly understand the basics of what I need) Would this not also be a huge security risk for a machine being connected to the internet if you do not truly know how and what services and applications you should be running?
It's kernel. Yeah, you can install applications as normal after compiling a new kernel (or recompiling your old one). You don't need to recompile the kernel every time you install new applications. If you compile a new kernel though (or recompile your old one I would think), you may need to recompile and reinstall some software (not normal software, just things like the NVIDIA drivers, or NdisWrapper for example).
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
It really depends. Sometimes it gives you some rare features you like also. Or lets you get rid of initrd. By the way, initrd is a thing to ask about before you fail to boot, not after - if you use Fedora. About huge security risk - get bastille or something with similar name. It will close most network applications from the outer world. A good start, I think - gives time to learn..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.