Operating Systems > Linux and UNIX

A new Level

<< < (8/10) > >>

KernelPanic:
Yeah, I forgot to mention that, you need to compile a stock kernel. FYI: I run 2.4.19

voidmain:
Compiling now.  

voidmain:
Wow! Got the stock 2.4.19 kernel (no patches) from kernel.org. Got it compiled and installed and StarCraft runs *perfectly*!!  Not only that but my suggish VMware operation seems to be completely gone! 2.4.19 appears to be the way to go. To make things easier on other RedHat 8.0 people, here are the steps I took to build a new kernel with nearly the identical options of my default 2.4.18-14 kernel that was installed by default during the RedHat installation:

First make sure you have the necessary kernel development packages installed by clicking on "System Settings">"Packages" on your menu. You should have "Development Tools" and "Kernel Development" boxes checked (if not, check them). Then open a terminal and get, build, and install the 2.4.19 kernel by:

$ su -
  enter root's password

# cd /usr/src
# wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.19.tar.bz2
# tar -xvjf linux-2.4.19.tar.bz2
# rm -f linux-2.4 linux
# ln -s linux-2.4.19 linux-2.4
# ln -s linux-2.4 linux
# cd linux
# cp /boot/config-2.4.18-14 .config
# make xconfig

Click "SCSI Support", then click "SCSI low-level drivers", then set "Simple 53c710 SCSI Support" to "n". Click "OK", click "Main Menu", click "Save and Exit", click "OK". (I couldn't get the kernel to compile with this option set to module which is why we are turning it off here). Now build and install:

# make dep
# make clean
# make bzImage
# make modules
# make modules_install
# make install

If everything built properly that last command will install your kernel in /boot and add an entry in your GRUB boot menu automatically (now you will have two kernel entries on your GRUB menu, the new one will NOT be the default. Select it on the GRUB boot menu and if it boots and your system works fine you can make it the default kernel in your GRUB config file later (default=x depending on which entry your new kernel is)).

Also, if you use VMware or the NVidia kernel drivers, or any other 3rd party kernel modules they will have to be rebuilt and installed after booting the new kernel.

Have fun!!

P.S. This might be a candidate for an RH 8.0 specific FAQ question as I would highly recommend this to anyone running RedHat 8.0.

[ November 19, 2002: Message edited by: void main ]

voidmain:
^^^^^ Man I would sure like to see the above message put into the FAQ. Could go into the Linux section under "How to upgrade RH 8.0 to kernel version 2.4.19 with no RedHat patches and gain lots of performance". Or something like that. I think/hope the instructions are good enough to work for everyone using RH 8.0. It should also work for 7.3 except for where I specifically mention menus and kernel development packages.

Everything under the 1st paragraph can go in. I know it's not a frequently asked question, but it should be. I am going to recommend that everyone do this who has RedHat 8.0 (and 7.3) and it would be nice to have a place to point them to. It would also be nice if someone can try and follow the directions and let me know if they need refining.

I guess it's really more the guts of a specialized HOWTO but we really don't have a HOWTO section on our FAQ site (yet).

[ November 19, 2002: Message edited by: void main ]

Doogee:
Hey im compiling the kernel 2.4.19 over my old mandrake one, all is going well so far. one question. how will i boot it, im not sure what the default boot loader is in mandrake but it sure as hell isnt grub. I just wanna know before i stuff anything up.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version