RE: Help with Kickstart and Redhat 7.0: Got stuck in the prompt

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

 



See in-line comments

> Greetings,
> 
> I'm having problems to create a Kickstart disk; After
> the installation starts a Prompt appears asking me for
> the Language, Keyboard and other settings as I never
> putted in the ks.cfg file!.
> 
> Here are the steps i'm following to install Redhat 7.0
> using kickstart:
> 
> 1) I created the boonet disk using dd under linux:
> dd if=bootnet.img of=/dev/fd0 bs=1440k
> 
> 2) Then i copied my ks.cfg file to the disk:
> mount /mnt/floppy
> cp ks.cfg /mnt/floppy/
> ls /mnt/floppy/
> boot.msg    general.msg  ks.cfg       param.msg  
> snake.msg     template.img
> expert.msg  initrd.img   ldlinux.sys  rescue.msg 
> syslinux.cfg  vmlinuz

Did you get any errors about running out of space here?

> 
> 
> 3) I ran the installation, typed on the boot prompt:
> linux ks=floppy and then i got the Languaje dialog.
> 
> I tested my NFS server and in other of the virtual
> consoles i saw a message saying than the instalation
> was able to mount the distribution.
> 
> Any ideas?
> 
> Thanks in advance.
> 
> Here is my kickstart file:
> 
> lang en_US
> network --bootproto static --ip 10.1.20.103 --netmask
> 255.255.255.0 --gateway 10.1.20.1 --nameserver
> 10.1.20.200 --hostname linux0103
> nfs --server 10.1.20.200 --dir
> /export/linux/redhatlinux_i386_7.0
> keyboard us
> zerombr yes
> clearpart --all
> part /boot --size 20
> part / --size 700 --grow
> part swap --size 256
> part /var --size 300 
> install
> mouse genericps/2
> timezone --utc US/Eastern
> skipx on
> rootpw --iscrypted XaozfUK1CMopA
> auth --useshadow --enablemd5
> lilo --location mbr
> lilo --append 'console=tty0 console=ttyS0,9600'
> reboot

I assume that originally these were on one line (like the nfs line which is
now wrapped).  Did you check VT2-5 (Alt+F2, Alt+F3, etc.) on the machine
that is being installed?

> 
> 
> %packages
> @ Base
> @ Server
> @ Kernel Development
> @ GNOME
> @ KDE
> @ X Window System
> @ Network Management Workstation
> @ Development
> @ Kernel Development
> 
> 
> %post
> mkdir /nfs
> mount 10.1.20.200:/export/linux/ /nfs
> ln -s /bin/gawk /usr/bin/nawk
> ln -s /etc/rc.d/init.d /etc/init.d
> cp /nfs/custom-monitor/hosts.allow /etc/hosts.allow
> cp /nfs/custom-monitor/hosts.deny /etc/hosts.deny
> echo '#Set login time out for the root account.'
> echo 'export TMOUT=7200' >> /etc/profile
> echo '# Limit the size of the history files' >>
> /etc/profile
> echo 'HISTFILESIZE=20' >> /etc/profile
> echo 'HISTSIZE=20' >> /etc/profile
> echo 'Recommended optimization flags For CPU i686 or
> PentiumPro, Pentium II, Pentium III' >> /etc/profile
> echo 'export CFLAGS=-O9 -funroll-loops -ffast-math
> -malign-double -mcpu=pentiumpro -march=pentiumpro
> -fomit-frame-pointer -fno-exceptions' >> /etc/profile
> echo 'rm -f  $HOME/.bash_history' >>
> /etc/skel/.bash_logout

For these where you are sending more that one line to the same place you can
use this format:

cat <<EOF >> /etc/sysctl.conf
#Linux Kernel tunnable parameters - josevnz@xxxxxxxxx - 11/20/2001
#http://www.linuxdoc.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.
3
net.ipv4.tcp_syncookies = 1
etc...
EOF


> echo '#Linux Kernel tunnable parameters -
> josevnz@xxxxxxxxx - 11/20/2001'  >> /etc/sysctl.conf
> echo
> '#http://www.linuxdoc.org/LDP/solrhe/Securing-Optimizing-Linux
> -RH-Edition-v1.3'
>  >> /etc/sysctl.conf
> echo 'net.ipv4.tcp_syncookies = 1' >> /etc/sysctl.conf
> echo '# Disables IP source routing' >>
> /etc/sysctl.conf
> echo 'net.ipv4.conf.all.accept_source_route = 0' >>
> /etc/sysctl.conf
> echo '# Disable ICMP Redirect Acceptance' >>
> /etc/sysctl.conf
<SNIP>
> 
> 
> 
> =====
> System Engineer, José Vicente Nuñez Zuleta (josevnz@xxxxxxxxx)
> Newbreak System Administrator (http://www.newbreak.com)
> Java 2 Certified Programmer
> Java 2 Certified Developer
> 





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux