LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-08-2004, 10:00 PM   #1
burton
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Image a hard drive


I am trying to image my Hard Drive using a Knoppix boot CD, I executed the following command

dd if=/dev/hda - /mnt/remote_share/mypc_hda.img.

but it created and 20 GB Image, even though I only had 2 GB of the 20GB hard drive used. Is it possible to crreate an image simillar to ghost or PQDI that only captures the used sectors?
 
Old 04-08-2004, 10:57 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
dd will create an image of the entire drive, zero sectors and all. Try using partimage on the knoppix cd; it's included. Here's a short tutorial:

http://www.desktop-linux.net/backups.htm
 
Old 04-08-2004, 11:15 PM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
if you put gzip in the loop, the empty space should compress well. especially if you zero it first.
like
dd if=/dev/hda | gzip > filename.dd.gz
 
  


Reply



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
Make image of hard drive spondootre Linux - General 1 07-19-2005 03:33 PM
hard drive failing, how can I create an image of my drive? oily_rags SUSE / openSUSE 6 07-07-2005 02:19 PM
Hard Drive Image ...H2H pacer Linux - Software 1 12-14-2004 03:23 PM
Anyone know how to mount a hard drive image? redhatman Linux - Newbie 5 08-11-2004 04:41 PM
Hard drive image bkmesenbrink Linux - Newbie 7 06-21-2003 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:23 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
Open Source Consulting | Domain Registration