LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-02-2014, 03:27 PM   #1
newtolinux2014
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 03-03-2014, 05:52 AM   #2
lpwevers
Member
 
Registered: Apr 2005
Location: The Netherlands
Distribution: SuSE, CentOS
Posts: 143

Rep: Reputation: 20
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.
 
Old 03-03-2014, 05:54 AM   #3
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
So are you booting from a cd or pxe?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RHL 6.0 Unable to download the Kickstart file/ Error downloading kickstart file AnApproach2DigestLinux Linux - Newbie 3 11-23-2012 05:50 PM
Unable to download Kickstart file for RHEL 6 KillaSmooth Linux - Software 13 12-05-2011 04:35 AM
Unable to load a kickstart file Ashish Sood Linux - General 1 11-09-2010 02:52 AM
Kickstart Error Error opening kickstart file (null): bad address Latitude Linux - Networking 0 06-03-2009 11:20 AM
Unable to find kickstart file? your_shadow03 Linux - Newbie 2 04-13-2009 10:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration