1

I took a look at this thread but i am unsure if it best suits my needs. Using DD for disk cloning

I want to cleanly reformat a few machines. They have the same specs and from the same vendor. I would like to install a clean OS then quickly restore it to that clean state whenever i want. I have a network and external HD that can hold the image. However if i am replacing the OS how do i copy the data? A live Disc would be ok but which live disc and what else can i use? (I know dell has a quick partition restore, maybe GRUB can do something to restore my partition)

5 Answers5

2

Image them over the network from a boot CD - dd and netcat can come to your rescue.

https://web.archive.org/web/1/http://blogs.techrepublic%2ecom%2ecom/networking/?p=144

I know you said that the linked thread wouldn't work, but you really can use nc and dd to do this. Play with it before you implement it, but it will work.

Edit This comment covers it well: Using DD for disk cloning

Matt Simmons
  • 20,584
0

I have had good luck using G4L.

slillibri
  • 1,643
0

boot from the USB/CDROM/PXE. Acronis TrueImage, Linux System RescueCD or WinPE depends what do you require.

disserman
  • 1,850
0

If you are referring to Windows machines (and you may not be, because you mentioned a boot loader) you could partition your drive so that the OS is on one partition (or even a second physical drive) and the 'documents and settings' folder is on another.

Then make an image of the OS with Norton Ghost or something similar.

If the OS goes south you can always quickly restore it using the ghost image. The image could even be stored on the second partition with the D&S folder and accessed with a floppy when restoring.

cop1152
  • 2,736
0

One of the best Live CDs/DVDs is Knoppix and it also has a Linux Terminal service which lets workstations boot Knoppix from the network. When you start it, you need to do a bit of configuration like specifying the network address or network cards used by the workstations and then it will configure all the services needed for network booting, i.e. DNS, DHCP, TFTP. It's very easy to configure it and I highly recommend it for this reason.

For copying the images over the network I recommend against using netcat. Its performance isn't quite stellar. I suggest using HTTP, e.g. wget -O /dev/sda http://server/image. Another good solution is NFS combined with dd. Since you have multiple workstations, you could also use something based on multicast, but I don't have any experience with this. Anyway, have a look at Udpcast (comes with Knoppix).