[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Copy 2 partitions to .img file



Le 15680ième jour après Epoch,
Hélder Pinheiro écrivait:

> 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 try the seek= and/or skip= options of dd to create only one
.img file, but why not create 2 .img files?


Reply to: