Reply To: Netwotk boot of max2play ?

Max2Play Home Forums Max2Play Development (Ideas, Wishes) Netwotk boot of max2play ? Reply To: Netwotk boot of max2play ?

11. April 2017 at 17:54 #28108

sorry, but I do not get logfiles, because I can#t access the pi anymore before it stops working.

I just can see a only a few wanrings on the monitor connected to the pi.

What I have done so far is

modified cmdline.txt:
root=/dev/nfs rootfstype=nfs nfsroot=192.168.1.104:/nfs-server/max2play,udp,vers=3 smsc95xx.turbo_mode=N rw ip=dhcp rootwait elevator=deadline init=/bin/systemd

tried that with and without init=/bin/systemd as discussed in a forum.

removed sd card mounts in fstab:

# proc            /proc           proc    defaults          0       0
# /dev/mmcblk0p1  /boot           vfat    defaults          0       2
# /dev/mmcblk0p2  /               ext4    defaults,noatime  0       1

proc /proc proc defaults 0 0
# /dev/mmcblk0p1 /boot vfat defaults 0 2
# /dev/mmcblk0p2 / ext4 defaults,noatime 0 1
tmpfs /tmp tmpfs defaults,noatime,nosuid,size=200m 0 0
tmpfs /var/tmp tmpfs defaults,noatime,nosuid,size=60m 0 0
tmpfs /var/log tmpfs defaults,noatime,nosuid,mode=0755,size=200m 0 0
tmpfs /var/run tmpfs defaults,noatime,nosuid,mode=0755,size=20m 0 0

##USERMOUNT
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

on nfs server side a made a copy with rsync of the / (root partition) to my nfs server.
So this nfs mount is booting, but not working.

Maybe you can make a simple test with one of your nfs server by your own?

Would be a great feature to have at least the root file system on a central server.
With Pi3 you can even boot without any SD card inside with a simple tftp boot server, which was quite simple.
Mine is running as a VM within a (Citrix) XEN server. I take snapshots within a second of all of my pi installations or automaticly backup (rotating) the complete OS of all my raspis.

kind regards
Michael