Skip navigation.
Home
Now Shipping Version 7.0

New Howto- Installing the 2.6 kernel in Mepis


Posts: 405

Please comment and criticize- I put this together as a possible new Howto. Please have Warren look at it and see if he knows of something to change and if it will cause Mepis harm. Thanks.

Installing the 2.6 Kernel in Mepis.

This will make your official nvidia and radeon drivers unavailable to use with this kernel You will have to use generic Xfree drivers. There is some web sites that tell how to install the nvidia driver with the 2.6 kernel but I haven't gotten that far yet. I don't know Radeon.
Using kpackage this is what I downloaded and installed:
kernel-source-2.6.0-test9
kernel-image-2.6.0-test9-1-386 (this is to install the depends-initrd-tools >=0.1.53, coreutils >=4.0, module-init-tools >=0.9.13 , some may already be installed, and the kernel headers-2.6.0-test9-1
When kpackage asks if you want it to configure lilo, say ???no???.
Make sure the depends are installed as well as the kernel packages.

Look in /usr/src. There should be a file ???kernel-source-2.6.0-test9.tar.bz2???

Log in as ???root???. Use ark to uncompress the kernel source in /usr/src (Remember to have ark uncompress into /usr/src).
Then ???rm /usr/src/linux??? as root. And then ???ln-s /usr/src/kernel-source-2.6.0-test9 /usr/src/linux???. This is so when you ???cd /usr/src/linux??? you will be using the 2.6 source and not the 2.4 source.
Now for some reason, ncurses is installed but isn't available to run ???make menuconfig???. I used ???make config??? and ???make xconfig???. You can open ???/usr/src/linux-2.4.22/.config???in kwrite and use that as a guideline to configuring the kernel. Some things will be different. Read the help for each choice. When you finish configuring the kernel, save and exit.
Run ???make??? (that's it- no make dep, make clean, make bzImage, make modules, just ???make???). Then ???make install???. Then ???make modules_install???.
Then ???cp /usr/src/linux/arch/i386/boot/bzImage /boot???.
Now for lilo. My lilo entry for the 2.6 kernel looks like this:
image=/boot/bzImage
label=2.6_kernel.NEW
append="hdc=ide-scsi hdd=ide-scsi noacpi pci=noapci"
root=/dev/hdb1
Then run ???/sbin/lilo???.
If you have a graphics driver that is a loadable module, you will lose it. For nvidia, in /etc/X11/XF86Config, change the driver to ???nv??? and put ???#???(commenting) in front of ???load glx???. Uncomment (delete the #) the stuff that says ???comment out if using the official nvidia driver???. Also comment the stuff that says ???uncomment if using the nvidia driver???. And if you enabled ???dri??? in the kernel uncomment that also.
You should be ready, reboot and see what happens. You can always reboot wwith the old 2.4 kernel to fix things or use the live cd.
For modules, add the ones you want to load at boot to /etc/modules. Then as root run ???update-modules???. ???modprobe -l | less??? will give you a list of modules you can scroll through that are available to load. ???lsmod??? will give you a list of modules that are loaded.

Works this Howto also with th

Works this Howto also with the final 2.6 version?
And why don't you use dpkg?

I was trying to make it point

I was trying to make it point and click as much as possible. And it works with the current version of 2.6.
One other thing, I got the 4620 nvidia drivers working with the new kernel but the latest release 5238(?) messes up and according to the nvidia forum on the nvidia site, some others are having similiar problems with the latest nvidia drivers and teh 2.6 kernel.

2.6

Worked perfectly well with the 2.6 kernel for me, thanks a lot! Smiling

meauto seg fault

I opted for the vanilla sources however and built 2.6 from that. Everything seemed to work but meauto seg faulted on this kernel. Any idea why?

libncurses-dev

For make menuconfig to work, libncurses-devel needs to be installed.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.