Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

PXE Boot using NFS problem CentOS5.5

Posted on 2010-09-11
6
Medium Priority
?
610 Views
Last Modified: 2012-05-10
I have a single box that has to have all components to automate installation of other machines.  I created /tftpboot directory that has pxelinux.0 executable and a pxelinux.config folder.  Apparently booting stage 1 works fine.  At stage 2, it stops and asks for the location of the kickstart file.
Should my kickstart file be under /tftpboot folder or under nsf share? Are there options about the location of your kickstart files?

I have copied all the directory structure directory under /mnt/nfs folder.
In my /etc/exports I have exported like
/mnt/nfs   *(ro)
Should I have norootsquash option?  Is that the problem?
In my config file /tftpboot/pxelinux.cfg/C0000000
I have option
kernel centos5.5/vmlinuz
append initrd=centos5.5/initrd.img ks=nfs://192.168.0.254:/mnt/nfs/ks.cfg ksdevice=link

I have no special configuration for nfs in my DHCP.  My kickstart file resides in /mnt/nfs/ folder root, the same place where the root level directories of CentOS DVD's reside.

What am I doing wrong?
0
Comment
Question by:farzanj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 11

Accepted Solution

by:
jgiordano earned 1500 total points
ID: 33655554
There is a problem with nfs, kickstart and some switches when running gig auto.

I would make sure the ip address gets assigned to the host and is pingable. If that works the ip is assigned and your initial config is good. Then if possible move the kickstart file to an http location instead of nfs.
0
 
LVL 31

Author Comment

by:farzanj
ID: 33655639
There is no firewall.  Hosts are not only pingable but tftp ran fine.  No ports are blocked.  It appears it is not accessing the Kickstart file right.
0
 
LVL 11

Expert Comment

by:jgiordano
ID: 33656493
try putting the kickstart file on an http server

there are multiple bugs with similar issues -

https://bugzilla.redhat.com/show_bug.cgi?id=109324
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
LVL 31

Author Comment

by:farzanj
ID: 33657191
Hi jgiordano,
I have read this bug report in detail.  It doesn't appear to be relevant at all.  My installing machine doesn't find the kickstart file over NFS at all whereas it is at least finding the the file.

Second, how would it locate where to get the packages from.  Whether it is NFS or FTP or HTTP, I need to know where does it pull packages from over the internet?
0
 
LVL 11

Expert Comment

by:jgiordano
ID: 33657230
It could be you aren't finding the kickstart file over nfs because it could be a bug related to the network speed and driver. Move it to another type of network card, or a different method and see if that resolves tge issue.


Secondly you need to share tge source install files via nfs, http or FTP.
0
 
LVL 31

Author Closing Comment

by:farzanj
ID: 33665303
Thanks a lot for your help.  I think I was messing up only the syntax and I when I corrected, I was able to install without a problem using NFS.
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question