LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-22-2012, 12:16 PM   #16
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32

Quote:
Originally Posted by kyrunner View Post
If you install fog it will install nfs server pxe server then all you have to do is edit the pxe file in tftboot directory.

the iso that you see in the screen shot from the other thread they are netinstall.iso serach for netinstall centos or debian
so there is no way of net installing the standard live cd iso image for maybe a live session throuch pxe booting
and yes i have looked into the fog server option but there is way too much to go into for the installation process of fog as far as the astronomical amount of documentation there is. i will post my current /srv/tftp/pxelinux.cfg/default file and my /etc/exports file since nfs is what i think is causing the problem

also the /dev/nfs defice was not created when i installed nfs-kernel-server so i made it with this command
Code:
mknod /dev/nfs b 0 255
very little has changed from that point on but i will also post the error i have been getting (as pictures)
 
Old 04-22-2012, 12:37 PM   #17
kyrunner
LQ Newbie
 
Registered: Apr 2012
Location: New York
Distribution: Centos,Debian
Posts: 29

Rep: Reputation: 1
I sent you a email check it
 
Old 04-22-2012, 12:41 PM   #18
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
alright i just re-created everything and here are my config files and the error messages but first a few things to know
i ran these commands
Code:
mknod /dev/nfs b 0 255
chmod -R 777 /srv/tftp/ubuntu
chmod /dev/nfs b 0 255
and i also extracted the ubuntu livecd contents to this folder
Code:
/srv/tftp/ubuntu
and here are my config files

here is my /srv/tftp/pxelinux.cfg/default file
Code:
default vesamenu.c32
menu title PXE Boot server
label ubuntu
menu label ubuntu
kernel ubuntu/casper/vmlinuz
append boot=casper netboot=nfs nfsroot=192.168.1.2:/srv/tftp/ubuntu
initrd=ubuntu/casper/initrd.lz root=nfs
and here is the /etc/exports file
Code:
/srv/tftp/ubuntu	*(ro,async,no_root_squash,no_subtree_check)
and as for the error messages when i boot into pxe i get this one first
http://img803.imageshack.us/img803/5...eenshot3rw.png

and then after a few minutes i get this one
http://img16.imageshack.us/img16/3927/screenshot2rj.png

so this might give you a better idea as to what is going on here

Last edited by baronobeefdip; 04-22-2012 at 12:45 PM.
 
Old 04-22-2012, 12:47 PM   #19
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by kyrunner View Post
I sent you a email check it
that is no longer my email i have to change that soon, forgot is was there, my new email is carcrazy1102@gmail.com
 
Old 04-22-2012, 04:48 PM   #20
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
i think i found an alternative, i have read somewhere that some people have gotten it to work through HTTP instead of nfs, supposedly this is much simpler to setup and execute, i'll see if it works once i understand how to do it
 
Old 04-22-2012, 09:42 PM   #21
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
alright i staitened everything out, i found that the dhcp server wasn't working on the client side (it couldn't get an ip leased when i tried it in the operating system that was installed on the machine i planned on using as a client for the pxe server, now when i boot into the dhcp server from the client's bios i get a completely different ip address than the one i told it to assign in the dhcp server and as a result it can't reach the nfs server that has all of the live cd files on it and i am getting the message
Code:
NFS over TCP not availabel from <ip address>
 
Old 04-23-2012, 09:52 AM   #22
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
i found something that makes complete sense but this is just a hypothesis, i was able to get a peek at the address is obtained from the dhcp server and saw that it was a 172 address, this pretty much means that the dhcp server didn't assign the host an ip address so it reflect back as unreachable which makes 100% perfect sense. my problem now is trying to get it to lease an ip address, i don't see any problems with it, especially looking at the logs for the dhcp server and found no signs of error, it also works on clients that are booted into their operating systems and send dhcp requests. why isn't it working in the pxe client. any ideas?
 
Old 04-23-2012, 03:04 PM   #23
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
alright after experimenting with other distributions on the pxe and nfs sides, i am getting the same error i have been getting in the first place, i was trying it with debian dvd installation media and for some reason there is no cd that is being mounted with the nfs protocol in other words the installation process is not detecting a cd and therefore the cd media was never mounted, so what do you have to put into the /srv/tftp/pxelinux.cfg/default folder to get the contents of the nfs share to be mounted as a cd on the client, this was my original problem and i am still having issues since there is no mounting being done on the nfs side. so i have found so far that nfs works and the dhcp server is now leasing ip addresses like it's suppossed to and the errors i was getting before have now been solved but i still need it to mount the contents of the live cd on the client through nfs i really need some help on this one, i have researched some more on google and tunred up nothing
 
  


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
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
dhcp server and nfs problems sniff Linux - Networking 3 06-10-2007 06:50 AM
nfs problems with fc2 server and rhel/rh9 clients VMSlives Linux - Networking 0 03-16-2005 03:37 PM
Problems using Linux as an NFS server. mattingg Linux - Software 1 01-16-2004 03:05 AM
Problems with NFS on RH9 Server jjp001 Red Hat 2 09-23-2003 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:58 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