installing a mandrake 2.6 kernel
i got the source on there and configured it, and from what i remember with mandrake's 2.4 kernels, they have their own series of make commands. are they different with 2.6 and if so how?
|
It should be the same. To make sure, look at the README file in the source tree. It will tell you what steps to take.
|
If the kernel is like mine on Gentoo the commands for 2.6 are
Code:
make Code:
bash-2.05b# uname -r :D :D :D :D |
Quote:
|
Quote:
I may try it though sometime. I may just point the bootloader to the other root and see what happens. That may get complicated. I'll figure out something though. Later :D :D :D :D |
*first mv your current kernel (e.g. at /boot/vmlinuz) to /boot/<kernelname>.old
*alter /etc/lilo.conf: *change 'image=/boot/<kernelname>' to 'image=/boot/<kernelname>.old' and 'label=<currentlabel>' to 'label=<currentlabel>.old' on the entry you boot from *make a second entry exactly the same as the one you altered except for 'image=/boot/vmlinuz' and 'label=<currentlabel>' now your lilo.conf looks like: Code:
... make config (or make menuconfig) make make install make modules_install lilo (this is very important DO NOT FORGET!!! Else you won't be able to boot!) That's it! This way, you can use the old entry as a backup kernel if it would happen that things didn't turn out as expected... |
I'm also going to try installing a 2.6 kernel. I have the source installed...but on a lark I tried to rpm the kernel-2.6 package...which says it needs a bunch of updated packages (which I hadn't found when looking that time) ...
Does compiling from the source require new packages also? Or can I just jump my mdk 9.2 install into a 2.6 kernel by compiling it the normal way? |
You should install the packages, as they are needed by the new kernel. There should only be 4 or 5 of them I think. When I updated, i remember they were much smaller in size than the kernel source, so it is not that bad.
There is a thread around with the minimum version of these packages, if i find it, I will link it here. |
yep, you can
|
no one said anything about make dep
|
...elluva corrects me, sorry for being misleading.
I guess it makes sense if you are compiling yourself rather than installing the binary compilled against the other package versions. My first attempts to compile 2.6 from scratch were unsuccessful, perhaps i was doing something else wrong in the config, anyway, at the time I assumed it was the package versions, as there ere several threads with package update lists floating around at the time. Good luck. PS here is the thread with the package lists, more than 4or5, but not toobad: http://linuxquestions.org/questions/...5&pagenumber=2 |
Quote:
Later :D :D :D :D |
Quote:
It is always better to compile a kernel yourself because you can compile it exactly to the needs of your hardware and this will certainly speed up your system. It won't work at first (chances are small), but after searching what things you need in YOUR kernel, you will notice the difference in speed. Also on a kernel compile, keep it as small as possible, if you don't have a RAID device, then don't compile support for it. You will notice it is worth the time. another thing: Colnago, I didn't mean to correct you, since I hadn't read your post ;) |
I'm also compiling and installing (attempting to anyway) a 2.6 kernel in Mdk 9.2
Make dep says its unnecessary what about make modules (I ask because only make modules_install was mentionned)? |
I assume Gentoo compile will be the same as yours. I did:
make make modules_install and that was it. It says it does dep and modules during the make process and the you install them and that is it. Hope that helps. Later :D :D :D :D |
All times are GMT -5. The time now is 01:13 PM. |