LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-16-2010, 06:40 PM   #1
chuckycharms
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Rep: Reputation: 0
Need to create image, dd wont work...


Hello,

I have a flash card with a linux install on it. I would like to create an image of the drive. However when using dd it works, but the image is the same size as the card, 8gb, the data on the drive is maybe 800mb. I just want to image the data. Would anyone have any reccomendations?

Thanks!
 
Old 02-16-2010, 06:46 PM   #2
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
then mount the card and dd/tar the data
 
Old 02-16-2010, 06:46 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Try using Clonezilla, Parted Magic, or G4L.
 
Old 02-16-2010, 06:53 PM   #4
chuckycharms
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
thanks!

if I dd/tar the data, it wont keep the bootable partitions thought will it?
 
Old 02-16-2010, 08:59 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,199

Rep: Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358
Flash drives tend to have many issues with making it bootable. Normally one simply uses syslinux. Even if you dd or tar'd or cat'd over files you can always go back and syslinux it.

Or grub4dos or whatever.


See pendrivelinux.com also if you want to make more flash drives.


It might be that you will have to use other tools such as HP's tools to make a flash drive bootable.
 
Old 02-17-2010, 12:13 AM   #6
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Rep: Reputation: 15
ther is also this that may help possibly http://unetbootin.sourceforge.net/
 
Old 02-17-2010, 03:24 AM   #7
mpier
Member
 
Registered: Jan 2008
Location: Poland
Distribution: Slackware, Arch
Posts: 38

Rep: Reputation: 17
Dd is probably the simplest way. Only remember to overwrite free space with zeros (cat /dev/zero >zerofile; sync, rm zerofile) for simplify compression. Then you can use dd with gzip, bzip, or whatever you want: dd if=device | gzip >device.img.gz. The result will be so small as possible.
 
  


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
wireless driver wont install,ethernet wont work Reanimator Linux - Newbie 4 05-05-2008 08:22 AM
create image from a part of big image myrmidon Programming 3 07-11-2007 02:00 PM
not able to create an image.... os2 Linux - Software 2 08-31-2005 05:26 PM
NIC wont get IP after restoring image.. slug420 Linux - General 2 01-13-2005 07:18 AM
FALCONS EYE (nethack) FAILS ON STARTUP, use to work, wont work even after reinstall roorings Linux - Software 0 10-08-2003 10:39 PM


All times are GMT -5. The time now is 06:56 PM.

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