Many customers utilize AutoYaST to deploy SUSE Linux Enterprise Desktop and SUSE Linux Enterprise Server machines. Most customers set up an http,ftp,nfs etc. server which contains the AutoYaST XML file and the installation source (the SLED or SLES DVD). While the easiest way to initially boot the machine and kick off the AutoYaST scripted install is to utilize PXE/TFTP, many customers do not have do not have PXE enabled in their production infrastructure.

The next best thing is to build a mini cd with the appropriate boot parameters for AutoYast and installation source pre-populated. Here are the steps to create a mini cd using K3b. You can download a specially purposed 32mb mini cd iso or just use installation cd1.

  • Mount the iso:
    • Mount -o loop /path/to/minicd.iso /mnt
  • Copy the mounted iso’s files to your local disk
    • cp -a /mnt ~/local
  • Pre configure the boot options
    • In your local copy of the boot iso configre ~/local/boot/i386/loader/isolinux.cfg so that it looks something like this:
    • # install
      label linux
      kernel linux
      append initrd=initrd splash=silent showopts autoyast=http://ipaddress/install/autoinst.xml install=http://ipaddress/install/sles10
    • ‘autoyast’ is the AutoYaST config file. ‘install’ is the installation source. If you like you can specify different network protocols or a local file. You can also point to a file on the cd itself ex: autoyast=file://<path> looks for config file in specified path (relative to source root directory, i.e. file:///autoinst.xml if in the top directory of a CD-ROM )
    • For more information on invoking the autoinst.xml config file see http://www.suse.com/~ug/autoyast_doc/invoking_autoinst.html
  • Start K3b
    • Choose new data project and add ~/local
    • Select “edit boot images” in the project menu
    • Click on “New” and select ~/local/boot/i386/loader/isolinux.bin
    • Within the “edit boot images” window make sure that emulation type is set to “none”
    • Go into the advanced tab and check off “Boot-info-tab”
    • Click on burn and burn the cd
Advertisements