image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old October 12th, 2002, 12:51 PM
Registered User
 
Join Date: Aug 2002
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Woolwich is on a distinguished road
Question How do I copy entire Hard Drive?

I want to copy a Mac OS X 10.2 startup disk. I get a message saying I can't as some items cannot be read. What to do?

In OS9 I could just copy the whole disk no problem. How can I do the same in X?

Thanks!
Reply With Quote
  #2  
Old October 12th, 2002, 01:09 PM
Ripcord's Avatar
Senior Lurker
 
Join Date: Aug 2001
Location: Bahston, MA
Posts: 1,151
Thanks: 0
Thanked 0 Times in 0 Posts
Ripcord is on a distinguished road
Hi Woolwich, welcome to the site.

Perform a search for, oh, "copy entire hard drive", or "bootable OSX", or something similar. There have been MANY posts on this, and it should be very easy to find a string with your exact question.

Ian
Reply With Quote
  #3  
Old October 12th, 2002, 07:42 PM
Satcomer's Avatar
In Geostationary Orbit
 
Join Date: Jul 2002
Location: Northern Virginia
Posts: 5,454
Thanks: 5
Thanked 48 Times in 46 Posts
Satcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the rough
Lightbulb Did you try ...

I use a program called Carbon Copy Cloner. It copies everything (even to Firewire hard drive) and it makes it even bootable. You can find it on versiontracker.

http://www.versiontracker.com/morein...d=13260&db=mac
Reply With Quote
  #4  
Old October 13th, 2002, 05:55 AM
Registered User
 
Join Date: Aug 2002
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Woolwich is on a distinguished road
Thanks. I had looked at CCC but it says it doesn't copy over a network....

Here's my problem. I have a PB G3 266 Wallstreet. I want to save the hard disk before messing with it. I have a Firewire disk with space to do this to. I'm connecting via a crossover ethernet to my iBook which has a Firewire disk connection. (The PB having no Firewire...)

So it loks like I'd have to learn all the command lline stuff to do this.

Wasn't OS9 better... ;-)
Reply With Quote
  #5  
Old October 13th, 2002, 01:54 PM
Rhino_G3's Avatar
Registered User
 
Join Date: Oct 2001
Location: Lyons, KS
Posts: 844
Thanks: 0
Thanked 0 Times in 0 Posts
Rhino_G3 is on a distinguished road
it's possilbe in OS X but as he said, it's been discussed at length before. I'll try to find the name of the CLI app for you. Maybe somebody else knows off the top of their head?
Reply With Quote
  #6  
Old October 14th, 2002, 05:07 PM
Registered User
 
Join Date: Oct 2002
Posts: 281
Thanks: 0
Thanked 0 Times in 0 Posts
pedz is on a distinguished road
I discovered hfspax at this URL:

http://www.versiontracker.com/morein...d=11144&db=mac

There is a reference to it on this site which may have some info that I forgot to repeat here.

It is pax modified to grock resource forks and finder information. pax is cool.

To do this across the network, what is needed (and so far only hfspax provides it) is a way to send everthing out a pipe on one side and restore it on the other side. Both sides need to be run as root. Thats why nothing else works is because on the other side or the link, ditto and other programs can not set permissions, users, groups, etc. At least not with the normal afs mount that I have been using.

So what I did is use hfspax to make a back up of each directory starting in root. I did this because if hfspax fails somewhere, (like all the other programs do), I don't have to start back over from scratch each time. I also made a 'root.pax" for the flat items in root. So the steps go something like this:

Assuming that you are root in / and hfspax is somewhere in your path. I actually put this into a script. I did NOT backup "/Volumes" since that is the stuff mounted on the network.

So it goes like this:

ls | while read f; do file "$f" ; done | egrep -v directory | sed -e 's/: .*//' | hfspax -w -x cpio -f <destdir>/root.pax

ls | while read f ; do file "$f" ; done | egrep directory | sed -e 's/: //' | egrep -v Volumes | hfspax -w -x cpio -f <destdir>/"$f".pax "$f"

In brief, these commands, 1) list /, 2) run "file" on each thing in /, 3) filter out "directory" or in the second version pass only directories, 4) the sed strips everything that "file" adds in which starts with a colon space (this assumes no files have that in their names) 5) remove "Volumes" from the list of directories, 6) run hfspax. -w says create an output file, -f is where to put it, -x cpio says use the cpio option (comments say that this is the only one that works), last "$f" is what to copy. Notice the first line has no "$f" so it reads the files from stdin.

This assumes that destdir is mounted probably in /Volumes as a remote file system on the machine that you are trying to get the data to.

Then on the other side (the machine you sent the data to) you can restore things doing something like

hfspax -r -f root.pax
etc

(again, you have to be root to do both of these to get the Unix user, group, and file modes correct. I assume the finder is fine with all this crap. I did a small test and it seemed to work fine. I have not completed my bigger test yet.

Good luck,
Reply With Quote
  #7  
Old October 14th, 2002, 08:12 PM
brianleahy's Avatar
Colonel Panic
 
Join Date: Sep 2000
Location: Northern Ohio
Posts: 1,579
Thanks: 0
Thanked 0 Times in 0 Posts
brianleahy is on a distinguished road
I would think you could use Disk Copy and make a .dmg of your whole hard drive.

Just fire up Disk Copy and choose File/New/Image from Device
__________________
OS X 10.4
G5 Dual 2GHZ / 160GB / 1GB RAM / Superdrive
Apple 20" Cinema Display
SmartDrive 120GB Firewire HD
Maxtor 250GB SATA


Visit my wife's eBay store !!

http://stores.ebay.com/Catchy-Creations-by-brendaonline

Now pining for a MacBook Pro...
Reply With Quote
  #8  
Old October 14th, 2002, 09:14 PM
Registered User
 
Join Date: Jun 2002
Posts: 349
Thanks: 0
Thanked 0 Times in 0 Posts
cabbage is on a distinguished road
Dantz Retrospect
http://www.dantz.com
__________________
~Cabbage
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a second internal hard drive wildchild Hardware & Peripherals 4 September 7th, 2003 01:42 AM
OSX Froze, hard reboot, now the drive won't mount Fahrvergnuugen Mac OS X System & Mac Software 3 April 1st, 2002 04:43 PM
Auto-sleep hard drive? ElDiabloConCaca Apple News, Rumors & Discussion 3 February 27th, 2002 09:01 AM
Powerbook hard drive solutions...? The Madhatter Apple News, Rumors & Discussion 5 December 27th, 2001 04:28 AM
share points on second hard drive meancode Mac OS X System & Mac Software 3 December 4th, 2001 09:42 PM


All times are GMT -5. The time now is 08:11 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.