Compiling & Installing Kernel 2.6.0 in Mandrake 9.1
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
Compiling & Installing Kernel 2.6.0 in Mandrake 9.1
Hey Everyone, I'm running Mandrake Linux 9.1 and I recently downloaded the source of Kernel 2.6.0 (Stable Release from kernel.org). Now I want to compile and install it but don't know how.
I'm a Linux n00b (not ashamed of saying it! lol) so please explain the steps that I have to take thourouly.
Re: Compiling & Installing Kernel 2.6.0 in Mandrake 9.1
Quote:
Originally posted by emilsoft Hey Everyone, I'm running Mandrake Linux 9.1 and I recently downloaded the source of Kernel 2.6.0 (Stable Release from kernel.org). Now I want to compile and install it but don't know how.
I'm a Linux n00b (not ashamed of saying it! lol) so please explain the steps that I have to take thourouly.
Thank You!
I'm a newbie too and am trying to do the same thing. I found this link in an earlier post. The only thing that concerns me is that the poster instructs you to delete the earlier kernel. I'm looking around for instructions that allow you to update without deleting the "safe" working kernels. :-)
AGGGHHHH!!! Sorry, had to let that one out, after getting 2.6.0.1 kernel installed on 9.2 ,which was painless and sweet, (check this post) I just installed 2.6.0.1 onto 9.1 and have been going crazy/delirious with the dependency issues. Plus, the fact that I was installing kde3.2 beta2, which might had something to do with clumps of hair laying besides me.
But overall, my 9.1 turned into a 9.2 with the 2.6 and 3.2...blah. blah, blah. I see a somewhat of an overall difference in performance, yet nothing spectacular; 9.2 seems more quicker in performance. KDE 3.2 is okay, just a bit more eye-candy (love the transparent panel, btw) and a few more additions I'm still trying to get used to. No real issues yet, except floppy drive won't read/write...devfs/sysfs/udev/mount point fsck'd???
I don't know if you want to use rpms (simplicity at it's best? ) but what I did was deleted all the CD sources and add the rpm.cooker/cooker rpm2/plf repositories, plus the pubkeys, and the hellish nightmare began. You will probably have to search different repositories for the latest kernel, as most haven't updated, or in the process of updating.
Oh, this chaotic fun was done on a test box with a fresh install of 9.1.
I think they should've waited for Kernel 2.6 and then released Mandrake 9.2, cause right now, I still have no idea on where to start and what to do with the Kernel sources that I've got!
First print out your old 2.4 config file to use as a guide when running make xconfig.
WARNING Not responsible for typos or errors.
Starting from the directory where you downloaded the kernel.
mv linux-2.6.0.tar.bz2 /usr/src
cd /usr/src
tar xjf linux-2.6.0.tar.bz2
rm -f linux
ln -s linux-2.6.0 linux
cd linux
make mrproper
make xconfig #Configure using printout from 2.4 config file.
make all
make modules_install
cat arch/i386/boot/bzImage >/boot/vmlinuz-2.6.0
cp .config /boot/config-2.6.0
cp System.map /boot/System.map-2.6.0
cd /boot
mkinitrd initrd-2.6.0.img 2.6.0 #May not be necessary
Edit /etc/lilo.conf and add this:
image=/boot/vmlinuz-2.6.0
label="2.6.0"
initrd=/boot/initrd-2.6.0.img #May not be necessary
append=" your standard append"
root="your root partition"
read-only
OK, I did everything you said and everything went ok with no errors, but when I rebooted the system with the 2.6.0 Kernel, I got this and then the system halted:
OK, I tried that, but now istead it shows the "Loading 2.6.0 . . . . . . " and then clears the screen, changes the screen resolution 3 times and then freezes at a black screen!
Sounds like you are getting closer. Are you sure it's locked up? Maybe it's just booting without video. Does the harddrive activity continue? Sometimes you can wait till the harddrive activity stops then login and type startx and that works even though there is no video while booting.
See if you have console display driver support, that is in Driver section under Graphics support.
Check the console driver support. Also double check in filesystems and make sure you have root filesystem support built into the kernel. Also check in ATA/ATAPI/MFM/RLL support -> PCI IDE chipset suppoprt and make sure you have support for your chipset.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.