Tue Oct 22, 2013 6:44 pm
I decided 2.5 years ago that refracta was for me as I was doubtful about the future of remastersys so although I have been using SalineOS as my workhorse I have been using refracta to create installable ISO's.Bottom line: Of the 2 scripts, currently refractasnapshot is more evolved, more flexible, than saline-backup.
We'll drop this as you already have your own way of doing things and I understand what you say about "without needing the hard drive space to hold a copy of the partition." as that was my thoughts first of all but now I find I'm using clone partitions.To clone a partition, I'd just use rsync.
LABEL=data /home/user/data ntfs-3g defaults,uid=1000 0 0
Tue Oct 22, 2013 6:59 pm
Tue Oct 22, 2013 7:18 pm
Tue Oct 22, 2013 8:56 pm
Wed Oct 23, 2013 12:48 am
golinux wrote: Last I tried, I prepared partitions with labels and they were wiped during installation. Easy enough to relabel but a bit of a pain.
Wed Oct 23, 2013 1:51 am
Not guilty your honour, I've always used 20 GB partitions.Yeah, that install step is a scary proposition. I think it was brian who suggested (back during my LMDE usage) intentionally setting distinct/different partition sizes, in order to recognize them in the absence of labels being displayed. Thanks for that helpful suggestion, brian. It has served me well.
You done a great job on the web site friend.Been following this though most of it is over my head.
## Preserve labels set by users in GParted
if [ "$(ls /dev/disk/by-label)" != "" ]; then
LabelRoot=$(find /dev/disk/by-label/* -printf %f" "%l\\n | grep "$TargetPart" | awk '{print $1}' | sed -e 's|\\x20| |g')
fi
sleep 2
mke2fs -t ext4 /dev/$TargetPart
sleep 2
if [ "$LabelRoot" != "" ]; then
tune2fs -L "$LabelRoot" /dev/$TargetPart
fi
Wed Oct 23, 2013 3:02 pm
blkid -c /dev/null
-c cachefile
Read from cachefile instead of reading from the default cache file etc/blkid.tab. If you want to start
with a clean cache (i.e. don't report devices previously scanned but not necessarily available at this
time), specify /dev/null.
Thu Oct 24, 2013 7:34 am
That was my conclusion.Maybe it just gets stuck in memory and looks like it's still there when it isn't.
Thu Oct 24, 2013 9:51 am
Thu Oct 24, 2013 1:15 pm
rootfslabel=$(/sbin/blkid -c /dev/null -s LABEL
rootfslabel=$(/sbin/blkid -c /dev/null LABEL