On Thu, Dec 06, 2012 at 01:00:38PM +0000, Hélder Pinheiro wrote: > Hello all, > > I have a memory card with 16GB of size, but only 4GB are partitioned > through 2 partitions (sdb1 and 2). > > I want to copy the content of both partitions into a .img file, in order > to be able to flash it on another 4GB memory card.. > I tried with dd command, but I am only able to copy one partition each > time or the entire 16 GB. > > Could you help me copying only the two partitions? You COULD append the second partition to the first one, but then you have a problem of where does one partition end and the other finish? Why not make a separate image for each partition and then, if you really must have one file, tar them together?
Attachment:
signature.asc
Description: Digital signature