PURPOSE:
to do a scripted OS install you will have to do the following.
RESOLUTION:
STEP1
import the netboot.iso to the pxe server.
In tools then pxe config utility
Give the Preboot a name (i called it redhat_install)
Under Operating systems choose Linux and x64
Under Image Creation method choose "User Supplied"
Select the manual boot button
In the PXE boot files windows browse to the pxeboot folder
select OK button
select apply and ok in the pxe config utility.
STEP 2
- Make changes to the config
- browse to the eXpress share\PXE\Images folder
- find the pxe folder for what we just imported (example MenuOption 160) is mine
- there will be a few files missing that is need to pxe boot
- ldlinux.c32
- If you have a previous import GSS linux preboot then you can copy that file from the MenuOption130 folder.
- You need to create a folder called pxelinux.cfg
- change directory to pxelinux.cfg
- create a file call default
The file and folder structure should look like this:
edit the file with notepad or another editor
the default should have the following
=========================================
default redhat
label redhat
kernel vmlinuz
append initrd=initrd.img rw ramdisk_size=100000 ksdevice=eth0 ip=dhcp text ks=(ftp|http)://<ip|hostname>/centos/6
say"Installing redhat scripted OS install"
============================================
Save the default file
STEP3: HTTP|FTP|NFS
- setup a ftp, http, or nfs to pull down the install files
- I used filezilla server on a windows server and setup anonymous logging, you can also install IIS and do the same thing
- you will have to also include a ks.cfg file and save it to the location in the default file.
STEP4: Boot the box you want to execute the scripted OS
- have it boot to the Redhat_Install pxe menu or what you called it under step 1
- Once the installer starts if the ks.cfg is configured right it should install the os according to that answer file.
5. After you are done I would make a backup of this folder.