Moode Forum

Full Version: I wonder....would this work...what use would it have ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
PXE boot moOde and dispense with sd-cards ??

So,    the Raspberry Pi site has this server boot software allowing an x86 device to serve selected o/s to any number of networked Pi sans sd card....
https://www.raspberrypi.org/blog/piserver/

and the configuration allows some stock o/s' ....Raspbian and Raspbian lite.....
[Image: software-500x389.png]
and an o/s can also be used from a local tar.xz file.....

Wiser minds than mine will know how to convert the moOde image  .... and especially the saved running moode image Wink ... to a tar.xz file...

Though this cloud service seems to be able to for a fee....
https://cloudconvert.com/create-tar.gz-archive

So if it all works as expected a central x86 server could start moOde on any Pi plugged in and switched on from the local network...?

Kent ???  comments ?
@DRONE7

Now we're talking enterprise (no, not the starship). In my past life and even more recently as a volunteer at a place which refurbishes donated laptops for low-income students, I've used PXE boot a lot where many machines had to be provisioned from a few, common releases.

I think only recent RPi models support PXE boot (the RPi4B doesn't yet but it's high on their ToDo list 'cuz of the importance to schools).

It's always been possible with an RPi to boot from the network although for some models it may require priming from a local uSD card.

I've thought about doing this with my RPis (especially with new moOde releases periodically spilling over the transom). Candidly, it takes a bit of fuss and bother that I wasn't willing to invest. Depending on the method, one may have to set up and administer DHCP, TFTP, and NFS services. By comparision, it's not been much bother to burn uSD cards. However, if the RPF's pi-server project has made it "so easy a caveman can do it" maybe I should look again. Certainly my NAS can handle the extra work.

I don't know how the performance would hold up with all my RPis running wirelessly.
[Added in post edit: now that I've time to reflect, I don't know how to implement PXE boot in a wireless environment.]

The technical answer is, sure this can be done in a wired environment---but you knew that Rolleyes

Regards,
Kent
Yes, they have made it rather easy to get up and running....
My only stumbling block is some linux hint as to how to convert .img to .xz to make the needed file to load at boot.
I will keep searching though I'm not sure I know what it is I'm looking for....;-)
(08-23-2019, 05:50 PM)DRONE7 Wrote: [ -> ]Yes, they have made it rather easy to get up and running....
My only stumbling block is some linux hint as to how to convert .img to .xz to make the needed file to load at boot.
I will keep searching though I'm not sure I know what it is I'm looking for....;-)

I haven't had time to read their material so this may be offkey, but xz is a general-purpose command line program for compressing files, similar to gzip, etc. I think it's available on most Linux distros. It's on my Linux Mint laptop and the moOde 6.1.0 host I just tried.

Try "man xz" on your moOde command line or look at  online tutorials like https://www.tecmint.com/xz-command-examples-in-linux/

Regards,
Kent
Thanks! I'm off to do the grocery shop but later today will backup running moode to an .img then compress to .xz and try loading using the Piserver...