piserver
piserver copied to clipboard
> > I want to PXE boot my pi's fully configured, one as a pihole, one for FlightRadar24, etc.
These instructions are failing for a number of reasons, including that bsdtar is not longer supported.
Does anyone have updated instructions?
sudo bash mkdir /tmp/mnt_boot /tmp/mnt_root mount -o ro /dev/sdX1 /tmp/mnt_boot mount -o ro /dev/sdX2 /tmp/mnt_root cd /tmp/mnt_boot bsdtar --numeric-owner --format gnutar --one-file-system -cpf ../boot.tar . cd /tmp/mnt_root bsdtar --numeric-owner --format gnutar --one-file-system -cpf ../root.tar . cd /tmp umount /tmp_mnt_boot umount /tmp_mnt_root xz boot.tar xz root.tar /var/lib/piserver/scripts/convert.sh boot.tar.xz root.tar.xz Your_custom_OS.tar.xz rm boot.tar.xz root.tar.xz
- The image you can import into piserver is now at /tmp/Your_custom_OS.tar.xz
This is failing as of now as pxz is not available on buster.
Originally posted by @FaberfoX in https://github.com/raspberrypi/piserver/issues/55#issuecomment-615567956
It seems you piserver is not up to date https://github.com/raspberrypi/piserver/commit/e05a84ab4042121f3f17ae819b360cf1a23ecfb0#diff-e924755d0840914bed401cc1c66b0f2f2fd0b5e399cd881dfd1e2c06a5bc31b7