Hi all, this is a very important topic in understanding how linux works, it is a monolithic structure and not a micro-kernel (whatever that means, lol)
You basically will have to compile a kernel sometime in your life if you are fiddling w/ Linux
Here is a website dedicated to the introduction of kernel concepts... KERNEL NEWBIES
Probably costs a fortune to feed, though. And where on earth do you get penguin milk from? OK, no need to answer that ...
That site looks quite interesting. The last "kernel newbies" site I came across was absolutely crammed with technocrap, guaranteed to send its intended audience into a blind panic. (That'd be a blind kernel panic, of course.)
Actually, compiling a kernel isn't all that difficult. Getting a new kernel to boot can be a bit fiddly, but all good things come to those who wait. Just take it slowly, and note down any changes you make.
They do change slightly over time, so it's worth using instructions for your particular kernel.
It didn't help with my main challenge of the moment - those flippin' modems - but it's one way to find out what hardware is supported, and what your kernel can do. For example, there are several different options for PPP (Point-to-Point Protocol, which is how networks and internet access happen). Some Internet Service Providers insist on using one or another, or you might find that the only one that's automatically available doesn't work with your modem. So you can change the options, following the instructions to the very letter, and reboot with your very own personalised kernel.
Is that enough detail for now? Only, I'm in the middle of rehabilitating a transplanted AMD 64 ...
I'll have to read the instructions very carefully before trying them out. I think I found an error in the ones I was using to compile Fedora Core 4; they said to move a directory, then copy something from it at its original location - like this:
Then, a couple of steps later: # cp /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/configs/kernel-2.6.11-i686.config .config
So I put the kernel source back again, and symlinked it instead (ln -s in the first line instead of mv). And it still didn't work, because I appear to have a very small partition where a very large one should be.
I like Fedora, but am prepared to go off it for the sake of a quiet life. Or any life at all, really.
[send green star]
[
accepted]
I have not fooled around with kernel compilation in some time, so I'm a bit rusty.
There was a time when I could create a 2.6.x bzImage, under 1.5 Mb, and have sound,video, lan, etc.
Most of my experience is with Slackware and FreeBSD, I don't usually bother with mkinitrd,
or creating symlinks all over the place.
In earlier documentation Torvalds suggests building the kernel from the /home directory NOT /usr/src.
If new kernel version..
cd /usr/src ;
tar xvjf ;
cd /usr/src/somekernel-2.x.x ;
make mrproper ;
make menuconfig ;
(Tweak and go blind reading options) (or use pre-configured .config)
save kernel configuration or load from an alternate file.
make dep ; (2.4.x)
make bzImage ;
make modules ;
make modules_install ;
cp arch/i386/boot/bzImage /boot/reroll-2.x.x ;
cp System.map /boot/System.map-reroll2.x.x ;
cp .config /boot/config-reroll2.x.x ;
pico /boot/grub/menu.lst ;
ctrl o
ctrl x
Reboot into shiney new kernel and realize no net, no sound, no scsi, no this, no that.
[send green star]
I am a control freak. That is why I like computers.
I can push a button to silence them.
To silence people, one must deliver a 9mm hollow point to the forehead.
This behavior is not socially acceptable most of the time.
I am a control freak. That is why I love Linux.
When we get to ; pico /boot/grub/menu.lst.
I want ...
title Slack bareacpi.i
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 ro hdc=ide-scsi vga=normal
to be copied and pasted to the stanza
And then ...
kernel /boot/vmlinuz root=/dev/hda3 ro hdc=ide-scsi vga=normal
To be edited to suit. kernel /boot/mynewkernel
"Automagically". I watch my system do things like this every day
and soon I will start really paying attention to what's going on, so I can do it too.
[send green star]