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

Re: kickstart and RH6.2



  hello, Thomas

> i'm having troubles getting kickstart (red hat 6.2) to work.
> ...Does anybody have a working kickstart configuration (ks.cfg)
> either network based installation (NO DHCP server!
  hope this helps

> i want to try it
> first with ks=floppy and install rpm's are on a NFS server) or a CD-ROM
> based installation.
  mkkickstart defaults to cdrom, if you want to do an nfs or ftp 
  change the cdrom line to nfs --server <server-ip> --dir
<server-dir>

  i use the follwing to 'fix' the results of mkkickstart:

sed -f ./fix.sed ks_cfg > ks.cfg

./fix.sed:
-----------------------------------
s/generic monitor/generic multisync/
s/--static/--bootproto static/
s/^#network/network/
s/--ip 10.0.0.1/--ip 192.168.2.249/
s/ --gateway 10.0.0.254//
s/--linux/ --all/
s/^[ 	]*$//                       # remove this comment: this is 
s/^$//g
s/genericps/generic3ps/
s/rootpw.*$/rootpw atipasys/
s|part /home --size.*$|part /home --size 1 --grow|
s|^cdrom|nfs --server 192.168.2.130 --dir
/home/ftp/pub/RH/62/i386|             
------------------------------------

the first part of ks.cfg should like this when the above changes
are done
------------------------------------
lang en_US
network --bootproto static --ip 192.168.2.246 --netmask
255.255.255.0
nfs --server 192.168.2.130 --dir /home/ftp/pub/RH/62/i386
device ethernet 3c59x
keyboard "us"
zerombr yes
clearpart  --all
part /boot --size 30
part /usr --size 4096
part / --size 2048
part swap --size 256
part /home --size 1 --grow
install
mouse generic3ps/2
timezone America/New_York
xconfig --server "SVGA" --monitor "generic multisync"
rootpw  mypassword
auth --useshadow --enablemd5
lilo --location
mbr                                                             
-------------------------------------
make sure your
  --server  points to your server
  --dir     points to your ftp directory
  that 'device ethernet' is correct for your network card
  that the 'part's (partitions) are as you want them
  timezone is your own
  rootpw is what you want as a password

if you have more than 1 hard disk add --on [hs]da (or
/dev/[hs]da)
to every part statement. (sda,sdb or hda, hdb according to
whether
you have ide or scsi disks, which i'm guessing/hoping you already
know)

you can get the values that are correct for your machine
by running mkkickstart > ks.cfg on the machine that you are
cloning.
this should be done right after a fresh install.

you can add things to the %post section but it takes several
passes
to get it right.  time-consuming...
every command has to have the full path
like: mount -> /bin/mount

good luck
-- 
  arthur m coucouvitis             ATIPA Linux Solutions, Inc.
  tel: 603 622-7171 x 15           850 East Industrial Park Drive
  fax: 603 622-7272                Suite 8,  Manchester, NH 
03109
  http://www.dcginc.com            http:/www.atipa.com





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