Changes between Version 31 and Version 32 of provisioning
- Timestamp:
- 02/06/2025 07:02:16 PM (2 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
provisioning
v31 v32 49 49 # create a tarball of the partition 50 50 mount /dev/mmcblk2p1 /mnt 51 tar --numeric-owner -cJf /tmp/mmcblk2p1.tar.xz -C /mnt . 52 }}} 51 tar --numeric-owner -czf /tmp/mmcblk2p1.tar.gz -C /mnt . 52 }}} 53 - Note you can use other forms of compression here other than 'z' for gzip but the trade-off of compression time vs size may not be worth the wait 53 54 54 55 You will either need to store this on a mounted removable storage device partition or store to ramdisk (as above) and transfer them via network. If the compressed data exceeds the size of the ramdisk you will need to go straight to removable storage. … … 69 70 mount /dev/mmcblk2p1 /mnt 70 71 # extract the tarball to it 71 tar -C /mnt -xf /tmp/mmcblk2p1.tar. xz --keep-directory-symlink72 tar -C /mnt -xf /tmp/mmcblk2p1.tar.gz --keep-directory-symlink 72 73 # unmount it 73 74 umount /dev/mmcblk2p1