Link to home
Start Free TrialLog in
Avatar of farzanj
farzanjFlag for Canada

asked on

PXE Boot using NFS problem CentOS5.5

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?
ASKER CERTIFIED SOLUTION
Avatar of jgiordano
jgiordano
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of farzanj

ASKER

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.
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
Avatar of farzanj

ASKER

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?
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.
Avatar of farzanj

ASKER

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.