Hi group !
I have a bunch of computers Linux, Windows , Solaris etc.
Are there any lightweight cd bootable distros which can clone the image of the HDD on an external storage and then I can clone it back later or on a different machine with same hardware ?
Regards Harsh Busa
None that I am aware of. But you have Norton Ghost / Partition Magic / Acronis tools
If I am not wrong, I think you just identified a new need-of-the-hour in the FOSS world.
Cheers,
Amol Hatwar
On May 13, 2010, at 11:56 AM, Harsh Busa wrote:
Hi group !
I have a bunch of computers Linux, Windows , Solaris etc.
Are there any lightweight cd bootable distros which can clone the image of the HDD on an external storage and then I can clone it back later or on a different machine with same hardware ?
Regards Harsh Busa
-- __________________________ http://harsh.busa.in/ -- http://mm.glug-bom.org/mailman/listinfo/linuxers
On Thu, May 13, 2010 at 11:56 AM, Harsh Busa harsh.busa@gmail.com wrote:
Hi group !
I have a bunch of computers Linux, Windows , Solaris etc.
Are there any lightweight cd bootable distros which can clone the image of the HDD on an external storage and then I can clone it back later or on a different machine with same hardware ?
By using the Command dd you can clone your harddisk and copy to another one, which will allow you to do low level copying and conversion of raw data. And you can find this command with most of the linux distros. Am not sure about whether dd will allow you to clone Windows and Solaris OS.
Refer : http://www.backuphowto.info/linux-backup-hard-disk-clone-dd
Regards Harsh Busa
-- __________________________ http://harsh.busa.in/ -- http://mm.glug-bom.org/mailman/listinfo/linuxers
On Thu, May 13, 2010 at 12:18 PM, Siji Sunny sijisunny@gmail.com wrote:
Am not sure about whether dd will allow you to clone Windows and Solaris OS.
IIRC, dd does not care about the content on the disk partition, it copies sector by sector (in case of source hdd) to the target.
-- Arun Khan
On Thursday 13 May 2010 12:29:35 Arun Khan wrote:
On Thu, May 13, 2010 at 12:18 PM, Siji Sunny sijisunny@gmail.com
wrote:
Am not sure about whether dd will allow you to clone Windows and Solaris OS.
IIRC, dd does not care about the content on the disk partition, it copies sector by sector (in case of source hdd) to the target.
Also cat is 3x faster than dd. Disadvantage of cat and dd is that blank sectors are also copied, and although bzip will crunch the empty space, reading and writing empty space is still a waste. Nonetheless both dd and cat are most useful.
On Thu, May 13, 2010 at 11:56 AM, Harsh Busa harsh.busa@gmail.com wrote:
Hi group !
I have a bunch of computers Linux, Windows , Solaris etc.
Are there any lightweight cd bootable distros which can clone the image of the HDD on an external storage and then I can clone it back later or on a different machine with same hardware ?
A similar requirement has been discussed on another list; please read the full thread here http://luni.org/pipermail/luni/2010-May/027470.html
There are several solutions - Clonezilla, Mondo/Mindi, G4L,
-- Arun Khan
On Thursday 13 May 2010 11:56:02 Harsh Busa wrote:
Hi group !
I have a bunch of computers Linux, Windows , Solaris etc.
Are there any lightweight cd bootable distros which can clone the image of the HDD on an external storage and then I can clone it back later or on a different machine with same hardware ?
cat /dev/sda >tmp/clonedisk tar -jcvf /tmp/clonedisk /bkp/clonedisk.bz2
This will give you an exact clone, bootloader,fs, secret sauce badsectors etc.
restore tar -zcvf /bkp/clonedisk.bz2 cat /bkp/clonedisk >/dev/sda
Caveat Emptor: disk sizes have to be the same
On Thursday 13 May 2010, jtd wrote:
cat /dev/sda >tmp/clonedisk tar -jcvf /tmp/clonedisk /bkp/clonedisk.bz2
Won't that overwrite /tmp/clonedisk? Did you mean:
tar -jcvf /bkp/clonedisk2 /tmp/clonedisk
Also, you have to be sure that /, /tmp and /bkp are mounted on separate partitions otherwise the backup will just end up trying to back itself up recursively.
Regards,
-- Raj
On Thursday 13 May 2010 14:34:41 Raj Mathur wrote:
On Thursday 13 May 2010, jtd wrote:
cat /dev/sda >tmp/clonedisk tar -jcvf /tmp/clonedisk /bkp/clonedisk.bz2
Won't that overwrite /tmp/clonedisk? Did you mean:
tar -jcvf /bkp/clonedisk2 /tmp/clonedisk
Arrgh. Sorry for the typo.
Also, you have to be sure that /, /tmp and /bkp are mounted on separate partitions otherwise the backup will just end up trying to back itself up recursively.
/tmp has to be on a different disk if he's cloning the disk.
But i am sure Harsh will figure out the minor details like booting from a different disk ( the reason for his live disk query), avoiding /proc and /dev etc.
On Thu, May 13, 2010 at 11:56 AM, Harsh Busa harsh.busa@gmail.com wrote:
Hi group !
I have a bunch of computers Linux, Windows , Solaris etc.
Are there any lightweight cd bootable distros which can clone the image of the HDD on an external storage and then I can clone it back later or on a different machine with same hardware ?
Regards Harsh Busa
systemrescuecd
There's a tool called partimage.
HTH
Vaibhav
Are there any lightweight cd bootable distros which can clone the image of the HDD on an external storage and then I can clone it back later or on a different machine with same hardware ?
I have used Clonezilla. Works great! It does Device to Device or create an image file on an external storage and restore it on another PC.
The only thing I could not crack is the MAC address issue. Even if I have 2 identical PC/Server, the MAC addresses are different. When I restore the image on a new Hardware & boot the OS, it finds a new MAC. This results in creating a new interface leading to problems with firewall and other 'eth' based scripts.
If anyone can throw any light on this, it would be of help.
I mostly work on CentOS.
Thx Vai
On Thu, May 13, 2010 at 8:09 PM, RSCL Mumbai rscl.mumbai@gmail.com wrote:
Are there any lightweight cd bootable distros which can clone the image of the HDD on an external storage and then I can clone it back later or on a different machine with same hardware ?
I have used Clonezilla. Works great! It does Device to Device or create an image file on an external storage and restore it on another PC.
The only thing I could not crack is the MAC address issue. Even if I have 2 identical PC/Server, the MAC addresses are different. When I restore the image on a new Hardware & boot the OS, it finds a new MAC. This results in creating a new interface leading to problems with firewall and other 'eth' based scripts.
If anyone can throw any light on this, it would be of help.
find /etc -type f -exec egrep -Hin eth0 {} ;
will identify the udev file in your system.
Edit the relevant lines and you can map eth0 to the new MAC address.
-- Arun Khan
On Thu, May 13, 2010 at 10:10 PM, Arun Khan knura9@gmail.com wrote:
On Thu, May 13, 2010 at 8:09 PM, RSCL Mumbai rscl.mumbai@gmail.com wrote:
Are there any lightweight cd bootable distros which can clone the image of the HDD on an external storage and then I can clone it back later or on a different machine with same hardware ?
I have used Clonezilla. Works great! It does Device to Device or create an image file on an external storage and restore it on another PC.
The only thing I could not crack is the MAC address issue. Even if I have 2 identical PC/Server, the MAC addresses are different. When I restore the image on a new Hardware & boot the OS, it finds a new
MAC.
This results in creating a new interface leading to problems with firewall and other 'eth' based scripts.
If anyone can throw any light on this, it would be of help.
find /etc -type f -exec egrep -Hin eth0 {} ;
will identify the udev file in your system.
Edit the relevant lines and you can map eth0 to the new MAC address.
-- Arun Khan
Thx Arun, but this can only be done after the OS has booted on the new h/w. And by then its too late. The new eth is already created.
Currently, I change the MAC address in: /etc/sysconfig/network-scripts/ifcfg-eth1 & /etc/udev/rules.d/xxxx (some file called persistent-net?? not sure of the exact name.)
Thats the best solution I have.
On Fri, May 14, 2010 at 10:05 PM, RSCL Mumbai rscl.mumbai@gmail.com wrote:
On Thu, May 13, 2010 at 10:10 PM, Arun Khan knura9@gmail.com wrote:
On Thu, May 13, 2010 at 8:09 PM, RSCL Mumbai rscl.mumbai@gmail.com
If anyone can throw any light on this, it would be of help.
find /etc -type f -exec egrep -Hin eth0 {} ;
will identify the udev file in your system.
Edit the relevant lines and you can map eth0 to the new MAC address.
Currently, I change the MAC address in: /etc/sysconfig/network-scripts/ifcfg-eth1 & /etc/udev/rules.d/xxxx (some file called persistent-net?? not sure of the exact name.)
I was referring to the persistent udev rules. I follow the KISS (Keep it Simple and Stupid) rule and make the change in one and only one place; the udev persistent rules.
I guess you are using a Fedora/RHEL distro, removing the MAC address line in ifcfg-eth* files should work after making the change in the udev persistent rule.
-- Arun Khan