ENVIRONMENT: Windows XP
ZENworks Desktop Management 7
PROBLEM: With ZENworks imaging, one can create a disconnected imaging solution and can restore from a CD or DVD. DVDs are great for the most part, but older workstations don’t have DVD drives. Windows XP makes for rather large images that need to span across multiple CDs.
SOLUTION: This requires scripting a split image.
The way I did it was this:
- Using image explorer, I split my image into two parts.
- With WinISO, I copied bootcd.iso from the server filesystem to my local workstation. (Important: do not choose “save as” in WinISO after modifying the image file or it will not work. Choose “save”…which is why I made a copy of it.)
- Modify bootcd.iso to have a “settings.txt” at the root with all commands commented out besides:
at the end. The XPCD.S is a script that should be modified on a Linux box and it should contain the commands for your image. Mine looks like this:
cdrom.s img rl /mnt/cdrom/images/IMAGENAME_base.zmg umount mnt/cdrom read -p "Put 2nd CD in and hit ENTER key to continue." cdrom.s img rl /mnt/cdrom/IMAGENAME_a1.zmg umount mnt/cdrom
- Put the XPCD.S (or whatever you name the .S file, which is just a script) in the addfiles/bin directory on the bootcd.iso.
- Copy /IMAGES/IMAGENAME_base.zmg to the root of the bootcd.iso.
- Save the bootcd.iso ; burn it to a CD with your favorite disc-burning software.
- Burn another disc with the IMAGENAME_a1.zmg on it.