Re: how to create an image of your debian computer hard drive for cloning
- From: Hans Ekbrand <hans@xxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Sep 2008 23:14:30 +0200
On Tue, Sep 30, 2008 at 09:49:08PM +0200, Aniruddha wrote:
On Tue, 2008-09-30 at 14:18 -0400, David Clymer wrote:
On Tue, Sep 30, 2008 at 1:11 PM, Robert Robert <robertrobert93@xxxxxxxxx> wrote:
Dear All,
I was wondering how I could make a clone or image of my computer hard disk
that contains debian OS. I want to do this in order to make an exact copy to
another clean pc with no os at all. What complete free software can I use
for this ? Is there a manual some where on the net about this ?
I highly recommend Clonezilla-live. it makes cloning to/from any sort
of storage very simple. You can clone to an attached usb drive, to a
network drive via nfs, samba, or ssh. (http://www.clonezilla.org/)
Clonezilla uses partimage which I haven't found too reliable. I still
prefer to tar /. It works perfectly every time.
To tar / will not
- partition the disk
- make a partition bootable
- put the right files on the right partitions unless the partitions are
- created manually
- mounted at the correct mountpoints.
The OP mentioned a "clean pc with no os at all", which sounds much
like an unpartitioned disk, on which tar / will not work at all (since
there is no partitions and no filesystem to untar to).
If you can plug the hard disk of the "clean pc" into your existing
system, then I recommend dd. If you need to manually move the data
between the computers then partimaged is handier. If both computers
exists in a fast lan, I guess you could just
At source
- export / from the source over NFS
At target
- boot a live cd on the target,
- mount source.ip:/ /mnt
- dd if=/mnt/dev/sda (or whatever hard disk on source is) of=/dev/sda
(This tip is untested though).
--
Linux amin 2.6.18-4-486 #1 Mon Mar 26 16:39:10 UTC 2007 i586 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) <hans@xxxxxxxxxxxxxxxxx>
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: how to create an image of your debian computer hard drive for cloning
- From: Aniruddha
- Re: how to create an image of your debian computer hard drive for cloning
- From: elijah rutschman
- Re: how to create an image of your debian computer hard drive for cloning
- References:
- how to create an image of your debian computer hard drive for cloning
- From: Robert Robert
- Re: how to create an image of your debian computer hard drive for cloning
- From: David Clymer
- Re: how to create an image of your debian computer hard drive for cloning
- From: Aniruddha
- how to create an image of your debian computer hard drive for cloning
- Prev by Date: Re: Setting Multiple Shell Variables from One Run of awk
- Next by Date: Re: Setting Multiple Shell Variables from One Run of awk
- Previous by thread: Re: how to create an image of your debian computer hard drive for cloning
- Next by thread: Re: how to create an image of your debian computer hard drive for cloning
- Index(es):
Relevant Pages
|