Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Kinda feelin like a newbie again as I am stuck on this on (hehe probably just more impatient than stuck)...
Does anyone know where any good HOWTO's are for upgrading the kernel (upgrading from 2.4.20-8 to 2.6). Reading the README just didn't help - plus this could be useful for others that wanna do the same thing.
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
1) download kernel
2) cp kernel.tar.gz /usr/src/
3) tar -xzvf <kernel>
4) make menuconfig
5) make dep <-- in Gentoo I use 'make all
6) make bzImage
7) make modules
8) make modules_install
9) cp /usr/src/<kernel>/arch/i386/boot/bzImage /boot/bzImage (rename bzImage if desired when copying to boot)
10) edit grub/lilo
11) reboot & cross fingers
I need something like that too. Most guides nowadays are just long verbose versions of rberry88's post with no troubleshooting information.
A good kernel compiling guide should deal with:
a.) Using src rpm vs. the tar.gz version
b.) What to do to configure both grub AND lilo after configuration
c.) Difference between make mrproper and make clean
d.) What should be compiled as a module and what should be built into the kernel
e.) What features most people need and which ones most people don't but are still selected by default in the config file. For example, I am puzzled on whether I should include various networking options I have no clue about whether I need, same with SCSI, I have no SCSI hardware, should I not select anything? How about framebuffer devices? The help text says I can "play around with it" but don't really need it. Really?
f.) When you shouldn't use make oldconfig
g.) What to do when rpm breaks after you upgrade to 2.6
h.) How to solve the various kernel panic messages
j.) What to do when modules fail to load after startup
k.) What to do with unresolved symbol errors
l.) Whether warnings during kernel compilation are due to your own mistakes, your compiler being too old, or the kernel developers being too lazy. For example:
drivers/net/bonding/bond_alb.c: In function `bond_alb_xmit': drivers/net/bonding/bond_alb.c:1340: warning: comparison is always true due to limited range of data type
m.) What to do if you screw up your bootloader
Yeah thats very true but the HOWTO's won't get any better until someone has done the upgrade and documented it - and then you actually have to experience all the problems to be able to document them all :P
I know theres a few new ways to setup the kernel, theres make xconfig (this is what I started to play with before I had to go to work) SO all those would have to be documented aswell.
The documentation on the net regarding a few subjects for linux/applications are quite contradicting - take the Samba HOWTO for example - I read this and couldn't get one part of it - did a google search and found a few documents about it but most had different info lol... Eventually found a good one that worked
All in all I've found that 95% of Linux stuff is documented pretty well tho... And there's so much fun to be had hehe
yes it is very detailed, and my objective and goal when doing this, was to explain every step that the end-user was to do, and in some cases why they are to do it... because i know when i was learning, and for that case, learning anything, you always see a command that you have to type, but it may either make no sense, or you don't know why you did it, or what it does, but you know that it must be typed because the howto or the person helping you tells you that its the command you need, and i didn't want that to be the case when i wrote this....
and since this is such a common task and something that people wanna try/learn just for the hell of it, i thought that this would be a good idea to dumb down something like kernel compiling....and since you always hear people pissing and complaining that the kernel howto on tldp.org or whereever else makes no sense, that also made it a good idea to slap this together..
1) well i am not sure how long it will take, but i assume things will speed up cause they made it easier to do this in 2.6, by cutting out steps....but just to give a ballpark figure, that is nothing more but an approximation, i will say if everything goes smooth for ya, that it will take about 35 - 60 mins ...
configuring the first time takes a lot of time, simply cos you might not know whats needed and whats not, and dont know if you're machine would work or blow up if you left or included anything. lol. sorry, didnt mean to scare ya, but thats how i felt when i first saw Xconfig. i only use menuconfig now as i feel thats better/more convenient.
the kernel compile itself takes about 20 mins (maybe less).