My kickstart doesn't work at all (maybe newbie question)

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

 



This is going to sound like an incredibly stupid question, but I'm new
at this, so please forgive me.

I'm trying to set up a Kickstart configuration to install RedHat 7.1.
I've read "The Official Red Hat Linux Customization Guide" and the
"RedHat Linux KickStart HOWTO", and I can't get past (what seems like)
step 1.

I've created a boot disk, using bootnet.img, and I've put a ks.cfg file
on that disk.  I've modified the syslinux.cfg file to boot with
"ks=floppy" without prompting.  My problem is that the installation
seems to ignore portions of the ks.cfg file, asking the user for input.
In particular, it always asks for:
    Language to use during the installation
    Keyboard type
    Type of media (NFS image / FTP / HTTP)
    TCP/IP info (IP address, netmask, default gateway, nameserver)
    NFS server and RedHat directory
After getting this information, the installation proceeds without
further intervention.  Naturally, however, I would like the installation
to get all this information from the ks.cfg file.  It's in there, after
all.

The installation does use some information from the ks.cfg file,
including the partition information, the package information, the
firewall information, and a few other items.  It just doesn't seem to
take all of it.

I have tried several modifications to the ks.cfg file, including
deleting all the networking information, and trying to install from
CDROM.  This has had no positive effect.

I am at my wits' end.  Does anyone have any advice for me?

    -- Rick


Here's my ks.cfg file:

    lang en_US
    keyboard us
    mouse generic3ps/2
    timezone --utc US/Pacific
    rootpw --iscrypted xxxxxxxxxxxxx
    nfs --server netapp-loaner-f720 --dir /vol/vol0/kickstart/OS/RedHat7.1
    network --bootproto static  --hostname kickstart --ip 192.168.2.79 --netmask 255.255.255.0  --gateway 192.168.2.254  --nameserver 192.168.2.19
    install
    auth --useshadow --enablemd5 --enablenis --nisdomain neosilicon.com --nisserver 192.168.2.57
    
    firewall --disabled
    zerombr yes
    clearpart --all
    part /boot  --size 64
    part swap --size 1024
    part /  --size 1000 --grow
    lilo --location mbr
    skipx
    %packages
    @Everything
    
And, if you're interested, here's my syslinux.cfg file:
    
    default ks
    prompt 0
    label ks
      kernel vmlinuz
    #  append ks=floppy initrd=initrd.img lang=en_US devfs=nomount
      append ks=floppy initrd=initrd.img





[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