piserver
piserver copied to clipboard
Installing a new custom OS
Hi Guys,
I have a PI 3+ B from where I want to export a template to be used by all PIs in my lab environment. What would be correct procedure to import it to Pi Server as a tar.xz file? Do I only have to compress an exported img file into tar.xz, then install it? The plan I'm going to try is: 1 . Export the SD card into IMG using DD; 2. Compress the IMG file into tar.xz 3. Install the new tar.xz file into PI Server.
Any input is highly appreciated.
Cheers,
Sdnei
Is your custom OS already capable of using a read-only root file system? As in, if you add "ro" to the list of options in cmdline.txt, and boot it from SD card, everything works as you want it to be?
Hi Maxnet,
Thanks for your reply.
My OS is capable of using a read-only FS:
more /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=ye s rootwait quiet splash plymouth.ignore-serial-consoles usbhid.mousepoll=0 ro
I'm now testing the proposed steps at https://github.com/raspberrypi/piserver/issues/28 and will post the results.
Cheers