LinuxQuestions.org
Register a domain and help support LQ
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, 11: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, 11:57 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,334

Rep: Reputation: 144Reputation: 144
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-09-2004, 12:15 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
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


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


All times are GMT -5. The time now is 11:06 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration