LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need some more help with 'dd' (https://www.linuxquestions.org/questions/linux-newbie-8/need-some-more-help-with-dd-778471/)

mbzn 12-28-2009 09:05 AM

Need some more help with 'dd'
 
Hi there,

I'm trying to copy a (seems to be protected) SD card with GPS-maps on it.
Reason being is that my current original SD card is out of space.

I tried 'dd if=/dev/sdd1 of=tempimage'
and then 'dd if=tempimage of=/dev/sdd1' after inserting the other(larger) SD card.

When starting the GPS with the new card it says that no detailed maps are found.

How can i solve this?
Thanks in advance...

estabroo 12-28-2009 10:14 AM

Might just be a card incompatiblity, like trying to use sdhc in an sd slot, could also be the device can't handle the larger capacity card

PresGas 12-28-2009 11:12 AM

Have you tried copying from the actual device?
"dd if=/dev/sdd of=tempimage" (note I am not using the partition 1, but the whole device)

You will likely lose some space, but could probably resize it back with gparted.

malekmustaq 12-28-2009 12:08 PM

mbzn,

Only the "maps" are missing? what about the other files?

It appears that an "image" from an old (smaller) media, is of course copied block by block into a bigger media: note down that when it reaches into the second (bigger space) media it remained an "image" of a block device. So, I suggest, create a mount point; locate the image where and what name it is; then mount the copied image to a mount point. Clear the issues of permission, making sure you can execute the mounted folders. Thereafter you can browse into it.

Hope this helps.

Good luck.


All times are GMT -5. The time now is 11:15 PM.