where
is the path to the
your_path
Other files to be included in the
directory.
8 To re-package the
initrd
find . | cpio --quiet -o -H newc > ../initrd
cd ..
9 To zip the new
initrd
gzip -v9c initrd > initrd.gz
10 To rename
initrd.gz
mv initrd.gz initrd
11 To copy the file back:
For PXE, copy the updated
For the CD, copy the updated
boot CD.
Adding to Root
To modify the
file system:
root
1 Using a Linux device, create a working directory and change to that directory.
2 To copy root from the PXE server or the boot CD to the new working directory:
For PXE, copy
For the CD, extract
extracted
root
3 To rename
to
root
root.gz
mv root root.gz
4 To unzip the
root.gz
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 root file system to the
mount -o loop root work
7 Make the desired changes to the
8 To unmount the
root
umount work
9 To zip the new
root
gzip -v9c root > root.gz
10 To rename
root.gz
mv root.gz root
11 To copy the file back:
For PXE, copy the updated
For the CD, copy the updated
module.ko
file system should be copied to the appropriate
initrd
file system, enter:
file, enter:
back to
, enter:
initrd
file to the
initrd
file to the
initrd
to the Linux workstation's working directory.
/tftp/boot/root
from the
root
/boot/i386/
to the Linux workstation's working directory.
, enter:
file, enter:
directory, enter:
/work
directory.
/work
file system, enter:
file, enter:
back to
, enter:
root
file to the
root
file to the
root
file and module is the name of the module.
directory on the PXE server.
/tftp/boot
/boot/i386/loader
directory on the boot CD, then copy the
directory on the PXE server.
/tftp/boot
directory on the boot CD.
/boot/i386/
Updating ZENworks Imaging Resource Files 247
directory on the