Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 10th, 2003, 08:19 AM
Ravster Ravster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 6 Ravster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Creating an Image

Heya.
I am searching for a way to create a complete image of a harddisk, together with the whole partition table and the master boot record. The harddrive got one Linux (running SuSE Linux 7.2) partition...a few other GB are not partitioned.

That might sound totally easy but I have searched a lot of pages and tried a lot of tools and couldn't get it to work. The whole process is relatively time-sensitive, so I cannot use the "dd" command because I don't have about 6 hours to wait for it to be completed.

1.6 GB of the 8 GB Linux Partition are in use...so a fast image solution where it only copies the used space would be the best.
12 GB are not partitioned (it's a 20 GB Harddrive).

Restoring the image should work on a totally unpartitioned raw-metal harddrive ... so just plug the image Harddisk in...boot from CD or a disk and run the image program.

I also tried a lot of Windows-based programs like Norton Ghost 2003 and Drive Image 2003 but all of them messed up the master boot record and the whole linux installation.

Either creating Image CDs (multiple ones most likely) or plugging the image Harddrive onto the secondary IDE is possible.

Hope one of you can help me out on that one.

Thanks,
Tom

Reply With Quote
  #2  
Old February 10th, 2003, 09:39 AM
Strike Strike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 383 Strike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 7
Send a message via ICQ to Strike Send a message via AIM to Strike Send a message via Yahoo to Strike
Well, if it isn't absolutely crucial that the storage format is identical to the image of the hard drive, then tar will do just fine.

If not, then the only (free) tool I know of that will do hard drive imaging is dd. However, you can specify how much it is to copy using the count= option. Something like:

dd if=/dev/hda of=hd-image bs=1024 count=2097152

That should copy 2GB, I think.
__________________
Debian - because life's too short for worrying.
Best. (Python.) IRC bot. ever.

Reply With Quote
  #3  
Old February 11th, 2003, 07:17 AM
Ravster Ravster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 6 Ravster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks Strike. I already tried with dd but didn't know that I can specify the size with count

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Creating an Image


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT