where 'if' is your source harddisk and 'of' is your new harddisk that will get the copy (the clone). 'bs' stands for blocksize and should be as large as possible to make the copying faster. 4096 (4k) is the default blocksize that most file systems use on their disks.
Dolly is a tool that clones disks that makes use of dd (made by a friend of mine when he studied at ETHZ):
http://www.cs.inf.ethz.ch/CoPs/patagonia/dolly.html
Andre
PS1 Your new disk should be the same size or larger as the disk you want to clone else this process won't work.
PS2 This is also implies your PC's are more or less composed of the same hardware, so that the kernel of one can also start on the clone.
PS3 Why buying expensive programs if Linux has all you need build in the box :-)
What do you experts use to clone one HD to another?
I've always used Ghost for my Windows HDs, but it doesn't seem to work with Linux.
I've looked at G4U and G4L on SourceForge, but they seem to need a "server".
I just want a straight forward (if there is such a thing) way to clone one Linux HD to another.
I hate loading the same SW on identical systems.
Thanks.
____________
D@H the greatest project in the world... a while from now!
where 'if' is your source harddisk and 'of' is your new harddisk that will get the copy (the clone). 'bs' stands for blocksize and should be as large as possible to make the copying faster. 4096 (4k) is the default blocksize that most file systems use on their disks.
Dolly is a tool that clones disks that makes use of dd (made by a friend of mine when he studied at ETHZ):
http://www.cs.inf.ethz.ch/CoPs/patagonia/dolly.html
Andre
PS1 Your new disk should be the same size or larger as the disk you want to clone else this process won't work.
PS2 This is also implies your PC's are more or less composed of the same hardware, so that the kernel of one can also start on the clone.
PS3 Why buying expensive programs if Linux has all you need build in the box :-)
What do you experts use to clone one HD to another?
I've always used Ghost for my Windows HDs, but it doesn't seem to work with Linux.
I've looked at G4U and G4L on SourceForge, but they seem to need a "server".
I just want a straight forward (if there is such a thing) way to clone one Linux HD to another.
where 'if' is your source harddisk and 'of' is your new harddisk that will get the copy (the clone). 'bs' stands for blocksize and should be as large as possible to make the copying faster. 4096 (4k) is the default blocksize that most file systems use on their disks.
Dolly is a tool that clones disks that makes use of dd (made by a friend of mine when he studied at ETHZ):
http://www.cs.inf.ethz.ch/CoPs/patagonia/dolly.html
Andre
PS1 Your new disk should be the same size or larger as the disk you want to clone else this process won't work.
PS2 This is also implies your PC's are more or less composed of the same hardware, so that the kernel of one can also start on the clone.
PS3 Why buying expensive programs if Linux has all you need build in the box :-)
Most of the cruncher drives I'm using are 8.4Gb. Should I partition to just 8Gb and leave an unformatted piece at the end to ensure the drive I'm cloning to will always be larger, even though just a few hundred Mb.
Most of the cruncher drives I'm using are 8.4Gb. Should I partition to just 8Gb and leave an unformatted piece at the end to ensure the drive I'm cloning to will always be larger, even though just a few hundred Mb.
Formatting before a dd is not needed. dd does an exact byte for byte raw copy of one disk to another. After the cloning, you can grow one of your existing file systems or make a new one in the extra space in case your clone disk is larger than the source disk.
Cheers
Andre
PS This is very useful as a rescue method as well since you can always play back the image you made of your disk. If you compress your image using gzip or bzip2 you can easily store it somewhere (other disk, cd, dvd, etc)
____________
D@H the greatest project in the world... a while from now!
Most of the cruncher drives I'm using are 8.4Gb. Should I partition to just 8Gb and leave an unformatted piece at the end to ensure the drive I'm cloning to will always be larger, even though just a few hundred Mb.
Formatting before a dd is not needed. dd does an exact byte for byte raw copy of one disk to another. After the cloning, you can grow one of your existing file systems or make a new one in the extra space in case your clone disk is larger than the source disk.
Cheers
Andre
PS This is very useful as a rescue method as well since you can always play back the image you made of your disk. If you compress your image using gzip or bzip2 you can easily store it somewhere (other disk, cd, dvd, etc)
I was thinking of the original drive. If I make it 8Gb and leave slop, It should then fit on any of the other 8.4Gb drives if they do not have bad sectors.
I'll study up on dd........I've seen others refer to it as "disk destroyer".
I'll study up on dd........I've seen others refer to it as "disk destroyer".
I've been using it for years and never (cross my fingers) had a single problem with it. It's rescue tool number two in my toolkit after rsync that I use for my backups (disk-to-disk).
AK
____________
D@H the greatest project in the world... a while from now!