I have to copy my SD card to my hard-drive. I know that I have to mount and unmount it, but the following line doesn't work:
dd if=/media/oneiric of=~/sd-card-copy.img
That was my first try, but then I found out that I have to unmount my card and select /dev/sdX. The problem is that the command fdisk -l isn't showing anything. Nothing happens and therefore I can't copy my files.
How can I fix this?
sudo fdisk -linstead. – hmayag May 23 '13 at 13:23ok so this works now. But how do i know now which of the devices my sd-Card is. I umounted it and i dont recognize any difference
– Adi May 23 '13 at 13:29sudo blkidwill list all your devices, their identifiers, and labels, e.g./dev/sdc1: SEC_TYPE="msdos" LABEL="FooBarBaz" UUID="1234-1234" TYPE="vfat". That should give you some indication - the above you would see if you named your cardFooBarBaz, and it would be at /dev/sdc1 . I'd probably copy the whole disk (/dev/sdchere) instead of just the first partition (/dev/sdc1). – Piskvor left the building May 23 '13 at 13:50