Solved

PXE Boot using NFS problem CentOS5.5

Posted on 2010-09-11
6
608 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 500 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

734 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