dd writing to an SDHC /dev/mmcblk0
Bug #975305 reported by
Michael Cook
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
U12.04 beta 2 on 64-bit T420 Laptop.
Command 1: sudo dd if=./mmcblk0p1.bin of=/dev/mmcblk0p1 bs=10M
Command 2: sudo dd if=./mmcblk0.bin of=/dev/mmcblk0 bs=10M
Either command seems to hang, not start copying anything to /dev/mmcblk0.
The dd command copies from the SDHC at 10Mbps.
(Could not test in 10.10,11.10 as SDHC cards were not recognised by the system.)
Should this work, is the command issue missing a parameter or is there another way to clone an SDHC.
Other guides online seem to reference /dev/sd* but the device is not appearing like this, instead it appears as /dev/mmc* which is mountable and usable once mounted.
affects: | ubuntu → nautilus (Ubuntu) |
tags: | added: precise |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
To post a comment you must log in.
Please give us some more information; can you include:
1) The output of the dmesg command after you've issued one of these dd commands and waited
a few seconds?
2) Information on the make/model/capacity of the SD card you are using.
I think the command should work, however be aware that SD cards are often much slower writing than reading (and can be quite fussy).
Also, make sure that the SD card is not mounted at the time that you issue these commands; finally if you do command (2) that will change your partition on the SD card, and if you've done that it's probably a good idea to take it out and put it back in afterwards before doing command 1 to make sure the kernel notices.
Generally USB sdcard readers appear as /dev/sd* hence the probable reason some of the examples say that.