Cloning drive with Ghost lilo.conf fix HOWTO for sme server

Release applicable: sme 6.0 (the concept is also suitable for 6.0.1)

Author: Ray Mitchell - mitchellcpa_AT_yahoo.com.au

Updated: 15 August 2004 v1

Problem:

You clone your sme server hard drive using Norton Ghost, but when you reboot the cloned drive the sme server will not start. The sme server hangs when starting Mitel-SME-up and does not continue loading.

Solution:

You need to run lilo at the command prompt and edit /etc/lilo.conf to show the correct default setting. You need a boot disk created on the same version of sme server to start the cloned drive and make these changes. After this your cloned sme server will start correctly.

Thanks:

This howto is based on a forum post by Craig Jensen at

http://contribs.org/modules/pbboard/viewtopic.php?t=20850&sid=dce53bed96

Procedure:

Ensure you have a floppy boot disk, preferably created on the server you are about to clone.

Run Norton Ghost (I use 2003) and clone the required hard drive to either a hard disk or a CD.

After the cloning has completed perform an image integrity check.

In the case of cloning to a CD, create the new hard drive from the image on the CD. After the cloning has completed perform an image integrity check.

Install the newly cloned drive and reboot the server using the floppy boot disk

Log in as root.

Edit /etc/lilo.conf and change line 14 (or thereabouts) from

default=vmlinuz

to

default=Mitel-SME-up

Where you have the applicable system this setting should be

default=Mitel-SME-smp

Save your changes

At the command prompt type

lilo

You should see the following output

Added Mitel-SME-smp

Added Mitel-SME-up *

Remove the floppy boot disk and reboot your server.

Your server should now start up correctly