HP Insight Control Software for Linux User Manual

Page 76

Advertising
background image

# mkdir CD4
# mkdir CD5
# cd ..
# mkdir SLES9
# cd SLES9
# mkdir CD1
.
.
.

2.

Follow these guidelines to open the SLES Version 9 distribution media to copy each CD to
the appropriate directory.

On a Linux workstation or laptop, it is common to mount a CD or loopback mount an ISO
image. For example:

# mount /dev/cdrom /mnt

Or

# mount –o loop /home/sles9-disc1.iso /mnt

Begin by inserting or mounting the first CD and coping the contents to the appropriate
subdirectory as described in

step 3

. Then, insert or mount the second and copy the contents

to the next, and so on.

SLES Version 9 media contains several sets of hard links. It is important to use a copy
command that properly handles hard links, like cpio command or rsync -a to copy the
contents on Linux Workstations.

3.

Follow these guidelines to copy the CD media to the appropriate directory:
a.

The first SLES Version 9 CD is known as the Product CD. Open and copy the contents
of that CD into the /SLES9/CD1 directory.

b.

The second SLES Version 9 CD is known as the first CORE CD. Open and copy the
contents of that CD into the /CORE9/CD1 directory.

c.

Open and copy the third SLES Version 9 CD into the second CORE CD directory,
/CORE9/CD2

, and so on.

d.

Open and copy the contents of the service pack media into the SVRP3 directory structure.
Copy the contents of the first service pack CD into the /SVRP3/CD1 directory, copy
the contents of the second service pack CD to the /SVRP3/CD2 directory, and copy the
contents of the third service pack CD to /SVRP3/CD3.

NOTE:

For a step-by-step example of copying the SLES Version 9 installation media to a

staging directory on a Linux workstation, see

Appendix A (page 265)

.

4.

Link the SLES Version 9 installation sources:

# cd /opt/repository/os/SLES-9-SP3-i386
# ln -s SLES9/CD1/control.xml
# ln -s SVRP3/CD1/boot
# ln -s SVRP3/CD1/content
# ln -s SVRP3/CD1/driverupdate
# ln -s SVRP3/CD1/linux
# ln -s SVRP3/CD1/media.1
# cd boot
# ln -s ../../../SLES9/CD1/boot/root

5.

Create the installation order files:

# cd /opt/repository/os/SLES-9-SP3-i386
# mkdir -p yast
# printf "/SVRP3/CD1\n" > yast/instorder
# printf "/SLES9/CD1\n" >> yast/instorder
# printf "/CORE9/CD1\n" >> yast/instorder
# printf "/SVRP3/CD1\t/SVRP3/CD1\n" > yast/order

76

Managing the Insight Control for Linux repository

Advertising