AvANa-BBS / freepto-lb

Encrypted GNU/Linux OS (based on Debian Wheezy) which can be installed on USB flash drive. Freepto is designed for encrypt your communications, carry your documents in secure way and save your anonymity.
http://www.freepto.mx/
44 stars 13 forks source link

Auto replication #76

Open boyska opened 11 years ago

boyska commented 11 years ago

From a freepto, it should be easy to create another one.

boyska commented 11 years ago

It should be enough to make something similar to

(dd if=$src bs=1 count=1048576; dd if=${src}1) > $dest

where $src is the source device, $dest is the destination one and 1048576 is just 2048*512

2048 is the typical start sector of the first partition; 512 is the typical sector size. This can be read by fdisk -l.

boyska commented 10 years ago

also

parted /dev/sdX unit b print | awk '{ print $3 }' | grep -A1 End | tail -n1

will get the number of bytes to copy from /dev/sdX . It will probably be cleaner using python-parted

ghost commented 10 years ago

moved to v1.1

ghost commented 9 years ago

Who is working on it?

boyska commented 9 years ago

@paskao has something to show about it. yay!