Networking Forums

Networking Forums > Computer Networking > Linux Networking > Hard Drive cloning tool in linux

Reply
Thread Tools Display Modes

Hard Drive cloning tool in linux

 
 
EL CID
Guest
Posts: n/a

 
      11-02-2005, 08:20 PM
Any good floppy bootable IMG / Cloning utility in linux?


i have tried the software called :

G4L works good, but the images it makes are huge due to the fact that
it clones sectors and bits. eg. a 40 gig drive = 40 gig image!


Norton ghosts clones just the data, and it doesnt matter how big the
drive is. Eg. you can clone from a 40 gig to a 20 gig, as long as the
data fits there, it will work.

Anyone recommends any other alternative? One thing i like about g4l is
the ability to clone the drive, and write it across the network to a
ftp server.

Please advise!
thanks guys!
 
Reply With Quote
 
 
 
 
Grant
Guest
Posts: n/a

 
      11-02-2005, 08:54 PM
On Wed, 02 Nov 2005 21:20:11 GMT, EL CID <(E-Mail Removed)> wrote:

>Anyone recommends any other alternative? One thing i like about g4l is
>the ability to clone the drive, and write it across the network to a
>ftp server.


Standard CLI tools: zero the free space on source drive, then pipe
image through gzip, the free space goes to virtually nothing.

Need a recipe?

Assume clone /dev/hda1:

read:
mount /dev/hda1 /mnt/hd
dd if=/dev/zero bs=4k of=/mnt/hd/all_zeroes
rm /mnt/hd/all_zeroes
umount /dev/hda1
dd if=/dev/ha1 | gzip > /somewhere/else/dev_hda1_image.gz

write:
zcat /somewhere/else/dev_hda1_image.gz | dd of=/dev/hda1

You can make a floppy boot disk, but a rescue CD would be easier.

Why seek special applications when unix toolbox approach does the job?

In unix, all devices are files. No special tools required, that's
ms-dos thinko... ;o)

Grant.
 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      11-02-2005, 09:15 PM
EL CID <(E-Mail Removed)> writes:

>Any good floppy bootable IMG / Cloning utility in linux?



>i have tried the software called :


>G4L works good, but the images it makes are huge due to the fact that
>it clones sectors and bits. eg. a 40 gig drive = 40 gig image!


A clone is exactly that. If you want a backup, use dump/restore, or tar, or
.....



>Norton ghosts clones just the data, and it doesnt matter how big the
>drive is. Eg. you can clone from a 40 gig to a 20 gig, as long as the
>data fits there, it will work.


So will tar or dump/restore, or rsync, or....


>Anyone recommends any other alternative? One thing i like about g4l is
>the ability to clone the drive, and write it across the network to a
>ftp server.


tar.


 
Reply With Quote
 
EL CID
Guest
Posts: n/a

 
      11-02-2005, 09:44 PM
Thanks guys!!!



On Wed, 02 Nov 2005 21:20:11 GMT, EL CID <(E-Mail Removed)> wrote:

>Any good floppy bootable IMG / Cloning utility in linux?
>
>
>i have tried the software called :
>
>G4L works good, but the images it makes are huge due to the fact that
>it clones sectors and bits. eg. a 40 gig drive = 40 gig image!
>
>
>Norton ghosts clones just the data, and it doesnt matter how big the
>drive is. Eg. you can clone from a 40 gig to a 20 gig, as long as the
>data fits there, it will work.
>
>Anyone recommends any other alternative? One thing i like about g4l is
>the ability to clone the drive, and write it across the network to a
>ftp server.
>
>Please advise!
>thanks guys!

 
Reply With Quote
 
Nate Bargmann
Guest
Posts: n/a

 
      11-09-2005, 02:14 AM
On Wed, 02 Nov 2005 21:20:11 +0000, EL CID wrote:

> Anyone recommends any other alternative? One thing i like about g4l is
> the ability to clone the drive, and write it across the network to a
> ftp server.


While definitely not a GUI way to do it, I've used rsync to transfer the
contents of one partition on one computer to a new partition on another
over the network. It will maintain permissions, symlinks, etc. I've done
it twice to upgrade laptops and my Debian installs went on just like they
had before.

I even used this trick to recover from a crashed hard drive that I could
mount Read Only under KNOPPIX and made a full recovery. I was fortunate
that the crash seemed to have occured in the swap partition.

- Nate >>

--

"The optimist proclaims that we live in the best of all possible worlds,
the pessimist fears this is true."

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Networked hard drive Evil Uncle Chris Wireless Internet 11 10-02-2006 06:55 AM
FS 10 GB9.55 mm Hard Drive ngcomp@ntlworld.com Home Networking 1 10-09-2005 05:49 PM
Hard drive cloning Mike W. Home Networking 8 04-30-2005 10:53 PM
putting linux in another hard drive in PC with XP box curious Linux Networking 7 02-05-2004 10:14 PM
Add hard drive Christopher Linux Networking 1 06-29-2003 10:37 PM



1 2 3 4 5 6 7 8 9 10 11