Sponsored Content
Full Discussion: Linux FAQ Items
Operating Systems Linux Gentoo Linux FAQ Items Post 302088230 by prashant_ohol on Sunday 10th of September 2006 05:36:38 PM
Old 09-10-2006
MySQL Latest stable Kernel Compilation

Hello,

First donwload the module-init-tools for kernel

cd /usr/src

wget http://www.kernel.org/pub/linux/kern...ols-3.0.tar.gz

cd module-init-tools-3.0.tar.gz

./configure --prefix=/usr

make

make install

Done!

then

Lets start with the kernel upgrade

cd /usr/src/

wget http://www.kernel.org/pub/linux/kern....6.15.4.tar.gz

tar -zxf linux-2.6.15.4.tar.gz

cd linux-2.6.15.4

cp /boot/config-2.6.9-22.ELsmp /usr/src/linux-2.6.15.4/.config

make clean

make mrproper

make oldconfig

(Note that oldconfig will only work within the same major version of the kernel. You cannot, for example, use a 2.4.x .config with the 2.6.x kernel)

keep hitting enter and take the defaults until you get to the CPU type. Select your CPU. Also in the SMP section select SMP if you have multiple CPUs. Oh, and select "(No Forced Preemption (server))" under that section. Everything else, just hit enter to take the defaults.

Then to compile and install:

make bzImage

make modules

make modules_install

make install

grub

savedefault --default=0 --once

quit



Reboot..... fingers crossed ...Good Luck

bingo Smilie



Prashant ohol - System Administrator
 

3 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Unix for Dummies FAQ

I have created a small FAQ for the "Unix for Dummies" forum. Hopefully this will be useful, as there are questions which are asked (and answered) repeatedly. <A HREF="http://www.droflet.net/unix_dot_com_faq.html">http://www.droflet.net/unix_dot_com_faq.html (0 Replies)
Discussion started by: PxT
0 Replies

2. Shell Programming and Scripting

awk between items including items

OS=HP-UX ksh The following works, except I want to include the <start> and <end> in the output. awk -F '<start>' 'BEGIN{RS="<end>"; OFS="\n"; ORS=""} {print $2} somefile.log' The following work in bash but not in ksh sed -n '/^<start>/,/^<end>/{/LABEL$/!p}' somefile.log (4 Replies)
Discussion started by: Ikon
4 Replies

3. Post Here to Contact Site Administrators and Moderators

Dead link in FAQ

Dead link from FAQ, then Technical FAQ: Senior Advisor - https://www.unix.com (Was about to suggest that a O/P read this FAQ). (9 Replies)
Discussion started by: methyl
9 Replies
SWAPLABEL(8)						     Linux Programmer's Manual						      SWAPLABEL(8)

NAME
swaplabel - Print or change the label / UUID of a swap area SYNOPSIS
swaplabel [-L label] [-U UUID] device DESCRIPTION
swaplabel will display or change the label / UUID of a swap partition located on device (or regular file). If the optional arguments -L and -U are not present, swaplabel will simply display the swap area label and UUID of device. If an optional argument is present, then swaplabel will change the appropriate value of device. These values can also be set during swap creation using mkswap(8). The swaplabel utility allows to change the label or UUID on actively used swap device. OPTIONS
-h, --help Print help and exit. -L, --label label Specify a new label for device. Swap partition labels can be at most 16 characters long. If label is longer than 16 characters, swapinfo will truncate it and print a warning message. -U, --uuid uuid Specify a new UUID for device. UUID must be in the standard 8-4-4-4-12 character format, such as is output by uuidgen(1). AUTHOR
swaplabel was written by Jason Borden <jborden@bluehost.com> and Karel Zak <kzak@redhat.com>. AVAILABILITY
swaplabel is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. SEE ALSO
mkswap(8), swapon(8), uuidgen(1) Linux 2 April 2010 SWAPLABEL(8)
All times are GMT -4. The time now is 07:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy