Pine64 Dead
#8
(08-17-2016, 09:52 AM)sdf_iain Wrote:
(08-14-2016, 06:33 PM)MarkHaysHarris777 Wrote: Another tip, you can backup the SD card by reversing the burn process.  Once I get my SD cards working the way I want them to I use the DD command to write the card back out to my image server.  If I blow a card I'm back up and running without a hitch in about twenty minutes.

I'm not sure I can write a card in 20 minutes, but I might do that.  

The way you do it in twenty minutes is by only writing what needs to be written. In addition to compressing, you also only write a 'smaller' partition size.  Before I store the card I use tar (via standard in standard out) to write the contents of the rootfs to a smaller partition size;  then I compress | DD that !

tar -cvf  -  -C  <directory>  <subdirectory>  | tar  -xvf  -

That command will pass the tar through stdin | stdout and will preserve all the permissions to boot. So you can put your 32Gb partition into a 6Gb space (or whatever) and not have to write out an entire 32Gb SD card.  

When you restore the card, you of course need to expand the partition size (either with lennyraposo's resize_rootfs.sh script , or with gparted )
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )


Messages In This Thread
Pine64 Dead - by sdf_iain - 08-11-2016, 06:37 PM
RE: Pine64 Dead - by pfeerick - 08-11-2016, 07:22 PM
RE: Pine64 Dead - by sdf_iain - 08-11-2016, 07:46 PM
RE: Pine64 Dead - by sdf_iain - 08-14-2016, 06:26 PM
RE: Pine64 Dead - by MarkHaysHarris777 - 08-14-2016, 06:33 PM
RE: Pine64 Dead - by pfeerick - 08-14-2016, 08:18 PM
RE: Pine64 Dead - by sdf_iain - 08-17-2016, 09:52 AM
RE: Pine64 Dead - by MarkHaysHarris777 - 08-17-2016, 12:17 PM
RE: Pine64 Dead - by pfeerick - 08-17-2016, 10:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question External storage problem for pine64 Dani6102 4 2,520 08-22-2023, 08:36 AM
Last Post: gulshan212
  Pine64 as wireless audio device S265 3 3,999 04-07-2022, 10:39 PM
Last Post: S265
  Pine64(+) and manjaro dsychan 0 1,421 04-05-2022, 11:32 PM
Last Post: dsychan
Thumbs Down Pine64 was a Useless Project pushpendrak 18 31,733 11-21-2020, 10:17 PM
Last Post: tllim
  Pine64 LCD rstcologne 0 3,406 09-22-2020, 12:43 PM
Last Post: rstcologne
  Pine64+ power button PaddyChan 0 3,079 09-14-2020, 09:55 AM
Last Post: PaddyChan
  Pine64 OS dpcons 2 5,397 03-02-2020, 04:32 PM
Last Post: dpcons
  Jailhouse supports Pine64+ vj-kumar 0 3,106 02-17-2020, 11:39 PM
Last Post: vj-kumar
  PINE64 board not powering up loki21century 2 6,171 11-25-2019, 12:19 PM
Last Post: Partymack711
  Pine64 not powering up. skylab 5 8,147 05-03-2019, 02:48 PM
Last Post: Mendota

Forum Jump:


Users browsing this thread: 1 Guest(s)