Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Backup/Restore hda with a OSX and Gentoo partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Sun Jun 06, 2004 2:22 am    Post subject: Backup/Restore hda with a OSX and Gentoo partition Reply with quote

I like to backup (clone) my entire hard drive so if it fails I will be able to restore it to another drive of the same size or larger. Is there a OSX or Linux program that can do this?
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Sun Jun 06, 2004 2:51 am    Post subject: Reply with quote

dd

works great, can use from OSX, Linux, etc. I would suggest if you do it with dd to boot from alternate media (live cd) and don't mount the drive as it's probably best to capture it in a clean state and not hot while it's in use.

dd if=/dev/hda of=/mnt/otherdrive/mydrive.ddimage

That should be enough to give you a raw image.. there are a lot of things you can do with it so I reccomend reading up on it a bit before jumping in ;)
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Sun Jun 06, 2004 3:25 am    Post subject: Reply with quote

Can I divide .ddimage into sections so I can then copy to cd's instead of doing a direct copy to another drive (that I do not have at this time)?
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Mon Jun 07, 2004 5:04 pm    Post subject: Reply with quote

It is possible to do that with the split command in CLI ... but you will need even more space in order to do that as you would have to generate the whole image, and then split it into pieces.

Any way you look at it you will likely need a different drive with quite a bit of space to do what you are trying to accomplish :/
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Mon Jun 07, 2004 7:43 pm    Post subject: Reply with quote

Thanks for the info.
Back to top
View user's profile Send private message
GJSchaller
n00b
n00b


Joined: 29 May 2003
Posts: 47
Location: Valhalla, NY

PostPosted: Tue Jun 08, 2004 5:23 pm    Post subject: Reply with quote

I'm looking for something similar - here's my setup...

I have a blueberry iMac that I am turning into a Web Server. It will be entirely Gentoo, and not have any Mac OS on it any more.

I'd like to be able to boot from a CD or other external device and then clone the entire HD as one image to an alternate media source, either across the network or onto an external USB device (Network preferred, I think the iMac is pre-USB2). That way, if there is a media faiulre, it can be restored immediatley and easily.

I've got several Windows PCs on the network, and possibly a Mac as well... basically, I am looking to "Ghost" my Mac, similar to as if I was using the Norton Ghost utility on a PC. (I know Ghost will handle ext3, but that I know of there is not a Mac version.)
_________________
Geoffrey J. Schaller
gjschaller(at)psi-13(dot)com
"Bang." -Spike, Cowboy Bebop
Back to top
View user's profile Send private message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Wed Jun 09, 2004 4:07 pm    Post subject: Reply with quote

i have a reason to do this, and a very rgave one.

my ibook (2.2 g3) lost its combo drive (cant burn cds) and the firewire port stopped working as well.

i have osx on a 14 gb partition, and linux on a couple other partiotions, taking up the rest of the space.

i have a new iMac, and it has an external drive, firewire, with plenty of room to spare.

the problem is, that i have had lots of trouble connecting the computers, with ethernet.

when i set up the ibook (have only dialup, so i self assign addresses) with ifconfig, with say 192.168.0.1 for an ip, and then tell the computer running os x (10.3) in network preferences to take anotherr random ip, say 192.168.0.2, and then when i ping them, first using the ibook, and then terminal in the imac, it says "network unreachable".

so i cannot connect.

but even if i could, how could i get the ibooks hd to be dd'd onto the external drive?

would i lose evrything else on the external drive?

killfire
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Wed Jun 09, 2004 7:48 pm    Post subject: Reply with quote

'dd' is typically used to make a 'raw' image of your hd... so, you can only use it to restore it to the same (or a bigger) hd. Why do you want to backup the iBook ? for what kind of use ?

Personally, if i have to backup a whole linux system, i would boot from a liveCD, then mount the different partitions like on /mnt/home... and then do a tar-bzip, or a tar-gzip... that way, you only backup the data, and you can restore it to any partition with any file system, as long as the partition is big enough.

I don't know about an application to backup the OSX data though...

For the ethernet connection... are you sure you used a 'crossover' cable to connect both computers together ?

edit: about how to get the data from one computer to the other.. you could do an nfs export on the other one, mount the nfs export on the ibook, and then backup in whatever way you want to that
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Thu Jun 10, 2004 10:42 pm    Post subject: Reply with quote

Can partimage be use to "ghost" my ppc gentoo partition, I see it being use for x86.

Code:

emerge partimage
all ebuilds that could satisfy "partimage" have been masked

 

I am wondering will I be able to boot from the System Rescue CD
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Fri Jun 11, 2004 7:51 am    Post subject: Reply with quote

hmm.... a little surfing to http://www.partimage.org... very tiring, i know.. but what do we read there?

Quote:
PowerPC / iMac is supported
Recent Partimage versions (0.6.0+ and recent 0.7.x) can be used on both intel i386+ and PowerPC architectures! Since there is a PPC version of Linux Mandrake, it's now easy to use Linux under PowerPC. The source code of partimage can be compiled. A static binary version of the executables, and a bootable CD-Rom are also provided to ease the use partimage under iMac.


support for UFS and HFS is in beta.
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Fri Jun 11, 2004 3:42 pm    Post subject: Reply with quote

Was there but did not see it , thanks for digging out the info.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum