Mitel SME Server – Custom Anaconda Installer HowTo

Foreword:  this howto is still in beta.  Please feel free to test the methods here and report your results.  It worked for me but that does not mean that it may or may not work for you and thus I cannot make any guarantees.

Author:  Nathan Price <[email protected]>
Contributor:
  
Release supported: SME 5.6
Last updated: April 19, 2003 11:00 PM

 


 

Problem:  You want to modify the installer of SME server for your custom ISO.
Solution:
  Follow this HowTo

Resources: http://www.linuxworks.com.au/redhat-installer-howto.html  Please Read!  

 


 

STEP 1:   First we need to prepare the build environment. 

Anaconda needs to be built from a RedHat box…for SME 5.6 RedHat 7.3 is required…custom install “everything”.

From here forward all instructions are for RedHat 7.3.

Note: The OS install requires about 3.5GB so make sure you give it sufficient hard drive space for the OS, copies of all three RH7.3 disks, and work space.  8-10GB or should suffice as a minimum.

 


 

STEP 2:  Create working directory.

 

#  mkdir –p /redhat/i386


 

STEP 3:  Copy contents of all three RH7.3 CDs to working directory (/redhat/i386).

 

 <insert disc 1>

            # mount /dev/cdrom

            # cp –Rav /mnt/cdrom/* /redhat/i386/

            # eject

 

….repeat the above steps for disc 2 and disc 3

    you can ignore warnings of overwriting TRANS.TBL, COPYING, and README files.


 

STEP 4:  Create symbolic link for compatibility with the e-smith anaconda source.

 

# cd /redhat/i386

# ln –s RedHat e-smith


 

STEP 5:  Download and install e-smith anaconda source.

 

ftp://ftp.e-smith.org/pub/e-smith/releases/5.6/SRPMS/anaconda-7.3-7es82.src.rpm

 

# rpm –ivh anaconda-7.3-7es82.src.rpm


 

STEP 6:  Modify the anaconda source as necessary and create a new patch file(s).  Reminder, update the SPEC file.

                 

http://www.e-smith.org/docs/howto/howto_modify_e-smith_interface_rpm.php3

 


 

STEP 7:  Build binaries of the modified anaconda source.

 

# cd /usr/src/redhat

# rpm –ba SPECS/anaconda-7.3


 

STEP 8:  If all goes well you should have two new binaries in /usr/src/redhat/RPMS/i386 anaconda-7.3-7xxxx.rpm and anaconda-runtime-7.3-7xxxx.rpm as well as a new source RPM in /usr/src/redhat/SRPMS. Copy binaries into the /redhat/i386 working directory; remove existing anaconda binaries first before we forget.

 

# rm /redhat/i386/RedHat/RPMS/anaconda-7.3-7.i386.rpm

# rm /redhat/i386/RedHat/RPMS/anaconda-runtime-7.3-7.i386.rpm

# cp /usr/src/redhat/RPMS/i386/anaconda-7.3-7xxxx.rpm /redhat/i386/RedHat/RPMS/

# cp /usr/src/redhat/RPMS/i386/anaconda-runtime-7.3-7xxxx.rpm /redhat/i386/RedHat/RPMS/


 

STEP 9:  Run genhdlist to check image. 

 

# /usr/lib/anaconda-runtime/genhdlist /redhat/i386


 

STEP 10:  Build new anaconda installer images.

 

# /usr/lib/anaconda-runtime/buildinstall --pkgorder /redhat/pkgorder.txt --comp dist-7.3 --version 7.3 /redhat/i386


 

STEP 11:  Hopefully, you have a new installer.  cp, scp, or ftp the images into your e-smith working directory. The images needed are in /redhat/i386/images and /redhat/i386/RedHat/base.  Just copy the contents of both directories but do not overwrite the hdlist1, hdlist2, and the comps files.  We do not want the RedHat versions.

 


 

STEP 12:  Build new ISO with the images following Darrell May’s howto:

 

http://contribs.org/contribs/dmay/mitel/howto/sme-iso-howto.html

 


 

 

Hosted by www.Geocities.ws

1