SLES9 netinstall source

From Linux on Power wiki

Jump to: navigation, search


Contents

Creating Installation Source

  • You can use YAST - Misc - Installation Server or on not-suse systems:
  1. Create a 6GB filesystem “/export/sles9” and mount it
  2. Export it
  3. Add host entry for the client you want to install (if your server is AIX)
  4. Copy the contents of SLES9 CDs:
    1. cd /export/sles9 (this is our installation root)
    2. mkdir -p /export/sles9/SUSE-SLES-Version-9/CD1 # copy CD1
    3. mkdir -p /export/sles9/SUSE-CORE-Version-9/CD1 # CD2 (CD1 and CD2 are sufficient for minimal installation)
    4. mkdir -p /export/sles9/SUSE-CORE-Version-9/CD2 # copy CD3
    5. mkdir -p /export/sles9/SUSE-CORE-Version-9/CD3 # copy CD4
    6. mkdir -p /export/sles9/SUSE-CORE-Version-9/CD4 # copy CD5
    7. mkdir -p /export/sles9/SUSE-CORE-Version-9/CD5 # copy CD5
  5. Create symbolic links in the installation root directory:
    1. ln -s SUSE-SLES-Version-9/CD1/boot boot
    2. ln -s SUSE-SLES-Version-9/CD1/content content
    3. ln -s SUSE-SLES-Version-9/CD1/control.xml control.xml
    4. ln -s SUSE-SLES-Version-9/CD1/media.1 media.1
  6. Create yast directory in your installation root: mkdir yast
  7. echo -e "/SUSE-SLES-Version-9/CD1 /SUSE-SLES-Version-9/CD1\n/SUSE-CORE-Version-9/CD1 /SUSE-CORE-Version-9/CD1" > yast/instorder
  8. echo -e "/SUSE-SLES-Version-9/CD1 /SUSE-SLES-Version-9/CD1\n/SUSE-CORE-Version-9/CD1 /SUSE-CORE-Version-9/CD1" > yast/order

Integrating SP1 in SLES9 installation source:

Using yast:

  1. Update your installation server to SP1 first
  2. Go to Yast2 -> Misc -> Installation Server
  3. Configure your source and create it if not already done, use only GA CDs or ISO images for initial source setup
  4. If you already have configured SLES9 GA source click "Change" -> "Add" -> "Prompt for additional CDs" -> next

You will be asked to provide CDs or ISO images. Sometimes it happens, that only the first iso image is copied to the installation source directory, I did not found any reason for it, if it will happen for you, just follow the below instructions for manual setup.

Manual setup

  1. Copy ISO images to your server
  2. Create a "SUSE-SLES-9-Service-Pack-Version-1" in the root of your exported directory (in the same SUSE-SLES-Version-9 and SUSE-CORE-Version-9 reside)
  3. Create a CD1, CD2 and CD3 subdirectorys inside SUSE-SLES-9-Service-Pack-Version-1
  4. Mount SP1 ISO images or CDs and copy all contents in appropriate CDx directorys
  5. Go to "yast" directory below your installation root and edit "order" and "instorder" files to look like this:
  • -> order
/SUSE-SLES-9-Service-Pack-Version-1/CD1 /SUSE-SLES-9-Service-Pack-Version-1/CD1
/SUSE-SLES-Version-9/CD1        /SUSE-SLES-Version-9/CD1
/SUSE-CORE-Version-9/CD1        /SUSE-CORE-Version-9/CD1
  • -> instorder
/SUSE-SLES-9-Service-Pack-Version-1/CD1
/SUSE-SLES-Version-9/CD1
/SUSE-CORE-Version-9/CD1
  1. Do not forget to use updated kernel for network boots, copy the install file from the root directory of the service pack CD1 to your /tftpboot directory. Booting a GA kernel and using SP1 source for installation will result in some strange errors...
  1. Set following symbolic links:
op720-2-lpar1:~ # ls -al /export/sles9/
total 0
drwxr-xr-x  6 root root 368 Jul 22 12:02 .
drwxr-xr-x  9 root root 400 Jul 22 09:48 ..
drwxr-xr-x  7 root root 168 Jul 22 10:08 SUSE-CORE-Version-9
drwxr-xr-x  5 root root 120 Jul 22 12:03 SUSE-SLES-9-Service-Pack-Version-1
drwxr-xr-x  3 root root  72 Jul 22 09:48 SUSE-SLES-Version-9
lrwxrwxrwx  1 root root  28 Jul 22 09:48 boot -> SUSE-SLES-Version-9/CD1/boot
lrwxrwxrwx  1 root root  31 Jul 22 09:48 content -> SUSE-SLES-Version-9/CD1/content
lrwxrwxrwx  1 root root  35 Jul 22 09:48 control.xml -> SUSE-SLES-Version-9/CD1/control.xml
lrwxrwxrwx  1 root root  51 Jul 22 12:02 driverupdate -> SUSE-SLES-9-Service-Pack-Version-1/CD1/driverupdate
lrwxrwxrwx  1 root root  44 Jul 22 12:02 linux -> SUSE-SLES-9-Service-Pack-Version-1/CD1/linux
lrwxrwxrwx  1 root root  31 Jul 22 09:48 media.1 -> SUSE-SLES-Version-9/CD1/media.1
drwxr-xr-x  2 root root 104 Jul 22 10:09 yast
Personal tools