
Peter wrote:
If you need modules: { cd /usr/src wget
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tool s-3.0.tar.bz2
bzcat module-init-tools-3.0.tar.bz2 | tar x cd module-init-tools-3.0 ./configure --prefix=/ make make moveold make install ./generate-modprobe.conf /etc/modprobe.conf }
FYI, what Linus called module-init-tools has been packaged as a newer version of the Red Hat "modutils" package. It's availble from Arjan van de Ven's website (which you use below) in the http://people.redhat.com/~arjanv/2.6/RPMS.kernel/ dir (updates regularly; check for the latest version.) A good way to deal with this upgrade is to add the following lines to /etc/apt/sources.list rpm http://people.redhat.com arjanv/2.5 kernel rpm-src http://people.redhat.com arjanv/2.5 kernel And then apt-get dist-upgrade to get newer initscripts/LVM utils/etc. Arjan's prepackaged kernels are nice, but they enforce some Red Hat policy (no "patent concern" modules built eg. NTFS, no SMBFS - deprecated in favour of CIFS, which isn't nearly as stable), so you may well want to get his source and build your own. Some people advocate going a step further and installing kernel.org source with the Red Hat .config file, and report this fixes issues with the ATI Radeon driver. Might not be too necessary however on a server!
{ cd /usr/src wget -O - http://procps.sourceforge.net/procps-3.2.0.tar.gz | tar xz cd procps-3.2.0/ make && make install } rpm -Uvfh http://people.redhat.com/arjanv/2.6/RPMS.kernel/nfs-utils-1.0.5-1.i386.rpm echo "none /sys sysfs noauto 0 0" >> /etc/fstab mkdir /sys replace 'awk '$2 ~ /^\/$|^\/proc|^\/dev/{next}' with 'awk '$2 ~ /^\/$|^\/proc|^\/sys|^\/dev/{next}' in /etc/rc.d/init.d/halt
What's this 'replace' command'? Seems kind of useful, but isn't builtin, doesn't apt-get (on Debian) and googling for 'replace awk' doesn't help much :) Craig