Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: mike on June 15, 2003, 02:30:15 AM

Title: Howto create a bual boot on SME with 2 different kernels
Post by: mike on June 15, 2003, 02:30:15 AM
Howto create a bual boot on SME with 2 different kernels.

I have to warn you people not to try this on a productionsystem because not everything runs like it should just yet.
The problem I saw at first boot of the SME on kernel-2.4.20-18.7 is that
httpd-admin and quota-management services do not start yet.
At a reboot he says that he can´t unregister "servername":netatalk@*
Also I do not have an overview of what other problems can rise.

How I did it

First, make sure you have a SME-bootdisk!

Install the next packages:
devinfo-mitel-update-system-0.0.1-12.noarch.rpm (easy for installing rpm´s from
                                                                         your server-manager for the
                                                                         people that are new to SME).
cpp-2.96-113.i386.rpm
kernel-headers-2.2.19-6.2.1.i386.rpm
glibc-devel-2.2.5-40.i386.rpm
gcc-2.96-113.i386.rpm
modutils-2.4.18-3.7x.i386.rpm
kernel-2.4.20-18.7.src.rpm

On the servers commandprompt type this:
RH=http://ftp.redhat.com/pub/redhat/linux/updates/7.3/en/os/i686/
rpm -iv $RH/kernel-2.4.20-18.7.i686.rpm
Or if you have the kernel already locally on your server type this:
rpm -iv kernel-2.4.20-18.7.i686.rpm

Edit /etc/lilo.conf. You could do it like shown here:

prompt
timeout=50
default=2.4.20-18.7   
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/mitel.pcx
linear
image=/boot/vmlinuz-2.4.20-18.7
   label=2.4.20-18.7
   initrd=/boot/initrd-2.4.20-18.7.img
   read-only
   root=/dev/hda3
image=/boot/vmlinuz-2.4.18-5
   label=2.4.18-5
   initrd=/boot/initrd-2.4.18-5.img
   read-only
   root=/dev/hda3

After saving the file, go back to the prompt and type: lilo -v
Then reboot with this command: /sbin/e-smith/signal-event reboot

If there are more people that like to help making a higher kernel work a 100% then they are welkom to help because my Linux knowledge is very limited.

Mike
Title: Re: Howto create a bual boot on SME with 2 different kernels
Post by: Terry on June 15, 2003, 04:14:41 AM
Mike, you may want to look at this, as posted on the dev mailing list:

[The same article has been posted to www.e-smith.org]

   Announcing SME Server 6.0beta1 unsupported developer release

   Mitel Networks is pleased to announce the availability of the first
   public beta of the unsupported developer release of version 6.0 of the
   SME Server.

   The changes in this release include engineering improvements, a new
   look and feel for the server manager web interface, and the inclusion
   of a port forwarding panel.

   Comments or bug reports should be sent to smebugs@mitel.com

   This release is available from our [19]mirror sites.
   Further details are available in the [20]full article.

Kernel update

     * The kernel has been updated to RedHat's 2.4.20-18.7 version (the
       latest available for RedHat 7.3), for improved reliability,
       security and hardware compatibility
     * The installer now always installs both the SMP and uniprocessor
       kernels

Name server

     * The "bind" name server has been replaced by the more reliable and
       secure tinydns/dnscache program set written by Dan Bernstein.

IMAP daemon replacement

     * The dovecot IMAP daemon (http://dovecot.procontrol.fi/) has been
       integrated, in place of the previously used University of
       Washington daemon.

Other package updates

     * RedHat 7.3 update packages have been used wherever available
     * imp (webmail) has been upgraded to 3.2.1
     * the horde framework has been upgraded to 2.2.1
     * proftpd has been upgraded to 1.2.8
     * Samba has been upgraded to 2.2.8a
     * Flexbackup has been upgraded to 1.1.6
     * The buffering program mbuffer has been included

Changes in Mitel packages

     * The look and feel of the server manager web interface has been
       changed
     * The navigation function of the server manager now includes caching
       to improve performance, which should be noticeable on lower end
       hardware.
     * A port forwarding web interface panel has been included.
     * A group of infrastructure changes has been introduced which allow
       a significant reduction in the code in service "interface"
       packages:
          + the "primary" file space is now a pre-defined (and
            unremovable) i-bay
          + the primary domain appears in the domains database
          + the local network appears in the networks database.
          +
     * The default format for tape backups is tar rather than dump, and
       mbuffer is used to buffer data to the tape drive.
     * Many other small changes and bug fixes. See the changelog for
       individual packages for details.

Simplified database initialization and migration

   A new system for initializing system databases has been introduced.
     * For each database, a directory tree /etc/e-smith/db/xxx/migrate
       may contain template fragments which contain code to perform
       schema migration between existing database entries and a new
       format for those entries.
     * For each database, a directory tree is set up rooted at
       /etc/e-smith/db/xxx/defaults. Within that directory, directories
       containing small files set up a set of default property values for
       a set up database entries.
     * For each database, a directory tree is set up rooted at
       /etc/e-smith/db/xxx/force which may contain forced property values
       for database entries. This directory tree can be used by packages
       to enforce particular policies.


Have fun everyone.

Gordon
--
 Gordon Rowell                         gordon_rowell@mitel.com
 Director, Engineering
 Mitel Networks Corporation            http://www.mitel.com/


--
Please report bugs to bugs@e-smith.com
Title: Re: Howto create a bual boot on SME with 2 different kernels
Post by: mike on June 15, 2003, 04:21:23 AM
Yes I know that but it is still in beta stage.
Title: Re: Howto create a bual boot on SME with 2 different kernels
Post by: Terry on June 15, 2003, 06:33:57 AM
You know?  It was only posted at 7pm eastern time, you've been working on this for 2 days.  Because you say your "Linux knowledge" is "limited" wouldn't it make fore sense to let version 6 go through beta (or help with it's beta testing since you have hardware that is kernal dependant) rather then trying to reinvent the wheel (or kernal in this case) yourself?
Just a thought...
Title: Re: Howto create a bual boot on SME with 2 different kernels
Post by: mike on June 15, 2003, 06:59:36 AM
Maybe your right.
It has become more of an obsession to stll get it right.
Must say that SME 6.0 Beta 1 already looks pretty solid.
Much better that the 5.6 Beta´s.
Probably because the difference is not so big between 5.6 and 6.0.
The difference between 5.5 and 5.6 was much bigger (kernel 2.2 to 2.4).
It´s a shame that I get an internal server error on 6.0 when I try to ad an additional domain. Have that running now too and I really need it so I guess I have to wait till a next Beta release and test it again.
Title: Re: Howto create a bual boot on SME with 2 different kernels
Post by: Graeme Fleming on June 16, 2003, 07:20:12 AM
Yep, I get the error too - tried to add an ibay just for this test domain but it didn't help.

I will report it to smebugs.

Please make sure to report problems if you find them otherwise they cannot be fixed!!