Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual page 639

Table of Contents

Advertisement

Other files to be included in the initrd file system should be copied to the appropriate
directory.
8 To re-package the initrd file system, enter:
cd work
find . | cpio -quiet -o -H newc > ../initrd
cd ..
9 To zip the new initrd file, enter:
gzip -v9c initrd > initrd.gz
10 To rename initrd.gz back to initrd, enter:
mv initrd.gz initrd
11 To copy the file back:
For PXE, copy the updated initrd file to the /tftp/boot directory on the PXE
server.
For the CD, copy the updated initrd file to the /boot/i386/loader directory on
the boot CD.
Adding to Root
To modify the root file system:
1 Using a Linux device, create a working directory and change to that directory.
2 To copy initrd from the PXE server or the boot CD to the new working directory:
For PXE, copy /tftp/boot/initrd to the Linux workstation's working directory.
For the CD, extract root from the /boot/i386/ directory on the boot CD, then copy
the extracted root to the Linux workstation's working directory.
3 To rename root to root.gz, enter:
mv root root.gz
4 To unzip the root.gz file, enter:
gunzip root.gz
5 To create another working directory for use as a mount point in the subsequent steps, enter:
mkdir work
6 To mount the initrd file system to the /work directory, enter:
mount -o loop root work
7 To copy your files or updated driver to the mounted root file system, enter:
cp /your_path/module.ko work/lib/modules/2.6.5-override-default/initrd
where your_path is the path to the module.ko file and module is the name of the module.
Other files to be included in the initrd file system should be copied to the appropriate
directory.
Updating ZENworks Imaging Resource Files 639

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents