I tried to netboot an ubuntu using pxe, dhcp and tftp. as a summary, I copied all the / to /nfsroot/ and then configured the server dhcp and tftp. Now, the client can obtain IP (so dhcp seems to work properly) and tftp boots linux from server's /nfsroot. but in the boot process I can see some failures but as they go very fast! I can't read the messages. the system reaches the login (GUI login fails and tty1 login is showed) but the user/pass returns wrong login. I wanted to find the failed processes which must be the reason of login fail but nothing is written in /nfsroot/var/log
As I cannot login to the client system (even no ssh connections is accepted), no commands can be executed. I can access the /nfsroot filesystem from server. what should I do?
UPDATE:
I guess that the main problem is that the file system is not mounted correctly (nfs root, proc, sys, ...). I've checked /etc/exports and /etc/fstab but they seem to be correct. with no error/failure message, I cant find the problem. FYI, my /etc/exports is like this:
/nfsroot 192.168.2.0/24 (rw,no_root_squash,async,insecure,no_subtree_check
and /etc/fstab as follows:
192.168.2.50:/nfsroot / nfs auto,rw,nouser,exec,nolock,async,nofail,noatime,_netdev,ac,bg 0 0
none /tmp tmpfs defaults 0 0
tempfs /dev/shm tmpfs defaults 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0