HP Insight Control Software for Linux User Manual
Page 265
A Sample SLES version 9 installation media copy session
This appendix provides a detailed example of copying SLES Version 9 installation media to a
staging directory on a Linux Workstation.
uses a loopback mounting of
ISO images, but the procedure is also valid for working with CD media.
If you are working with physical CD media, replace the mount -o loopback command with
the following:
# mount /dev/cdrom
Example A-1 Copying SLES version 9 installation media
1. Copy all of ISO images to the /tmp directory
# cp SLES-9-i386-RC5-CD*.iso /tmp
# cp SLES-9-SP-3-i386-CD*.iso /tmp
2. Loop mount and copy the initial release contents into their separate
directories
# mkdir –p /root/Desktop SLES9-SP3-i386/
# cd /root/Desktop/SLES9-SP3-i386/
# mkdir -p CORE9/CD{1,2,3,4,5}
# mkdir -p SLES9/CD1
# mkdir cdmount
# mount -o loop /tmp/SLES-9-i386-RC5-CD1.iso cdmount
# cd cdmount
# find . -depth -print | cpio -pamVd ../SLES9/CD1
# cd ..
# umount cdmount
# mount -o loop /tmp/SLES-9-i386-RC5-CD2.iso cdmount
# cd cdmount
# find . -depth -print | cpio -pamVd ../CORE9/CD1
# cd ..
# umount cdmount
# mount -o loop /tmp/SLES-9-i386-RC5-CD3.iso cdmount
# cd cdmount
# find . -depth -print | cpio -pamVd ../CORE9/CD2
# cd ..
# umount cdmount
# mount -o loop /tmp/SLES-9-i386-RC5-CD4.iso cdmount
# cd cdmount
# find . -depth -print | cpio -pamVd ../CORE9/CD3
# cd ..
# umount cdmount
# mount -o loop /tmp/SLES-9-i386-RC5-CD5.iso cdmount
# cd cdmount
# find . -depth -print | cpio -pamVd ../CORE9/CD4
# cd ..
# umount cdmount
# mount -o loop /tmp/SLES-9-i386-RC5-CD5.iso cdmount
# cd cdmount
# find . -depth -print | cpio -pamVd ../CORE9/CD5
# cd ..
# umount cdmount
265