Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System clone from a HD to another.
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
nakan
n00b
n00b


Joined: 06 Jan 2005
Posts: 40
Location: Cugy - Vaud - Switzerland

PostPosted: Fri Jan 13, 2006 10:34 am    Post subject: System clone from a HD to another. Reply with quote

Hi,

I just plain to change my Harddisk on my iBook G4, from the 60 Gb 4200 to a 80 Gb 5400.

My question is how to keep my Gentoo installation. The best will be to find a Disk Image tool, like Ghost or TrueImage, but I think none of these products are available for Mac.

Or the second option is: is it possible to clone the disks by connecting the both to a PC (by USB) and use TrueImage or Ghost or other product ?

Thank you.
_________________
- iBook G4 12" 1.2Ghz 512Mb 60Go / Gentoo
- Custom PC P4 2.6 HT 1024Mb / RAID 160Go SATA / Gentoo
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Fri Jan 13, 2006 10:48 am    Post subject: Re: System clone from a HD to another. Reply with quote

nakan wrote:
My question is how to keep my Gentoo installation. The best will be to find a Disk Image tool, like Ghost or TrueImage, but I think none of these products are available for Mac.

The equivalent (or ancestor) of ghost on *nix is dd (see man dd) which can create a snapshot of the contents of a partition in a file or another partition; but if you don't have both disks in the same machine you need to carry the really big file on the other machine, and this seems difficult without an external hard disk. As for connecting the two machines via usb I've never tried.

Bye
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
nakan
n00b
n00b


Joined: 06 Jan 2005
Posts: 40
Location: Cugy - Vaud - Switzerland

PostPosted: Fri Jan 13, 2006 10:53 am    Post subject: Reply with quote

But if I can connect the replacement disk by USB (with external case) to the laptop and clone with dd, and change the disks after, right ?
_________________
- iBook G4 12" 1.2Ghz 512Mb 60Go / Gentoo
- Custom PC P4 2.6 HT 1024Mb / RAID 160Go SATA / Gentoo
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Fri Jan 13, 2006 10:59 am    Post subject: Reply with quote

nakan wrote:
But if I can connect the replacement disk by USB (with external case) to the laptop and clone with dd, and change the disks after, right ?

Yeah, that should be it. More or less:
Code:
dd if=/dev/disk1 of=/dev/disk2

but see the man for all the options

Bye
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
nakan
n00b
n00b


Joined: 06 Jan 2005
Posts: 40
Location: Cugy - Vaud - Switzerland

PostPosted: Fri Jan 13, 2006 11:01 am    Post subject: Reply with quote

Yes, I will read and do some tests before, because the new hard drive is bigger than the old one.

Thanks very much for the information...
_________________
- iBook G4 12" 1.2Ghz 512Mb 60Go / Gentoo
- Custom PC P4 2.6 HT 1024Mb / RAID 160Go SATA / Gentoo
Back to top
View user's profile Send private message
Fugee47
Apprentice
Apprentice


Joined: 25 Nov 2004
Posts: 196
Location: Germany

PostPosted: Fri Jan 13, 2006 12:13 pm    Post subject: Reply with quote

i have cloned a installation to a bigger harddisk another way:
i bootet the install-cdrom, partitoned the harddisk and then copied over the data with cp -A (i think it was -A)

that way the rights don`t get lost und you don`t have to change the size of the partitioon afterwards.
And it is easy to change the file-system if neccessary ....
Back to top
View user's profile Send private message
nakan
n00b
n00b


Joined: 06 Jan 2005
Posts: 40
Location: Cugy - Vaud - Switzerland

PostPosted: Wed Jan 18, 2006 10:44 am    Post subject: Reply with quote

I just discover this HOWTO:

http://gentoo-wiki.com/HOWTO_Custom_Stage4

I think it will be a good solution for me!
_________________
- iBook G4 12" 1.2Ghz 512Mb 60Go / Gentoo
- Custom PC P4 2.6 HT 1024Mb / RAID 160Go SATA / Gentoo
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1556
Location: Germany

PostPosted: Fri Jan 27, 2006 12:02 pm    Post subject: Reply with quote

Ferdinando wrote:
Code:
dd if=/dev/disk1 of=/dev/disk2
There are some posts claiming against this method with different drive architectures, which is mostly the case.
Also concerning fragmentation it should be safer to cp between existing file systems.
I am doing the same project at the moment. So first I create the partitions and filesystems (on a x86.). Then I will cp -a over NFS. Even HFS+ should be read- and writeable.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
nakan
n00b
n00b


Joined: 06 Jan 2005
Posts: 40
Location: Cugy - Vaud - Switzerland

PostPosted: Fri Jan 27, 2006 7:14 pm    Post subject: Reply with quote

I do the transfer of my old ibook hd to the new one. I wrote this doc (in french): http://www.nakan.ch/articles/article.php?id=6&no=all

I do the following:

Copying the partition table, by creating the same partitions size for /boot / and /home.
Copying data with dd on theses partitions
Copying data with cp -a on the other partitions
Cloning the Mac OS partition with the apple's utility.

Work fine.
_________________
- iBook G4 12" 1.2Ghz 512Mb 60Go / Gentoo
- Custom PC P4 2.6 HT 1024Mb / RAID 160Go SATA / Gentoo
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