LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2009, 05:07 PM   #1
LubeckTech
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
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.
 
Old 06-14-2009, 05:52 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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
 
Old 06-14-2009, 10:50 PM   #3
LubeckTech
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
That worked Thanks!
 
Old 07-17-2011, 08:51 AM   #4
marginal
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Rep: Reputation: Disabled
?

Hi acid_kewpie.

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

Regards.

Last edited by marginal; 07-17-2011 at 08:53 AM.
 
Old 07-17-2011, 09:02 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
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
 
Old 07-17-2011, 09:26 AM   #6
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by marginal View Post
Hi acid_kewpie.

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

Regards.
If working from windows try Pen Drive
 
Old 07-17-2011, 02:35 PM   #7
marginal
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Rep: Reputation: Disabled
Question :-(

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 :-).
 
Old 07-17-2011, 02:39 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
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.
 
Old 07-17-2011, 02:41 PM   #9
marginal
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Rep: Reputation: Disabled
Thank you ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a cd-image of audio? lawrence_lee_lee Linux - Software 2 11-07-2008 05:59 AM
create image from a part of big image myrmidon Programming 3 07-11-2007 03:00 PM
How to create image using partimage ? m.parthiban Fedora 3 03-26-2006 07:59 AM
create an image using k3b Four Linux - Newbie 8 12-01-2005 02:13 AM
not able to create an image.... os2 Linux - Software 2 08-31-2005 06:26 PM


All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration