LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-24-2012, 09:05 AM   #1
carlino
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Rep: Reputation: Disabled
Unhappy Problems with nfs instalation: "Error downloading kickstart file"


Hello, I have a problem with a network installation (nfs server).

In the machine to be installed, displays the message:

"Unable to download the kickstart file. Please modify the kickstart parameter below or press cabcel to proceed as an interective installation"

Please guide me about the error could and how to solve.

Thank you very much

To add some details below.

My kickstart file is noa1pdsora.ks:

[SIZE="1"]# Kickstart file for noa1pdsora
install
# Key must be enabled for RHEL5 install
key - skip
lang en_US.UTF-8
# Use NFS installation media
nfs - server = 195.3.100.101 - dir = / install/os_source/rhel5_64
us keyboard
xconfig - startxonboot
# Network information
network - BOOTPROTO = static - device = eth0 - gateway = 195.3.100.253 - ip = 195.3.100.193 - nodns - netmask = 255.255.255.0 - onboot = on - hostname noa1pdsora
# Root password
rootpw root
firewall - disabled
authconfig - enableshadow - enablemd5
selinux - disabled
timezone - utc America / Argentina / Tucuman
bootloader - location = mbr - append = "rhgb quiet"
# The Following is the partition information you Requested
# Note That Any partitions you deleted are not Expressed
# Here so unless you clear all partitions first, this is
# Not guaranteed to work
#
# Disk Cofiguration
clearpart - all - initlabel
part / boot - fstype ext3 - size = 200 - ondisk = cciss/c0d0
pv.01 part - size = 100 - grow - ondisk = cciss/c0d0
volgroup rootvg - pv.01 pesize = 65536

#
# Build SWAP File
#
logvol swap - fstype swap - name = swaplv - vgname = rootvg - size = 4096
#
# Build OSVG
#
logvol / - fstype ext3 - name = rootlv - vgname = rootvg - size = 20480
reboot
#
% Pre
mkdir / mnt / temp
mount-o nolock 195.3.100.101: / install / mnt / temp
cp / mnt/temp/common/include/basic_packages_rhel5.1_64.inc / tmp / basic_packages.inc
umount / mnt / temp

% Packages
% Include / tmp / basic_packages.inc
#
% Post
#
# # Custom info
# # Customer name must match project folder name
project = "Transnoa"
# # Functional node type or - {g, p, fp, is qa, or}
nodetype = ""
# # Hostname - to pass to post install script
host = "noa1pdsora"
#
#
mkdir / mnt / temp
mount-o nolock 195.3.100.101: / install / mnt / temp

##################################
# General Scripts
##################################
/ Mnt / temp / common / scripts / Transnoa / master_install_script.sh $ project $ host>> / var / install_script.log 2> & 1

#################################
Customer # Custom Scripts
#################################

# End of Scripts, unmount nfs
/ Mnt / sysimage umount / mnt / temp
#

My dhcpd.conf is:

ddns-update-style interim;
ignore client-updates;

allow bootp;
allow booting;

class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 195.3.100.101;
filename "pxelinux.0";
}

subnet 195.3.100.0 netmask 255.255.255.0 {
option routers 195.3.100.253;
default-lease-time 21600;
max-lease-time 43200;
}

Transnoa group {
option routers 195.3.100.253;
option subnet-mask 255.255.255.0;

noa1pdsora host {
hardware ethernet 50: e5: 49:49:40:11;
fixed-address 195.3.100.193;
}
}
 
Old 01-24-2012, 12:45 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi carlino

Welcome to LQ!!!

Could you let us know the boot params that you are passing to the system on which you want to install RHEL5?

Another thing that I would like to know if you have configured 195.3.100.101 server to accept connections from this machine?
 
Old 01-24-2012, 01:05 PM   #3
carlino
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thank you por you attention T3RM1NVT0R.

Could you tell me you want to look specifically to verify that the IP allows incoming connections?

Here the boot params (inside the file noa1pdsora.ks).

# Kickstart file for noa1pdsora
install
# Key must be enabled for RHEL5 install
key --skip
lang en_US.UTF-8
# Use NFS installation media
nfs --server=195.3.100.101 --dir=/install/os_source/rhel5_64
keyboard us
xconfig --startxonboot
# Network information
network --bootproto=static --device=eth0 --gateway=195.3.100.1 --ip=195.3.100.193 --nods --netmask=255.255.255.0 --onboot=on --hostname noa1pdsora
#Root password
rootpw --iscrypted rofMzuEB7bHw2
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc America/Argentina/Tucuman
bootloader --location=mbr --append="rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#
# Disk Cofiguration
clearpart --all --initlabel
part /boot --fstype ext3 --size=200 --ondisk=cciss/c0d0
part pv.01 --size=100 --grow --ondisk=cciss/c0d0
volgroup rootvg --pesize=65536 pv.01


regards!
 
Old 01-24-2012, 01:16 PM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

We need to check if your nfs server is accepting connections from this server on port 2049 (default nfs port).

Your network part should come up and you should pass the following boot params:

ks=nfs:195.3.100.101:/install/os_source/rhel5_64
 
Old 01-24-2012, 02:14 PM   #5
carlino
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
T3RM1NVT0R, I send to you the output:

rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 795 status
100024 1 tcp 798 status
100011 1 udp 769 rquotad
100011 2 udp 769 rquotad
100011 1 tcp 772 rquotad
100011 2 tcp 772 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100021 1 udp 1050 nlockmgr
100021 3 udp 1050 nlockmgr
100021 4 udp 1050 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 tcp 21351 nlockmgr
100021 3 tcp 21351 nlockmgr
100021 4 tcp 21351 nlockmgr
100005 1 udp 787 mountd
100005 1 tcp 790 mountd
100005 2 udp 787 mountd
100005 2 tcp 790 mountd
100005 3 udp 787 mountd
100005 3 tcp 790 mountd

I did previously:

iptables -A INPUT -p tcp -m tcp --dport 2049 -j ACCEPT
iptables -A INPUT -p udp -m udp --dport 2049 -j ACCEPT

iptables -A OUTPUT -p tcp -m tcp --dport 2049 -j ACCEPT
iptables -A OUTPUT -p udp -m udp --dport 2049 -j ACCEPT

I supose thats right!

You say replace this line:
nfs-server=195.3.100.101 -dir=/install/os_source/rhel5_64

for this one?:
ks=nfs:195.3.100.101:/install/os_source/rhel5_64

Regards!
 
Old 01-24-2012, 02:21 PM   #6
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Ok we have nfs server configured to access connections on port 2049 but as I can see it is appended to the chain. Make sure it is appended before explicit deny statement.

I did not suggest to replace the line. What I am suggesting is to specify that line at boot prompt.

I think following link will clear up the things: http://blog.chenhow.net/2010/07/28/l...-installation/

You have to type "linux askmethod" without quotes and then hit enter. Then at boot: you need to specify: ks=nfs:195.3.100.101:/install/os_source/rhel5_64

Last edited by T3RM1NVT0R; 01-24-2012 at 03:08 PM.
 
Old 01-25-2012, 05:49 AM   #7
carlino
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hello, you recommended on the site, is a sample configuration file. I see some differences:

- The extension is .cfg, while mine is .ks

- There is a line that says:
url - url http://192.168.1.1/ ~ chenhow/Centos5.5

while in my file, he says;
nfs - server = 195.3.100.101 - dir = / install/os_source/rhel5_64
 
Old 01-26-2012, 12:48 PM   #8
carlino
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi T3RM1NVT0R,

I had work a lot for discover the solution, but still I cant get him!

I saw the file: /tftpboot/pxelinux.cfg/01-50-e5-49-49-40-11, where says:

#Customer:TRANSNOA Hostname:noa1pdsora 64bit
default 1
timeout 100
label 1
kernel /rhel5_64/vmlinuz
append initrd=/rhel5_64/initrd.img ramdisk_size=9216 ks=nfs:195.3.100.101:/install/common/scripts/TRANSNOA/noa1pdsora.ks ksdevice=eth0 ip=195.3.100.193 netmask=255.255.255.0 gateway=195.3.100.253 lang=en_US01 nicdelay=30

here the installation shows where look for the kickstar.ks file, and then the message error always is the same:

"Unable to download the kickstart file. Please modify the kickstart parameter below or press cancel to proceed as an interective installation"

I modify that file and nothing, and I deleting that file and nothing to!!!

The instalation never found this path.

Any idea about that?, thankyou in advanced
 
Old 01-26-2012, 12:58 PM   #9
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Let me explain you this way. At the boot: prompt you have to first mention the commands that will setup your network (without network in place we are not going anywhere). At the same time you have to pass the parameter for ks.cfg (you can rename it to ks.cfg)

As I can see from what you are trying to do is you are trying to perform an installation without using the media (DVD/CD). So I am assuming that you have got a PXE boot ROM on the system and a DHCP server (With BOOTP) to lease IP address to this machine.

If not, then you have to use media to atleast boot till the point you configure your network and then go ahead with network install.

Remember, in both the cases you have to type "linux askmethod" at boot: prompt and then mention the following param: ks=nfs:195.3.100.101:/install/os_source/rhel5_64
 
Old 01-26-2012, 01:33 PM   #10
carlino
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Yes, I tried to install RH5.4 from an iso image in the kickstar server, via nfs

I have a PXE boot, in a server and remote machine and DHCP service running in a kickstart server.

But I do not understand where I write 'linux askmethod' in the remote boot?, In another file?,

On the remote machine dont have the option to set this parameter. The machine is empty, only booted, and starting the linux instalation, without any prompt, then the message error appear

this line is in the kisckstar.ks
nfs --server=195.3.100.101 --dir=/install/os_source/rhel5_64

Sorry but I'm really confused!

Thank you in advanced!
 
Old 01-26-2012, 01:38 PM   #11
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

When you boot up this machine (the one on which you are trying to install) what do you see? Do you see the linux installation screen? Or where does it takes you?
 
Old 01-26-2012, 01:50 PM   #12
carlino
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
The boot process begins ... then the graphics mode (blue screen) appears Linux installation ...

Then it starts to install SCSI drivers ....

And then the error message (in a graphic mode) are:

"You can not download the kickstart file. Please modify the kickstart parameter below or press cancel to proceed as an interactive installation"

and below the line:

"nfs: 195.3.100.101: / install/common/scripts/TRANSNOA/noa1pdsora.ks"

I tried to change this line, but never successfully

Cancel option does not work, I can not move from this step

Greetings!
 
Old 01-26-2012, 02:09 PM   #13
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Change this line: nfs --server=195.3.100.101 --dir=/install/os_source/rhel5_64

in you file as follows:

nfs --server 195.3.100.101 --dir /install/os_source/rhel5_64

and see if it works.
 
Old 01-26-2012, 02:30 PM   #14
carlino
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Did not work.

Viewing / var / log / messages, I saw: "tftp: client does not accept options"

Jan 26 16:48:51 noa1kick dhcpd: DHCPDISCOVER from 50:e5:49:49:40:11 via bond0
Jan 26 16:48:51 noa1kick dhcpd: DHCPOFFER on 195.3.100.193 to 50:e5:49:49:40:11 via bond0
Jan 26 16:48:53 noa1kick dhcpd: DHCPREQUEST for 195.3.100.193 (195.3.100.101) from 50:e5:49:49:40:11 via bond0
Jan 26 16:48:53 noa1kick dhcpd: DHCPACK on 195.3.100.193 to 50:e5:49:49:40:11 via bond0
Jan 26 16:48:53 noa1kick xinetd[2978]: START: tftp pid=15205 from=195.3.100.193
Jan 26 16:48:53 noa1kick in.tftpd[15206]: RRQ from 195.3.100.193 filename pxelinux.0

Jan 26 16:48:53 noa1kick in.tftpd[15206]: tftp: client does not accept options

Jan 26 16:48:53 noa1kick in.tftpd[15207]: RRQ from 195.3.100.193 filename pxelinux.0
Jan 26 16:48:53 noa1kick in.tftpd[15208]: RRQ from 195.3.100.193 filename pxelinux.cfg/01-50-e5-49-49-40-11
Jan 26 16:48:53 noa1kick in.tftpd[15209]: RRQ from 195.3.100.193 filename /rhel5_64/vmlinuz
Jan 26 16:48:53 noa1kick in.tftpd[15222]: RRQ from 195.3.100.193 filename /rhel5_64/initrd.img

ALT + F3 on the remote machine:

ERROR: NO NETWORK DEVICES IN CHOOSE NETWORK DEVICE!
ERROR: NO NETWORK DEVICES FOR DOING KICKSTAR
ERROR: UNABLE TO BRING UP NETWORK

Sorry for the inconvenience!
Thanks and regards
 
Old 01-30-2012, 08:42 AM   #15
carlino
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi!: I could solve the connectivity between computers by assigning a static IP (before install windows to do so), it is assumed that the installation of Redhat will tread all.

But the error message remains:

"Unable to download the kickstart file. Please modify the kickstart parameter below or press cancel to proceed as an interective installation"

But now I get to the installation Intec (I choose NFS image):

I request: server name or IP
path

But any path I guess I should enter, tell me you can not mount:

"Failed to mount nfs source"

In the server I did:

mount-t nfs 195.3.100.101: / install / mnt / tmp

but the message is identical!

Are saying?, Something wrong with these steps?

thanks
 
  


Reply



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
xfs, inode64, NFS export, no_subtree_check and "Stale NFS file handle" message mcacciagrano Red Hat 1 01-16-2011 03:25 PM
"Stale NFS file handle" mount error on a non-NFS /boot partition after running lilo cabrilo Slackware 4 09-14-2010 09:00 AM
Could Large file Size cause "RPC: Authentication error" with NFS server mount VWrestle97 Linux - Server 3 10-09-2009 06:32 PM
Kickstart/nfs/dhcp/tftp problem with stopping at "Freeing unused kernel memory/Write" simeruk Red Hat 0 06-10-2008 11:09 AM
problems with mount NFS, with "RPC: port mapper failure" error alisa Linux - Networking 2 05-20-2008 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:03 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
Open Source Consulting | Domain Registration