Native HF Tuning Functionally Tested on LimeSDR + Flash Drive

Its not so much as a miss reporting … as much as you don’t need to clone the entire flash drive … you only need to clone to the end of the partition. I’ll also add that if you have 30gig of un-used space in that partition – that too will be cloned (for no good reason).

When you have a desire to make a clone/image … used gparted (linux) to reduce the main operating partition down to a 10meg or more just above the data used-- or to at least 5% less than the target flash size. in reality – to speed things up … i always reduce the partition as much as i can including not using “swap space”. That way there is less to transfer.

This is a script that i use to clone my sdcard of Odroid-X2 (while its running on the odroid-x2 – nifty huh, clone a SDcard while its in use-- lol)

#!/bin/sh

#I do it directly on the odroid. Just insert a flash drive and use dd. This is the little script I use.

date format

NOW=$(date +“%F”)
NOWT=$(date +“%T”)

date
echo 3 > /proc/sys/vm/drop_caches
dd if=/dev/mmcblk0 conv=sync,noerror bs=1M count=25000 | pv | gzip -c > /media/odroid/545dba2d-7858-499d-ae63-cfe26e2bd3bb/Backups/backup-$NOW-$NOWT.img.gz
ls -s -h /media/odroid/545dba2d-7858-499d-ae63-cfe26e2bd3bb/Backups
echo 3 > /proc/sys/vm/drop_caches
date

#Substitute your values for “if=/dev/yoursdcard” and “> /media/mountpoint of your flash drive” The file #name is the date and time the backup started.

the part that is “count=25000” limits the size of the clone to 25gig

If your not familiar with linux … i can help to produce a DD command to do the clone – wish Sid Boyce (G3VBV i think) was on this forum … and now that iv said it, ill see if he is yet – i know he is getting a Limesdr too ( i think) – i usually bug him with my linux questions … also a Ham.

PS… i had to edit the post to fix some text issues … there is a “space” in front of any “#” to fix formatting

1 Like