PXE / Netboot rpi3 recalbox
-
Ahhh i may have to recompile the kernel then. I thought nfs was default in 4.1?
I have done pxe a few times im a linux user not winBlows
/boot_root is the readonly recalbox file in the boot dir... im playing more today so ill post back if i get her running -
@chris-maughan Do you get any kernel error message when it should mount / ? The kernel option is the first error i thought of, but as I said, it's a vanilla 4.1 kernel (almost : just changed 2-3 options + patched some usbhid, so nothing linked to NFS)
-
Just say unable to mount none on /boot_root.. ill have a look at the kernel later
-
@chris-maughan @substring do you know the usb/mmc boot process call for the recalbox filesytem file called recalbox in /boot? Its not in the cmdline
Ta -
@chris-maughan we had a notice from NOOBS dev regarding the USB boot process, but haven't tried nor made anything inside recalbox to make it work. Other concerns to take care of before
Regarding the boot process, it's all based no the cmdline file : the
root=
specifies the device to be mounted as /, nothing more. Recalbox is made of 3 partitions : /, /boot and /recalbox/share. The latter is mounted during the init process depending on an external device, a network share or the internal SD. -
@substring ok thanks, ill play some more
-
@chris-maughan i've quickly read through https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/net_tutorial.md how does the fstab look line on your nfs server ?
-
my nfs mount is not mounted in fstab on the server its a real directory shared via /etc/exports
@substring yer i tried to fudge it a little with rasbian but of course this is not rasbian. ill have to extract the image and have some more play time
-
@chris-maughan If you ever succeed and feel like contributing to the wiki, i'd gladly review and test it
-
@ Substring ok coool. so at present netboot on the pi3 is a little hit and miss.
heres my fstab on the recalbox share
proc /proc proc defaults 0 0
devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
tmpfs /tmp tmpfs mode=1777 0 0
tmpfs /var tmpfs mode=1777 0 0
tmpfs /run tmpfs mode=1777 0 0
sysfs /sys sysfs defaults 0 0sometimes it takes the kernel sometimes it doesnt and then restarts the dhcp process then fails.
so far i have extracted the squashfs recalbox file to my nfs/root so in effect if/when i get it to weork the rootfs will be a shared folder on a server rather than a ram disk, soon as i get some time ill have another stab at it, but at the moment im at work.the reasoning behind me trying to do this. i would like to have multiple rpi3 running my recal box build but i want them to be exactly the same build. i know i could just copy the image to other cards but this is more fun/interesting