farzanj
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/C00 00000
I have option
kernel centos5.5/vmlinuz
append initrd=centos5.5/initrd.im g ks=nfs://192.168.0.254:/mn t/nfs/ks.c fg 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?
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/C00
I have option
kernel centos5.5/vmlinuz
append initrd=centos5.5/initrd.im
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
there are multiple bugs with similar issues -
https://bugzilla.redhat.com/show_bug.cgi?id=109324
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?
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.
Secondly you need to share tge source install files via nfs, http or FTP.
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.
ASKER