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!
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.
The kernel you downloaded has filename ending with .tar.gz or .tar.bz2, right? It's kernel source, you need to unpack it and compile. But first place it in an directory it may be unpacked. Then
tar zxvf filename.tar.gz
tar jxvf filename.tar.bz2
A directory will be created. Enter it.
The compilation is usually:
When you run 'make xconfig' a configuration program will be run. Read help and choose everything you need (the default config won't run on all machines). If you're not in X, use 'make menuconfig' or 'make oldconfig' instead.
After 'make modules_install' is done, you need to copy the kernel (from arch/i386/boot) to /boot and change your LILO/GRUB configration to point to it.
The desctiption was quite brief. If you have doubts, write.
You're in luck - Libranet makes compiling kernels exceptionally easy! Have a look at the option in adminmenu - it says something like "compile kernel" (I don't have a Libranet at the moment so I can't be sure). Going this way will save you many steps, in fact the only thing you'll need to do is selecting the actual kernel options - adminmenu will take care of all the making, moving and will even make an entry in the bootloader for you.
So basically, all you have to do is untar your new kernel source into /usr/src and make a link to it. Like so:
# cd /usr/src
# tar xjf linux-2.4.22.tar.bz2 <--- or whatever your kernel is called!
# rm linux <-- don't be afraid, this just removes the link
# ln -s linux-2.4.22 linux <--- now point that link to your new source
then go to adminmenu and continue.
But do some more reading so you know what you're doing! Libranet has a good mailing list, and a forum. Linuxquestions.org have a good kernel compiling howto floating somewhere. It will show you the manual way, but you can relate this to Libranet, and enjoy its advantage
Downloaded the Kernel patch-2.4.22.bz2 to the desktop. Clicking it brings up Ark (This seems to be basically Win Zip/Rar like Windows) and I extracted the file to the Desktop. Now I have a 30Mb text file called patch-2.4.22. So now all I have to do is Cut or Copy and Paste that file into - Root Directory/Usr/Src? Trouble is I have NO write permissions for this folder, DOH! Were have I gone wrong? Why is it blocking me out? Is this some kind of administrator setting ala Windows?
Also can't extract directly to the folder, same error.
What's my next move? Please tell me you all had this much hassle on the first day of use, it will make me feel a bit better.
Bit of a side question were is the option to up the screen res? Would help if I could get it above 1024.
On the plus side I got dual boot to work, I have sound, Internet access and Opera is up and running, so today wasn't a total waste.
agree that upgrading kernel is abit tricky . But don't worry , if you fail , try once more , fail again , try once more , if you fail a gain , then ...... you just like me ^o^ , me have enough of this , after trying 3 times , I decided to use Auto Up2date from Redhat and I succeeded
Don't panic, it's OK
First of all, I didn't realise you were using a patch. The instructions I (and everyone before me) gave you related to installing a new version of the kernel. Frankly, I have no idea how to use a patch - I've never done it, I'm afraid. Why are you so keen to upgrade your kernel, i I may ask? It seems your system is working, I would respectfully suggest it would be better to leave the kernel alone until you've got some more understanding of how things work...
access to /usr/src: nothing has gone wrong, it is supposed to be this way! You need to login as root to access this directory. You also need to be root to do anything with your kernel, anyway. Also, you won't be able to do all this from KDE. Eventually you'll need to drop to the command line, I'm afraid!
So to move the file you downloaded, open a terminal, type su - when prompted for password, enter your root password. Then you can copy the file:
#cp patch-2.4.22.bz2 /usr/src
But once again, I'd suggest leaving this alone for now... there's plenty of other things for you to explore first
Screen resolution: in KDE, try Control Center -> Perpherals -> Display
Yeah you are right, I didn't realise there was a difference, at kernel.org I clicked on the 2.4.22 which is a 5Mb patch (I thought it was small) you have to click on F for the full source (It's 28Mb, that's more like it).
Why am I doing it, why not? Seemed like a good idea at the time, just wanted to see how it works. I don't suppose I really need to. If I don't I will have to put the nForce2 driver on myself, so I will probably be back with a whole new set of stupid questions to test your sanity.
I'm also a newbie with same/similar problems. I've downloaded the Kernel-HOWTO and followed the steps, but I would like to actually know what I'm doing so: can anyone tell me what is bzImage and what is vmlinuz? As I get it, these are both ( compressed ) kernels, but I'm obviously wrong
nibbler, usually it's the same. The file created during compilation is bzImage, but when copying it to /boot the name is usually changed to vmlinuz. But that's only tradition. You don't have to change it.