Adding Files To An Imaging Boot Cd - Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual

Table of Contents

Advertisement

You can use the following methods to update imaging resource files:
The easiest method is to edit the settings.txt file, which is located on the root of the
imaging CD or in /srv/tftp/boot on the ZENworks Imaging Server for PXE booting.
Where you are using a ZENworks partition, you can boot to the manual or maintenance mode,
mount the ZENworks partition, then copy the modified settings.txt and the files in
initrd or root to the mounted ZENworks partition.
Another easy method is to edit the .cfg files located in /srv/tftp on the ZENworks
Imaging Server for PXE booting. This method is only available for Linux Imaging Servers,
because the configuration files are provided by Novell's version of PXE.
You can modify files in the initrd or root file systems, but you need a Linux environment
for performing the modification process. Files required during the initial setup (during linuxrc
processing time), such as LAN drivers, must be placed in the initrd file system. Other files
that are not needed until the zenworks.s script file takes control can be placed in the root
file system (for example, an imaging script), or you can use the driverupdate file.
This method is discussed in this section.
Section F.4.1, "Adding Files to an Imaging Boot CD," on page 637
Section F.4.2, "Adding Files to the Initrd or Root File Systems," on page 638
Section F.4.3, "Using the Driverupdate File Method," on page 640
F.4.1 Adding Files to an Imaging Boot CD
If you have files to add to an imaging boot CD so they can be available for use when you get to the
actual imaging process (such as scripts, but normally not driver modules), you can copy the files to
the /addfiles directory on the imaging CD. This is an easy way to insert your script or other files
into the distribution without
available during the boot and module loading phases.
The imaging boot CD has a directory named /addfiles where you can add files. They should be
placed below this directory in their proper directory names. They are then available in this directory
structure during the imaging process.
An example of how you can add files:
1 If you want to execute your own script instead of the normal imaging process, create a script
file named myscript.s and place it on the boot CD. For example, /addfiles/bin/
myscript.s.
IMPORTANT: The script file must have proper LF line terminators that Linux requires, not
the DOS CR and LF end-of-line characters. In other words, you cannot use Notepad.exe to
create the script; you must use a text editor compatible with Linux, such as TextPad.
2 To place the following line in the settings.txt file, enter:
export IMGCMD="/bin/myscript.s"
When imaging is run, it runs /bin/myscript.s instead of using the normal img -auto
command.
modifying the initrd or root file
systems. However, these files are not
Updating ZENworks Imaging Resource Files 637

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents