| Howto
install kernel
Author: Van hees Michel <michel_AT_vanhees.cc>
Contributor: Muzo for beta test
Release supported: e-smith SME 6.0 & 5.6
License: GPL
Last updated:
Saturday, January 31, 2004 08:49 AM
|
|
|
| Problem:
You want to upgrade the kernel of your SME 6.0
Solution: Follow this Howto
Recommendation:
This howto
still in Beta
For Lastest version of kernel look at ccskavenger |
|
STEP 1: Download
the rpm of the new kernel:
You can find link here
kernel-2.4.27mstslp04-1.i386.rpm
: Single processor version
STEP 2: Install the
rpm
rpm -ivh
|
# rpm
-ivh kernel-2.4.27mstslp04-1.i386.rpm
|
STEP 3: Create initrd
mkinitrd
| #
mkinitrd /boot/initrd-2.4.27mstslp04.img 2.4.27mstslp04 |
STEP 4: Edit
lilo.conf file
Edit /etc/lilo.conf
Copy one of the existant topic and adapt it
For exemple :
image=/boot/vmlinuz-2.4.20-18.7
label=Mitel-SME-up
initrd=/boot/initrd-2.4.20-18.7.img
read-only
root=/dev/sda3
append="hda=ide-scsi"
That's a part of my /etc/lilo.conf file
After adaptation you should have :
image=/boot/vmlinuz-2.4.27mstslp04
label=SMEServer-2427
initrd=/boot/initrd-2.4.27mstslp04.img
read-only
root=/dev/sda3
append="hda=ide-scsi" |
STEP 5: Expand
template for lilo.conf
Make an expand-template for /etc/lilo.conf
Yes after modification
| #
/sbin/e-smith/expand-template /etc/lilo.conf |
STEP 6: Install
lilo
If you have errors, it show you when you have launched this command
STEP 7: Change
/etc/modules.conf
Change file /etc/modules.conf for pptp use
#
mkdir -p /etc/e-smith/templates-custom/etc/modules.conf/
# cp /etc/e-smith/templates/etc/modules.conf/10ppp-compress-aliases
/etc/e-smith/templates-custom/etc/modules.conf/
Change line
:
"alias ppp-compress-18 ppp_mppe",
For :
"alias ppp-compress-18 ppp_mppe_mppc",
|
Signal change:
#
/sbin/e-smith/expand-template /etc/modules.conf
|
STEP 8: Update
iptables
Download and install the last version of iptables
HERE
| #
rpm -Uvh --replacepkgs --force sme-iptables-1.2.9-01.i386.rpm
|
STEP 9: Signal
upgrade
| #
/sbin/e-smith/signal-event post-upgrade |
Signal upgrade to you SME so that new modules are recognized by the SME
STEP 10: Restart
the server
Restart the server and select the newest entry in the lilo menu
| #
/sbin/e-smith/signal-event reboot |