On Tue, 2002-07-23 at 17:09, Michael Cunningham wrote: > Folks, > > I would like to be able to setup my kickstart setup > for redhat 7.2 to be as non interactive as possible. > Currently I have my ks.cfg on an nfs server > doing an nfs install. It works well but It still > asks quite a bit of info before starting the > gui and going noninteractive. > > 1. I am booting from a floppy using the bootnet.img > > 2. I type "linux ks=nfs:137.236.77.83:/root/redhat7.2/ks.cfg" > at the prompt. is there a way to get rid of this > needed command? ) As mentioned already edit the syslinux.cfg file on the floppy disk. It should look like this: label ks kernel vmlinuz append ks=nfs:137.236.77.83:/export/ks/ks.cfg initrd=initrd.img lang= devfs=nomount ramdisk_size=8192 vga=788 where /export/ks/ks.cfg is the location of your kickstart file. You also have to option of leaving the ks.cfg off if you name the kickstart file ip-kickstart (ie. 192.168.1.36-kickstart) where 192.168.1.36 is the ip of the computer that you are installing to. all you have to do is either type ks at the boot prompt or change the default in the syslinux.cfg file. > 3. Next is asks about my language. Can I eliminate this > question? you are able to eliminate this question. see attached modifications to kickstart file. same goes for 4-7. > 4. Next it asks about my keyboard. I throught I had this > in my ks.cfg file. How can I get rid of this question? > 5. Next it asks what media type contains the packages. > Can I eliminate this question? > 6. It now asks about my tcpip settings.. I thought it used dhcp? > 7. Next it asks for an nfs server to use.. isnt this > contained in my ks.cfg file it already got? > "install nfs --server 137.236.77.83 --dir /root/redhat7.2 > > I am throughly confused on how to make this install totally > non interactive. I just want to be able to put in a floppy and boot. > Any help you can offer would be appriciated. > > My ks.cfg file is included below.. > > Thanks, > Mike Also you will probably want to change the directory that you are exporting files from. I would suggest making a directory called /export and exporting everything from there. Elliot -- ------------------------------------------------------------------- | Elliot Peele | Linux Systems Administrator | | Student in Computer Science | College of PAMS | | NC State University | Physics Deparment | | elliot@xxxxxxxxxxxxx | ebpeele2@xxxxxxxxxxxxx | ------------------------------------------------------------------- GPG Fingerprint: 00F5 0BEE 168B C07E C49E AEC8 992A A820 05C5 4D73
#modified kickstart file lang en_US langsupport --default en_US en_US network --device eth0 --bootproto static --ip 137.236.77.25 --netmask 255.255.255.0 --gateway 137.236.77.100 --nameserver 137.236.30.88 --hostname testbox nfs --server 137.236.77.83 --dir /root/redhat7.2 keyboard us zerombr yes part / --fstype ext3 --badblocks --size=500 --asprimary part /usr --fstype ext3 --badblocks --size=3000 --asprimary part swap --badblocks --size=512 --asprimary part /var --fstype ext3 --badblocks --size=500 part /xdds --fstype ext3 --badblocks --size=1 --grow install mouse genericps/2 --device psaux --emulthree timezone US/Eastern skipx rootpw --iscrypted abc123abc123acb123abc123 firewall --disabled auth --enableshadow --enablemd5 bootloader --location mbr reboot %packages @ Printing Support @ Sound and Multimedia Support @ Network Support @ Dialup Support @ Messaging and Web Tools @ Server -ghostscript-fonts -talk-server -curl-devel -cipe -esound-devel rsync gnuplot -curl arpwatch -ypserv lynx VFlib2-devel -rp-pppoe -cdlabelgen -micq -rcs -printconf -sox -ppp -aumix iptraf -nmh -krbafs-devel -wvdial kernel-source -minicom -watanabe-vf rwall -efax -pam_krb5 -libogg-devel -chkfontpath shapecfg -radvd openssl-perl -krb5-devel -yp-tools -arts ElectricFence -cdrecord -texinfo -screen -openldap-clients -krbafs -finger -vorbis -pnm2ppa -desktop-backgrounds -libvorbis-devel -perl-File-MMagic -up2date -finger-server -cdp gsm-devel -stunnel -rhn_register libcap -sgml-tools -ypbind ORBit -mpage -gnupg -LPRng -isdn4k-utils -lrzsz -nss_ldap -urw-fonts -groff-perl -awesfx -XFree86-xfs -wget expect -cyrus-sasl-devel -mpg321 pdksh -e2fsprogs-devel -esound lslk -ttfonts-ja -memprof -sendmail-cf -mutt -libao -talk -playmidi -sndconfig -rusers zsh -cdparanoia sysreport -pinfo -statserial zip -metamail -gsm -cdda2wav -libao-devel -fetchmail -libvorbis -ghostscript unzip audiofile-devel tcllib tk -mikmod -cdrecord-devel %post /usr/sbin/useradd mcp chfn -f 'mcp' mcp /usr/sbin/usermod -p 'abc123abc123acb123abc123' mcp echo "nameserver 137.236.30.91" >> /etc/resolv.conf rm /etc/motd rm /etc/profile.d/colorls.* chkconfig --level 23 gpm off chkconfig --level 23 sendmail off chkconfig --level 23 netfs off chkconfig --level 23 apmd off chkconfig --level 23 ipchains off chkconfig --level 23 iptables off chkconfig --level 23 autofs off chkconfig --level 23 nfslock off
Attachment:
signature.asc
Description: This is a digitally signed message part