Red hat linux anaconda-ks.cfg sample file – HP SmartStart-Software User Manual
Page 19
Advanced topics 19
Additionally, the sample install_win.sh script for Microsoft® Windows® performs preinstallation tasks,
including:
•
Creating a 2 GiB FAT16 primary partition
•
Formatting the partition for the FAT file system
•
Creating a boot sector for the partition
•
Copying the FreeDOS operating system to the new C drive
•
Copying the Windows® installation sources, the $oem$ directory, and unattend.txt files to the C
drive
To use the install_win.sh sample script to install Microsoft® Windows® and install_w2k8.sh sample script
to install Windows Server® 2008:
1.
Create an unattend.txt file by following the instructions in the Microsoft® documentation
windows_unattend directory.
2.
Copy the Windows® source files to the installation source. In this sample script, the installation
source is a NFS file share.
3.
Adapt the script to perform the correct hardware configuration, and change the NFS server IP
address and path to match your environment.
4.
Update the syslinux configuration file (pxelinux.cfg, isolinux.cfg, or syslinux.cfg) to reference the
install_win.sh or install_w2k8.sh sample script.
Red Hat Linux anaconda-ks.cfg sample file
The operating system-dependent unattended installation file is not created by the Toolkit utilities. The user
must create the file separately. In the following example, bold lines indicate modifications made to fully
automate the installation of the operating system.
Refer to the operating system documentation or the Red Hat Linux 9: Red Hat Linux Customization Guide
complete description of the options that can be modified in the anaconda-ks.cfg unattended installation
file to customize the installation of Red Hat Linux.
lang en_US
REM *** Modify the network settings to reflect required
REM *** network settings.
network --bootproto dhcp
REM *** The IP address should be the address of the
REM *** Linux repository server. The /SHAREVOL/RedHatCD
REM *** must be shared as an NFS volume.
nfs --server 192.1.1.3 --dir /SHAREVOL/RedHatCD
device ethernet eepro100
keyboard "us"
zerombr yes
clearpart --Linux
part /boot --size 30
part swap --size 128