To create SuSe Linux OS images, you copy the files from the product media to a boot and install server or other system that is accessible over the network through NFS. You can locate these copies on a system that is running either the SuSe Linux OS or the Solaris OS. You are not required to locate these copies on your SuSe Linux boot and install server.
To copy the SuSe Linux files, you extract the contents of the product CDs into specific directory structure. For instructions about how to copy the SuSe Linux files, see http://www.suse.com/~ug/AutoYaST_FAQ.html#a6.
To automate the provisioning of the SuSe Linux Enterprise Server 8.0 release, you must modify the installer script after you create the SuSe Linux 8.0 installation image. See How to Modify the Installer Script for Automated SuSe Linux Enterprise Server 8.0 Provisioning for more information.
If you locate these copies on a system that is not the boot and install server, the copies must meet the following criteria.
For SuSe Linux provisioning that uses JET, the boot and install server and target host must be able to access the OS file copies through NFS.
For SuSe Linux provisioning that does not use JET, the target host must be able to access the OS file copies through NFS.
The SuSe Linux Enterprise Server (SLES) 8.0 installer includes code that checks for the presence of a keyboard on the system to be installed. This code prevents the OS Provisioning Plug-In from performing an automated installation of the SLES 8.0 OS. To fully automate the provisioning of the SLES 8.0 OS, you must edit the installer to remove this code. Follow these steps.
Go to the boot directory that contains the root file for your SLES 8.0 image.
The boot directory is located in the copy of the first SLES 8.0 CD.
Create a backup copy of the root file.
# cp root root.orig |
Mount the copy of the file in loopback mode in a temporary directory.
# mkdir /tmp/loop # mount -o loop root.orig /tmp/loop |
Create a temporary working directory.
# mkdir /tmp/work |
Copy the files from the root file into the temporary working directory.
# cd /tmp/work # rsync -avz /tmp/loop/* . |
In a text editor, open the YaST2 installer script that is located in our temporary working directory.
If you use the directory names as specified in the previous steps, the YaST2 installer script is located in the /tmp/work/usr/lib/YaST2/bin/ directory.
Delete the following code segment from the YaST2 installer script.
# iSeries and p690 dont have a keyboard but a special console, no need to # run via serial console. if [ ! "$update" -a "$Keyboard" = "0" -a ! "$Braille" -a "$NOTISERIES" != 0 -a "$NOTHVCCONSOLE" != 0 -a "$HOSTTYPE" != "s390" -a "$HOSTTYPE" != "s390x" ] ; then log "no keyboard?" echo "No keyboard detected. Trying to connect via serial interface /dev/ttyS0." echo "On your terminal computer start the user interface with" echo "y2base \"serial(115200):/dev/ttyS0\" qt -geometry 800x600 -style=platinum" echo "or" echo "y2base \"serial(115200):/dev/ttyS1\" qt -geometry 800x600 -style=platinum" echo "or start the YaST2 menu by typing \"yast2\" and select YaST2/Remote Install" y2base "$modulename" $moduleargs "serial(115200):/dev/ttyS0" --timeout 15 y2exitcode=$? [ $y2exitcode -eq 0 ] && y2cc_ncurses if [ "$y2exitcode" = 13 ] ; then echo "Connection timeout. Continuing with normal setup." else exit $y2exitcode fi fi
Recreate the root file to include the modified YaST2 installer script.
# cd /tmp # mkfs.cramfs work root |
Copy the new root file to your copy of the first SLES 8.0 CD.
# cp /tmp/root suse-copy-path/boot/root |
Where suse-copy-path is the path to the copy of the first SLES 8.0 CD.
Delete your temporary working directory, and remove the loopback to the temporary directory.
# rm -rf work # umount /tmp/loop |
If, after you edit the SLES 8.0 installer, the installation switches to interactive mode and asks you to confirm the license agreement, rename the info.txt file located in the copy of the first SLES 8.0 CD. For example:
# mv suse-copy-path/media.1/info.txt suse-copy-pathmedia.1/info.txt.bak
After you rename the file, try to provision the SLES 8.0 OS again.