LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Create SD Card image (https://www.linuxquestions.org/questions/linux-newbie-8/create-sd-card-image-732898/)

LubeckTech 06-14-2009 04:07 PM

Create SD Card image
 
I have a SD card image (.img) file that I downloaded. How do I install it to a SD card using Ubuntu? I am new to linux so please take this into consideration if you answer.

Thanks.

acid_kewpie 06-14-2009 04:52 PM

you should just be able to dd it on.

dd if=/home/user/mysdcard.img of=/dev/sdb

assuming your sd IS at /dev/sdb

LubeckTech 06-14-2009 09:50 PM

That worked Thanks!

marginal 07-17-2011 07:51 AM

?
 
Hi acid_kewpie.

Could you please tell me how to create an SD card image?

Regards.

TobiSGD 07-17-2011 08:02 AM

It is the same command, you only have to change the input and output files. Assuming that your SD-card is /dev/sdb it would be
Code:

dd if=/dev/sdb of=~/myimage

Larry Webb 07-17-2011 08:26 AM

Quote:

Originally Posted by marginal (Post 4417237)
Hi acid_kewpie.

Could you please tell me how to create an SD card image?

Regards.

If working from windows try Pen Drive

marginal 07-17-2011 01:35 PM

:-(
 
Thank you all people.

Unfortunately, while trying to copy an image of my SD Card, I did that on my backup partition and the files on my SD Card replaced all my backup files (over 400 GB of data).
I believe there's a way to revert that action, isn't there?

Thank you in advance :-).

TobiSGD 07-17-2011 01:39 PM

Overwritten data can't be reverted. Doing any action as root is very dangerous and you should think twice before doing it. You may have the chance to recover a part (depends on how much is overwritten) of that data with the program photorec, which is part of the testdisk-package.

marginal 07-17-2011 01:41 PM

Thank you ...


All times are GMT -5. The time now is 03:24 AM.