a. module-init-tools-3.1.tar.bz2
b. linux-2.6.12.5.tar.bz2
2. Install module-init-tools-3.1
$ su -
$ tar xvfj module-init-tools-3.1.tar.bz2
$ cd module-init-tools-3.1
$ ./configure --prefix=/
$ make
$ make moveold
$ make install
$ generate-modprobe.conf /etc/modprobe.conf
3. Install linux kernel
$ su -
$ cp linux-2.6.12.5.tar.bz2 /usr/src
$ cd /usr/src
3.1 Extract archive
$ tar xvfj linux-2.6.12.5.tar.bz2
$ cd linux-2.6.12.5
3.2 Copy old kernel configuration
$ cp /boot/config-2.4.21.EL .config
3.3 Modify kernel parameters
$ make menuconfig
File Systems -> Ext3 journaling file system support = <*>
Device Drivers -> Networking Support -> Networking Options -> SCTP Configuration -> The SCTP Protocol =
3.4 Compile kernel and modules
$ make
3.5 Install kernel modules
$ make modules_install
3.6 Install kernel to /boot and boot loader
$ make install
3.7 Update boot loader
$ lilo
4. File system changes
4.1 Create sys directory
$ mkdir /sys
4.2 Update rc.sysinit
$ vi /etc/rc.sysinit
Add this line after "mount -n -t proc /proc /proc"
mount -n -t sysfs none /sys
4.3 Update fstab
$ vi /etc/fstab
Append this line
none /sys sysfs defaults 0 0
No comments:
Post a Comment