Using The Driverupdate File Method - Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual

Table of Contents

Advertisement

8 To unmount the root file system, enter:
umount work
9 To zip the new rrot file, enter:
gzip -v9c root > root.gz
10 To rename root.gz back to root, enter:
mv root.gz root
11 To copy the file back:
For PXE, copy the updated root file to the /tftp/boot directory on the PXE server.
For the CD, copy the updated root file to the /boot/i386/ directory on the boot CD.
F.4.3 Using the Driverupdate File Method
Another way to customize the Novell imaging distribution is to utilize the driver update mechanism
that is built into all SUSE distributions. This entails modifying a file named driverupdate that is
located in the /srv/tftp/boot directory on your Imaging Server or on the root (/) of an
imaging boot CD.
This method is a little less intrusive than modifying the initrd or root file systems. You simply
create an additional file that is incorporated into the imaging operating system during boot time.
There are three types of driver update operations that can be performed:
Install the kernel modules or hardware drivers
Install files and execute a script
Simply place files into the operating system
This section describes how to install files and execute a script. For information on the other two
methods, see
tech_talk_3.html)
Updates" and "Adding files to the distro "root" file" sections in the article.
The example in this section takes the program "tree" that is not currently available in the imaging
distribution and installs it at boot time.
The driver update mechanism seeks the driverupdate file, which contains a directory structure
that mimics the directory structure in the operating system after a device has booted with the
ZENworks distribution. If it is present, linuxrc downloads it during booting and incorporates it into
the operating system dynamically.
The driverupdate file is a file system file that can be of any file system type, such as EXT3 or
REISER. For simplicity, we'll use the CRAMFS file system in our example.
To place the tree program into the driverupdate file:
1 Create a working directory on your Imaging Server, such as /work.
2 If you are using the driverupdate file, download the driverupdate.tgz file into the /
work directory, then untar it by entering:
640 Novell ZENworks 7.2 Linux Management Administration Guide
"Tech Talk #3 - Spittin' Image" (http://www.novell.com/connectionmagazine/2005/11/
in the Novell Connection Magazine. Specifically, see the "SUSE Linux Driver

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents