[CentOS] kickstart installation problem
James Pearson
james-p at moving-picture.com
Tue Jul 10 09:11:56 UTC 2012
jiten jha wrote:
> Dear Friends,
>
> I have centos 6.2 64 bit os in my dell server. When I try to install centos
> or scientific linux using NFS so it is not working and getting me error =
> "unable to download kickstart file".
> My kickstart file configuration is :
>
>
> #platform=x86, AMD64, or Intel EM64T
> #version=DEVEL
> # Firewall configuration
> firewall --disabled
> # Install OS instead of upgrade
> install
> # Use NFS installation media
> nfs --server=10.112.16.33 --dir=/nfs/os/ks.cfg
The '--dir=' argument is the path to the distro directory, not the path
to the kickstart file - i.e. it should be:
nfs --server=10.112.16.33 --dir=/nfs/os
> network installation using NFS kickstart following setps i am using
>
> - system-config-kickstart
> - system-config-nfs
> - /etc/init.d/nfs restart
> - mkdir -p /nfs/os/
> - mkdir /mnt/iso/
> - mount -t iso9660 /root/Desktop/Centos-64-DVD.iso /mnt/iso/ -o loop
> - cp -Rp /mnt/iso/* /nfs/os/
> - vim /etc/exports/
> - /nsf/os/ 10.112.0.0/8(ro,sync)
> - exportfs -a
> - exportfs -v
> - /etc/init.d/nfs restart .
> - When I boot my pc using centos and in a boot option I put "
> ks=nfs:serverIP/nfs/ks/ks.cfg"
>
> So it is giving my error could not find kernel image
> ks=nfs:serverIP/nfs/ks/ks.cfg
>
> When I put ks.cfg file in /nfs/os/ks.cfg Then it is giving me error "
> Unable to download kickstart file"
I don't know if the contents of your /etc/exports file above is a typo -
but it should be "/nfs/os" not "/nsf/os"
If your kickstart file is under /nfs/os/ on the same server, then the
boot command line syntax should be:
ks=nfs:10.112.16.33:/nfs/os/ks.cfg
James Pearson
More information about the CentOS
mailing list