1833007 Members
2436 Online
110048 Solutions
New Discussion

Re: Kickstart

 
Hunki
Super Advisor

Kickstart

I am new to kickstart and need info on the following steps that need to be carried out for kickstart :

-Partitioning disks ?
-Booting to the ISO image ?

How these steps fit in with regards to an HP server with riblo access and virtual floppy option. Is the sequence correct and what is meant by both the steps.Pls give detailed overview.

Thanks.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Kickstart

Shalom,

What most folks do with kickstart is install a system to generate a template.

All partitioning and software selection information is put in a file called anacondia.cfg

This file is pretty easy to read and can be modified to change the boot method, partitioning and other factors.

Here is some additional information from the nice folks at RedHat.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: Kickstart

Shalom,

What most folks do with kickstart is install a system to generate a template.

All partitioning and software selection information is put in a file called anacondia.cfg

This file is pretty easy to read and can be modified to change the boot method, partitioning and other factors.

Here is some additional information from the nice folks at RedHat.
http://www.google.com/url?sa=t&ct=res&cd=3&url=http%3A%2F%2Fwwwcache.ja.net%2Fdev%2Fkickstart%2FKickStart-HOWTO-monolithic.html&ei=M_WMRJv7EcKaQcbC6eYM&sig2=fJLr2IbXwI4l0v49p-AEwA

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
dipesh_2
Regular Advisor

Re: Kickstart

Hi hunki

solution for your all problems releted to linux networking.

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch25_:_Network-Based_Linux_Installation



Regards
dipesh
Robert Walker_8
Valued Contributor

Re: Kickstart

Hi Hunki,

Im still working through mine however some simples steps.

1. Set up nfs server and copy distro to nfs area - copy it all cp -Rf /mnt /nfs
2. Boot new system up of disk1 assuming Redhat. At prompt type linux ks=nfs:nfsserver:/nfs/directory/kickstart.cfg
3. It will follow on probably ask which network adapter you wish to run with for DHCP.

Use the following kickstart.cfg file:

#System language
lang en_AU
#Language modules to install
langsupport en_AU
#System keyboard
keyboard us
#System mouse
mouse
#Sytem timezone
timezone Australia/Brisbane
authconfig --enableshadow --enablemd5
bootloader --location=mbr --append="rhgb quiet"
# Device Probe
deviceprobe
#Reboot after installation
reboot
#Install OS instead of upgrade
install
#Use NFS installation Media
nfs --server= --dir=/nfs/server/rhel/v4u3
#System bootloader configuration
bootloader --location=mbr --append="rhgb quiet"
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
clearpart --drives=cciss/c0d0 --all --initlabel
part / --fstype ext3 --size 2048 --ondisk cciss/c0d0 --asprimary
part swap --fstype swap --size 2048 --ondisk cciss/c0d0 --asprimary
part /usr --fstype ext3 --size 10240 --ondisk cciss/c0d0 --asprimary
part /var --fstype ext3 --size 8192 --ondisk cciss/c0d0
part /tmp --fstype ext3 --size 8192 --ondisk cciss/c0d0
part /home --fstype ext3 --size 10240 --ondisk cciss/c0d0
#System authorization infomation
auth --useshadow --enablemd5
#Network information
network --device eth0 --bootproto static --ip 192.168.64.31 --netmask 255.255.252.0 --gateway 192.168.64.9 --nameserver 192.168.10.48,192.168.10.95,192.168.10.96 --hostname test.server.com --ethtool="autoneg off duplex full speed 100"
network --device eth1 --onboot no --bootproto dhcp --hostname test.server.com --ethtool="autoneg off duplex full speed 100"
#Firewall configuration
firewall --enabled --port=22:tcp --port=25:tcp --port=123:udp
selinux --permissive
#XWindows configuration information
xconfig --depth=8 --resolution=1024x768 --defaultdesktop=GNOME --startxonboot --monitor="Monitor 1024x768"
#Run the Setup Agent on first boot
firstboot --enable
#Package install information
%packages --resolvedeps
@ compat-arch-development
@ admin-tools
@ system-tools
@ gnome-desktop
@ compat-arch-support
@ legacy-software-development
@ base-x
@ server-cfg
-samba-client
-system-config-samba
-system-config-httpd
-bluez-pin
@ development-tools
e2fsprogs
kernel-smp-devel
kernel-devel
kernel-smp
-system-config-securitylevel
-system-config-printer
-screen
sysstat
-OpenIPMI-tools
system-config-boot
system-switch-mail
-ckermit
system-config-kickstart
-open
-openldap-clients
gnome-nettool
-nmap
system-config-printer-gui
system-switch-mail-gnome
-lslk
-iptraf
-xdelta
-ethereal-gnome
-zsh
%post --nochroot
#!/bin/bash
NFSSERVER=192.168.64.31
mount -o ro,nolock -t nfs $NFSSERVER:/data/data01/nfs /mnt
df -k
/mnt/buildserver/postbuild.sh > /sysimage/root/postbuild.log 2>&1

I am still having problems getting the %post stuff to run though, however, builds are now done in about 4 mins as opposed to sitting in front swapping cds!

All the best,

Robert.