RE: KickStart network install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



this is great. thanks.  

> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx 
> [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Steven Jones
> Sent: Tuesday, November 08, 2005 3:36 PM
> To: General Red Hat Linux discussion list
> Subject: RE: KickStart network install
> 
> I run kickstart via cdrom off nfs........across a network...
> 
> Yes the docs suck big time....in fact bloody useless...
> 
> My process is like this (please note these settings suit my 
> network, IPs etc will need altering to suit you,
> 
> Take RH cdrom1 iso that is the latest update 5 or 6 or 
> something and burn a cd (in fact burn all 4~5).
> 
> Copy the contents of cd1 to a folder.
> 
> Eg,
> 
> ~/scsi-iso-as3-32-5-oracle
> 
> Cd ~/folder/scsi-iso-as3-32-5-oracle/isolinux/
> 
> Vi isolinux.cfg
> 
> Add these lines,
> 
> At the top,
> 
> default cdromks
> 
> add in the default,
> 
> label cdromks
>   kernel vmlinuz
>   append ks=cdrom:/ks.cfg initrd=initrd.img
> 
> save and exit.
> 
> Cd ../
> 
> Now create the file you just made a pointer to
> 
> Vi ks.cfg
> 
> #Generated by thing
> # build script for 9i RAQ boxes. 4/7/2005 9am #System  
> language lang en_US #Language modules to install langsupport  
> --default=en_US #System keyboard keyboard us #System mouse 
> mouse --emulthree generic3ps/2 #Do not configure XWindows 
> skipx #Sytem timezone timezone Pacific/Auckland #Root 
> password rootpw --iscrypted [insert your encrypted password 
> here form /etc/passwd/] #no Reboot after installation #reboot 
> #Install Red Hat Linux instead of upgrade install #Use NFS 
> installation Media nfs --server 130.195.20.239 --dir 
> /home/share/redhat/rhas3-32-5 #scsi device device scsi 
> megaraid2 #System bootloader configuration bootloader 
> --location=mbr #Clear the Master Boot Record zerombr yes 
> #Partition clearing information clearpart --all --initlabel 
> #Disk partitioning information part / --fstype ext3 --size 
> 2000 --ondisk sda part /home --fstype ext3 --size 4000 
> --ondisk sda part /var --fstype ext3 --size 12000 --ondisk 
> sda part /usr --fstype ext3 --size 6000 --ondisk sda part 
> /boot --fstype ext3 --size 100 --asprimary --ondisk sda #part 
> /opt --fstype ext3 --size 5500 --ondisk sda part swap --size 
> 2000 --ondisk sda part swap --size 2000 --ondisk sda part 
> swap --size 2000 --ondisk sda part /tmp --fstype ext3 --size 
> 2000 --ondisk sda part /oracle --fstype ext3 --size 18000  
> --ondisk sda part /apps --fstype ext3 --size 1 --grow 
> --ondisk sda part /u02 --fstype ext3 --size 1 --grow --ondisk 
> sdb #part /u01 --fstype ext3 --size 1 --grow --ondisk sdb 
> #part /ora_data --fstype ext3 --size 1 --grow --ondisk sdb 
> #part /u02 --fstype ext3 --size 1 --grow --ondisk sda #part 
> /opt --fstype ext3 --size 1 --grow --ondisk sdb
>  
> 
> #System authorization infomation
> auth  --useshadow  --enablemd5
> #Network information
> #network --bootproto=dhcp --device=eth0 --hostname 
> tempboxname network --bootproto static --device eth0 --ip 
> 130.195.83.234 --gateway
> 130.195.83.1 --netmask 255.255.255.0 --hostname tempboxname 
> #network --bootproto static --device eth0 --ip 130.195.83.235 
> --gateway
> 130.195.83.1 --netmask 255.255.255.0 --hostname tempboxname 
> #network --bootproto static --device eth0 --ip 130.195.86.234 
> --gateway
> 130.195.86.1 --netmask 255.255.255.0 --hostname tempboxname 
> #Firewall configuration firewall --enabled --ssh #Package 
> install information %packages --resolvedeps @ Server 
> Configuration Tools @ Administration Tools @ System Tools
>  
> 
> %post
> #!/bin/sh
> #per server build below here
> cat >>/etc/rc3.d/S99zzzcustom<<EOF
> #!/bin/sh
> set -x
> /bin/mkdir /custom
> sleep 65
> /bin/mount 130.195.20.239:/home/share/redhat/custom /custom 
> cd /custom/ks/ ; /bin/cp S99zzks /etc/rc3.d/ cd /etc/rc3.d 
> chmod 0755 S99zzks #/bin/rm -rf /etc/rc3.d/S99zzzcustom chmod 
> 0644 S99zzzcustom /sbin/reboot EOF
>  
> 
> /bin/chmod 0755 /etc/rc3.d/S99zzzcustom
> 
> You can now burn your own Iso.
> 
> I use this (as one line),
> 
> mkisofs -o ../cd.iso -b isolinux/isolinux.bin -c 
> isolinux/boot.cat -no-emul-boot -boot-load-size 4 
> -boot-info-table  -l -r -R -v .
> 
> >From here I samba mount my XP cd burner equipped laptop and burn the
> cd.iso with roxio.
> 
> Copy the RPMS off the 4 cds, carefully keeping the sub folder 
> layout on your cds to what will be your exported nfs mount point.
> 
> Eg,
> 
> /home/share/redhat/rhas3-32-5
> 
> >From the "/etc/rc3.d/S99zzzcustom" file I load a script 
> S99zzks which 
> >on
> the next reboot then does my customisation like setting up 
> sys admins up, setting up ssh, patches the box from redhat, 
> hardens to cis-security standards....installs and configures 
> applications...
> 
> Basically a bare metal restore in 45 mins....
> 
> Regards
> 
> Thing
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Jim [mailto:jkipp5@xxxxxxxxxxx]
> Sent: Tuesday, 8 November 2005 2:07 p.m.
> To: golharam@xxxxxxxxx; 'General Red Hat Linux discussion list'
> Subject: RE: KickStart network install
> 
> not sure yet. first time I have messed with Kickstart. Sorry 
> for the lack of info in my question. I will try it out first 
> and ask again if I get stuck. I was just wondering if there 
> were any more detailed, updated docs out there
> 
> thanks
> 
> 
> > -----Original Message-----
> > From: redhat-list-bounces@xxxxxxxxxx
> > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Ryan Golhar
> > Sent: Sunday, November 06, 2005 11:45 AM
> > To: 'General Red Hat Linux discussion list'
> > Subject: RE: KickStart network install
> > 
> > What would you like to know?  Anything in particular?  
> > 
> > Ryan
> > 
> > 
> > -----Original Message-----
> > From: redhat-list-bounces@xxxxxxxxxx
> > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Jim
> > Sent: Sunday, November 06, 2005 9:37 AM
> > To: redhat-list@xxxxxxxxxx
> > Subject: KickStart network install
> > 
> > 
> > Can anyone please point me to updated and detailed info on 
> kickstart 
> > installs using DHCP/Bootp - NFS. The docs on the Redhat 
> Site are not 
> > good for this subject. I am only able to find dated info in Google.
> > 
> > Thanks,
> > Jim
> > 
> > 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux