SLES9 netinstall source
From Linux on Power wiki
Contents |
Creating Installation Source
- You can use YAST - Misc - Installation Server or on not-suse systems:
- Create a 6GB filesystem “/export/sles9” and mount it
- Export it
- Add host entry for the client you want to install (if your server is AIX)
- Copy the contents of SLES9 CDs:
- cd /export/sles9 (this is our installation root)
- mkdir -p /export/sles9/SUSE-SLES-Version-9/CD1 # copy CD1
- mkdir -p /export/sles9/SUSE-CORE-Version-9/CD1 # CD2 (CD1 and CD2 are sufficient for minimal installation)
- mkdir -p /export/sles9/SUSE-CORE-Version-9/CD2 # copy CD3
- mkdir -p /export/sles9/SUSE-CORE-Version-9/CD3 # copy CD4
- mkdir -p /export/sles9/SUSE-CORE-Version-9/CD4 # copy CD5
- mkdir -p /export/sles9/SUSE-CORE-Version-9/CD5 # copy CD5
- Create symbolic links in the installation root directory:
- ln -s SUSE-SLES-Version-9/CD1/boot boot
- ln -s SUSE-SLES-Version-9/CD1/content content
- ln -s SUSE-SLES-Version-9/CD1/control.xml control.xml
- ln -s SUSE-SLES-Version-9/CD1/media.1 media.1
- Create yast directory in your installation root: mkdir yast
- 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
- 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:
- Update your installation server to SP1 first
- Go to Yast2 -> Misc -> Installation Server
- Configure your source and create it if not already done, use only GA CDs or ISO images for initial source setup
- 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
- Copy ISO images to your server
- 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)
- Create a CD1, CD2 and CD3 subdirectorys inside SUSE-SLES-9-Service-Pack-Version-1
- Mount SP1 ISO images or CDs and copy all contents in appropriate CDx directorys
- 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
- 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...
- 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
