Reply To: Netwotk boot of max2play ?

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

12. April 2017 at 14:54 #28169

Hi Mohammad

I don#t think that is a nfs server related issue. My debian jessie installations and even some Kodi installations are running well on my setup.

Even max2play is running. I can see max2play allready booting from nfs with my configuration created within max2play formerly on SD card.

Maybe some community member will try do this …
Here is some quik instruction:

On nfs server (mine is debian):
(m2p_image_241.img is image created with Win32DiskImager)

fdisk -l m2p_image_241.img

this will show partition start for offset calculation:

Disk m2p_image_241.img: 4025 MB, 4025483264 bytes
255 heads, 63 sectors/track, 489 cylinders, total 7862272 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x34e4b02c

             Device Boot      Start         End      Blocks   Id  System
m2p_balkon_241.img1            8192      131071       61440    c  W95 FAT32 (LBA)
m2p_balkon_241.img2          131072     7462272     3665600+  83  Linux
m2p_balkon_241.img3         7462273     7862271      199999+  83  Linux

root partition starts at 131072 * 512 = 67108864

mount -v -o loop,offset=<strong>67108864 </strong>m2p_image_241.img /mnt/m2p/

now make a full copy of sd card root partition to nfs server:

rsync -arv /mnt/m2p/ /nfs-server/max2play/

On NFS Server I made some export within /etc/exports:

/srv/nfs/jessie_light/ *(rw,sync,no_subtree_check,no_root_squash)
/nfs-server/pixel/    *(rw,sync,no_subtree_check,no_root_squash)
/tftpboot/22bddc11.elec *(rw,sync,no_subtree_check,no_root_squash)
/nfs-server/hifi.elec   *(rw,sync,no_subtree_check,no_root_squash)
/nfs-server/hifi.pix   *(rw,sync,no_subtree_check,no_root_squash)

/nfs-server/max2play *(rw,sync,no_subtree_check,no_root_squash)

and restarted nfs server

Configuration on max2play sd card s described above …
Now I can see the raspi booting and making a ping on it shows that he is there on network for quite some seconds.

Then he stops working, no reaction on keyboard a.s.o.

hope that was helpful

PS: hope this reply will not disappear again, got some problems on editing …