Adding Files To An Imaging Boot Cd; Adding Files To The Initrd Or Root File Systems - Novell ZENWORKS LINUX MANAGEMENT 7.3 IR2 - ADMINISTRATION GUIDE 02-12-2010 Administration Manual

Table of Contents

Advertisement

Where you are using a ZENworks partition, you can boot to the manual or maintenance mode,
mount the ZENworks partition, then copy the modified
or
to the mounted ZENworks partition.
root
Another easy method is to edit the
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
performing the modification process. Files required during the initial setup (during linuxrc
processing time), such as LAN drivers, must be placed in the
that are not needed until the
system (for example, an imaging script), or you can use the
This method is discussed in this section.
Section F.4.1, "Adding Files to an Imaging Boot CD," on page 651
Section F.4.2, "Adding Files to the Initrd or Root File Systems," on page 651
Section F.4.3, "Using the Driverupdate File Method," on page 654
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
directory on the imaging CD. This is an easy way to insert your script or other files
/addfiles
into the distribution without
available during the boot and module loading phases.
The imaging boot CD has a directory named
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
.
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
create the script; you must use a text editor compatible with Linux, such as TextPad.
2 To place the following line in the
export IMGCMD="/bin/myscript.s"
When imaging is run, it runs
command.
F.4.2 Adding Files to the Initrd or Root File Systems
This is the preferred method for updating imaging resource files, and must be performed in a Linux
environment.
files located in
.cfg
or
file systems, but you need a Linux environment for
initrd
root
script file takes control can be placed in the
zenworks.s
modifying the initrd or root file
/addfiles
and place it on the boot CD. For example,
settings.txt
/bin/myscript.s
and the files in
settings.txt
on the ZENworks Imaging
/srv/tftp
file system. Other files
initrd
driverupdate
systems. However, these files are not
where you can add files. They should be
/addfiles/bin/
file, enter:
instead of using the normal
Updating ZENworks Imaging Resource Files 651
initrd
file
root
file.
to
Notepad.exe
img -auto

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.3 ir2

Table of Contents