Cool Solutions

Unattended Upgrade with AutoYaST using OES 11 SP1 Integrated ISO


June 14, 2012 1:55 pm





This article aims to describe the AutoYast upgrade unattended from OES2 (64 bit) to OES11SP1 with no user intervention.


  • Create the answer file on OES2/OES11 Server before proceeding with upgrade.
    1. Type the following command in the terminal

      yast2 /usr/share/YaST2/clients/create-answer-file.ycp

    2. In Yast2 dialog provide the eDirectory password and click OK
    3. Once the answer file is generated, copy the answer file to /opt/novell/oes-install
  • Ensure that the correct eDirectory replica server’s IP address is present in the eDirectory install configuration file (for OES 2 SP2, the file name is edir2_sp2 and for OES 2 SP3, it is edir2_sp3) at /etc/sysconfig/novell/ as shown below:


Upgrading an OES2/OES11(64 bit) Server to OES11SP1:


  • Download the OES11SP1 Integrated ISO (SLES + OES Single Media DVD Image) and loop mount under any mount -o loop SLES11-SP1_with_OES11-SP1-x86_64-DVD.iso /mnt/autoupgrade (It will be mounted as read-only)
  • Copy the autoupgrade folder to another location and delete the add-on products.xml cp -r /mnt/autoupgrade /tmp
  • Re-master the ISO without the add-on products.xml.mkisofs -R -b boot/x86_64/loader/isolinux.bin -c -no-emul-boot -boot-load-size 4 -boot-info-table -o /tmp/SLES11-with-OES11-SP1.iso /tmp/autoupgrade
    -R Generate SUSP and RR records using the Rock Ridge protocol to further describe the files on the ISO9660 filesystem.
    -b eltorito_boot_image Specifies the path and filename of the boot image to be used when making an El Torito bootable CD for x86 PCs.
    -c boot_catalog Specifies the path and filename of the boot catalog, which is required for an El Torito bootable CD
    -no-emul-boot The system will load and execute this image without performing any disk emulation
    -boot-load-size load_sectors Specifies the number of “virtual” (512-byte) sectors to load in no-emulation mode. The default is to load the entire boot file. Some BIOSes may have problems if this is not a multiple of 4
    -boot-info-table Specifies that a 56-byte table with information of the CD-ROM layout will be patched in at offset 8 in the boot file
    -o Specify the output file for the ISO9660 filesystem image
  • Use the Re-mastered boot the OES2/OES11 machine. 
  • In the Installation screen, select Install and specify the following parameters under the boot options.autoupgrade=1 autoyast=relurl://oes/autoupgrade.xml netsetup=hostip hostip=<enter the host IP> netmask=<enter the netmask IP> gateway=<enter the gateway IP>

    autoupgrade=1 – To Enter into autoupgrade process

    autoyast path – It will pick up from the Re-mastered ISO

  • Press Enter.

    The upgrade proceeds without any user intervention from the Re-mastered ISO

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Tags: ,
Categories: Open Enterprise Server, Technical


Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.