LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error Unable to download kickstart file!!! (https://www.linuxquestions.org/questions/linux-newbie-8/error-unable-to-download-kickstart-file-4175496771/)

newtolinux2014 03-02-2014 03:27 PM

Error Unable to download kickstart file!!!
 
Hi,

I am trying to configure an installation from a centos server to a client. The server is running centos 6.5 and I have configure kickstart with dhcp and all the necessary parameters and I input the boot command at the client side and it fails to install. I am new to linux and have spent more than 20hrs trying to find a solution to no avail.

My kickstart config is as follows:

#platform=x87, AMD64, or Intel EM64T
#version=DEVEL
# Firewall configuration
firewall --disabled
# Install OS instead of upgrade
install
# Use NFS installation media
nfs --server=192.168.xxx.xxx --dir=/export/install
# Root password
rootpw --iscrypted $1$VB.pSBIz$rbdLDjTY4MMPv5p1NwLT70
# System authorization information
auth --useshadow --passalgo=sha512
# Use graphical install
graphical
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux --disabled
# Installation logging level
logging --level=info
# Reboot after installation
reboot
# System timezone
timezone --isUtc America/Los_Angeles
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all
# Disk partitioning information
part /boot --fstype="ext4" --size=250
part swap --fstype="swap" --size=700
part / --fstype="ext4" --size=10000
part /database --fstype="ext4" --size=2000
part /home --fstype="ext4" --size=1000

%packages
@base
@basic-desktop
@compat-libraries
@console-internet
@debugging
@internet-browser
@x11

%end

I am using this at the client boot screen:

boot: linux ks=nfs:192.168.xxx.xxx:/export/install/ks.config
on the client I have the centos iso as the first boot order.

I have nfs turned on and I am at run level 5. I am able to mount the directory (/export/install) to another vmclient I just cant get another client to download the kickstart config from the server. Please like I said I am new at this any help will be grateful for my sanity.

lpwevers 03-03-2014 05:52 AM

Hi,

When you get to the boot menu from the CentOS iso, make sure the first option "Install or upgrade an existing system" is highlighted, then press the TAB key. You can now edit the boot options. The line looks something like this:
Code:

vmlinuz initrd=initrd.img
Append you ks= line to that, so it looks like this:
Code:

vmlinuz initrd=initrd.img ks=nfs:192.168.xxx.xxx:/export/install/ks.config
Then press ENTER to boot. That should do the trick for you.

ericson007 03-03-2014 05:54 AM

So are you booting from a cd or pxe?


All times are GMT -5. The time now is 03:00 PM.