You can take an image of the partitions without opening the device, adding the dd lines in rcS, before partitions are mounted. Not sure if the space will be enough. You could try to dump it to the rescue partition.
You can also try to add bs=1M to the dd command, and use a slowest compression, like gzip -9 or bzip.
Last edited by Lucas Malor; 07-03-2014 at 04:38 AM.
|