I am currently running out of an 8GB SD Card, I need to copy the drive to a 16GB SD Card.
dd
from my research clones the partitions and the boot sector, etc.
The 8GB drive is encrypted, how do I cater for this and the drive being cloned /
copied is in use, how do I deal with that so that any copy is exact and is their a verify setting?.
So far, the disk util says:
Ext2 (version 1.0) — Mounted at /boot
The /boot contains /dev/sda1, /dev/sda2 and s/dev/da5 and another partition /dev/mapper/sda5_crypt
I want it cloned to the 16GB SD Card which will need to be formatted as its W95 type fat table, states its read only, not sure why that is as it is definitely writable as it was in my camera up to a week ago.
Currently I have the following command:
dd if=/dev/sda of=/dev/sda conv=noerror,sync
Am I right that this will copy the entire disk with the sda2 et al partitions over to the drive that a fresh sda will be created?
** EDIT **
PROBLEM SOLVED
Just to let you know, the HDD died today, its not even spinning and made a god awful squeal, rebooted to find I can't enter BIOS until the HDD has been detected, Nice one AMI, way to go with that kind of programming...