[Arm-dev] making a .img from a mSD card

Robert Moskowitz rgm at htt-consult.com
Tue Dec 29 13:43:40 UTC 2015


So I looked at the dd manpage.  The dd of the Cubietruck image to mSD 
reports:

3072+0 records in
3072+0 records out
3221225472 bytes (3.2 GB) copied, 363.872 s, 8.9 MB/s

So it would seem the following should work, given that I have not 
changed the partition size(s):

dd if=/dev/sdb of=base.img count=3072 bs=1M


On 12/29/2015 05:46 AM, Robert Moskowitz wrote:
>
>
> On 12/29/2015 12:49 AM, Mandar Joshi wrote:
>>> Can some one point me to where I can find how to do this?
>>>
>> If you are talking about the time it takes to write an image to a
>> card, I think you should be looking at the block size option with dd.
>> dd if=image.img of=/dev/sdb bs=1M
>
> And how do I go the other way that only takes to the end of sdb3, not 
> the whole card?
>
>> I use 1M because it works flawlessly with my card writer. I had done a
>> google search for it and found a recommendation of 4k. But 1M works
>> for me, so I've stuck to 1M for now.
>>
>>
>> Regards
>> Mandar Joshi
>> _______________________________________________
>> Arm-dev mailing list
>> Arm-dev at centos.org
>> https://lists.centos.org/mailman/listinfo/arm-dev
>>
>
> _______________________________________________
> Arm-dev mailing list
> Arm-dev at centos.org
> https://lists.centos.org/mailman/listinfo/arm-dev
>



More information about the Arm-dev mailing list