Novell Home

Adding a Custom Bootlogo to ZENworks 6.5 / 7 Imaging Environment

Novell Cool Solutions: Feature
By Axel Friedemann

Digg This - Slashdot This

Posted: 5 Jul 2006
 

This HOWTO lets you change the bootlogo in ZENworks 6.5 (SP2) and 7 imaging environment.

Things you need:

  • A Linux System (preferable SLES 9 SP2 ? don't know if it works well with other systems because of the needed "slpash.bin" - i think that's only on SUSE systems)
  • Create two JPEG-Files for your bootlogo (resolution 800x600) called "jpeg.jpg" (this one should be completely "black") and "silent.jpg" (this one shows up as default and should contain your logo)

Getting started:

  1. Create a directory (e.g. bootlogo) in the linux filesystem


  2. Copy the initrd file from your tftp/boot server directory to the directory created in step 1.


  3. Mounting initrd

    Because the bootlogo is appended to the initrd file you need to mount the file within a linux system in order to remove the original bootlogo (you have to mount the initrd and then unmount it to remove the bootlogo).

    Here's how you do it, as outlined in the docs:

    1. Rename initrd to initrd.gz, enter:
      cp initrd initrd.gz


    2. Unzip the initrd.gz file, enter:
      gunzip initrd.gz


    3. Create another working directory for use as a mount point in the subsequent steps, enter:
      mkdir work


    4. Mount the initrd file system to the /work directory, enter:
      mount -o loop initrd work


    5. Unmount the initrd file system, enter:
      umount work


    6. Zip the new initrd file, enter:
      gzip -v9c initrd > initrd.gz


    7. Rename initrd.gz back to initrd, enter:
      cp initrd.gz initrd


  4. Create a text-file called bootlog.cfg in the bootlogo directory with the following content
    # This is the configuration file for the 800x600 bootsplash picture.
    #
    # This file is necessary to specify the coordinates of the text box on
    # the splash screen.
    #
    
    # config file version
    version=3
    
    # should the picture be displayed?
    state=1
    
    # fgcolor is the text forground color.
    # bgcolor is the text background (i.e. transparent) color.
    fgcolor=7
    bgcolor=0
    
    # (tx, ty) are the (x, y) coordinates of the text window in pixels.
    # tw/th is the width/height of the text window in pixels.
    tx=0
    ty=0
    tw=800
    th=600
    
    # name of the picture file (full path recommended)
    jpeg=./jpeg.jpg
    silentjpeg=./silent.jpg
  5. Copy your two jpegs (silent.jpg & jpeg.jpg) to the bootlogo directory.


  6. Change to the bootlogo directory and run the following command:
    splash.bin -s -f bootlogo.cfg >> initrd


  7. Copy the modified initrd file to your ZENworks imaging Server (tftp/boot).

Now, when booting the imaging environment you should see your company (or whatever) bootlogo.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell