640
Novell ZENworks 7.2 Linux Management Administration Guide
n
ov
do
cx (e
n)
11
Ju
ly 20
08
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 - Spittin’ Image” (http://www.novell.com/connectionmagazine/2005/11/
tech_talk_3.html)
in the
Novell Connection Magazine
. Specifically, see the “SUSE Linux Driver
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:
Содержание ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008
Страница 4: ...novdocx en 11 July 2008...
Страница 22: ...22 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 34: ...34 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 40: ...40 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 44: ...44 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 78: ...78 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 82: ...82 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 96: ...96 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 98: ...98 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 118: ...118 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 126: ...126 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 200: ...200 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 202: ...202 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 210: ...210 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 258: ...258 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 264: ...264 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 278: ...278 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 286: ...286 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 316: ...316 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 344: ...344 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 468: ...468 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 470: ...470 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 472: ...472 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 484: ...484 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 498: ...498 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 510: ...510 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 518: ...518 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 520: ...520 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 532: ...532 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 590: ...590 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 616: ...616 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 632: ...632 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 652: ...652 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 658: ...658 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Страница 664: ...664 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...