Slashdot Mirror


PC Cloning Solution?

pbaumgar asks: "Like many here on Slashdot, I'm a Systems Administrator. I have become responsible for maintaining about 300 laptops that I need to rebuild on a regular basis. I am looking for a solution to image them. I've been looking at Symantec's Ghost Solution Suite and am not too gung-ho on spending all that money for licensing. Can anyone recommend an better solution that would be cheaper?"

29 of 115 comments (clear)

  1. Look for an earlier copy of Ghost by HotNeedleOfInquiry · · Score: 5, Interesting

    That doesn't have the bullshit licensing agreement. Norton has effectively fsked themselves out of the clone market with their totally absurd licensing requirements.

    --
    "Eve of Destruction", it's not just for old hippies anymore...
  2. G4U by Xunker · · Score: 5, Informative

    G4U, a unix based cloning tool.

    --
    Hilary Rosen's speech was about her love of money and her desire to roll around naked in a pile of money.
    1. Re:G4U by atomic-penguin · · Score: 4, Informative

      Ghost 4 Unix Pros:
      1) It's free.
      2) You don't have to start the cloning process over if one machine fails.
      3) Some versions of Norton Ghost do not catch the boot sector. This can be a problem when you want to have a boot loader on the MBR.
      4) It does an actual disk dump. No proprietary format here.

      Ghost 4 Unix Cons:
      1) In some cases, it is not fast. Hey, it's faster than piping this over a SSH connection.
      2) It doesn't do multicast, a benefit of Norton Ghost. Which lets you send the image out as a broadcast to all the machines.

      My experiences with Norton Ghost: The multicast feature can crash some networking equipment. There is nothing more annoying than getting 97% done and having to start over on one or all of the machines. Norton Ghost can bring a large network to it's knees. You may need to carry the Ghost server around with you. Especially if your network spans more than one building or floor.

      My experiences with Ghost for Unix: I setup an FTP server in the lab I was working in. There is no special server software, just a plain old FTP server. Dumped the master image on the FTP server. Started about 20 clients imaging. Go and grab a lunch or two. Come back and start any failed downloads later. It worked even on a dusty old switch known to crash with Norton Ghost. How cool is that?

      --
      /^([Ss]ame [Bb]at (time, |channel.)){2}$/
    2. Re:G4U by eyeball · · Score: 2, Informative

      If you're doing windows cloning, you may want to look into this free NewSid Utility from sysinternals.

      --

      _______
      2B1ASK1
    3. Re:G4U by OnyxRaven · · Score: 4, Informative

      More Pros:
      -Just needs ftp or ssh or whatever you can connect with (ftp by default)

      More Cons:
      -uses DD for disk dump - this means if you have lots of empty space on a big disk it'll come over too, and likely, it'll be junk (making it hard to compress an image). the G4U site has some ideas on how to get around that.

      Recently I'm using FreeBSD, but my disks are slightly different between a few of the machines, so I'm using dump/restore and the livecd portion of disk1 of freebsd 5.4 (and now 6) to create the partition, ifconfig, then ssh/cat > restore on the new drive (then rename, rebuild host keys, etc). works like a charm.

      --
      --onyx--
    4. Re:G4U by nachoboy · · Score: 2, Informative

      If you're doing windows cloning, you may want to look into this free NewSid Utility from sysinternals.

      Except for the fact that doing so puts you squarely in unsupported territory. The only supported way to duplicate Windows boxes is by using Sysprep (also free and already included on your Windows CD).

    5. Re:G4U by duffbeer703 · · Score: 2, Funny

      This is /. so we cannot recommend using Microsoft tools, even free ones. Even such logical approaches like using unattended installs (see unattended.msfn.org) are acceptable, because they do not involve Linux or arcane unix commands.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    6. Re:G4U by jshare · · Score: 2, Insightful

      But we can freely recommend unattended installs ( see unattended.sourceforge.net ) that *do* use linux, and arcane unix commands! (Well, ok, perhaps no arcane commands. Linux though.)

      Unattended is really nice for varying hardware. I used unattended in our lab at work, where we started out with quite a few different kinds of machines (imaging would have been nearly useless).

      It uses dosemu to run the win32 installer under linux (and then there are a few reboots for the windows installer). It is sweet to watch the win32 installer running via the serial console.

      http://unattended.sourceforge.net/

      There, I've linked it for you.

    7. Re:G4U by Jjeff1 · · Score: 2, Informative

      My experiences with Norton Ghost: The multicast feature can crash some networking equipment.

      It's not just you, but it's not really Ghost's fault. I deal with multicast quite a bit, not just ghost. Multicast can be a pain. If you have network gear that isn't multicast aware (impliments IGMP), then you'll be a sad panda when you fire up ghost in multicast mode. One of the issues Ghost does have is the entire multicast goes at the speed of the slowest PC. So if you have a dodgy disk in a PC, your whole image might slow down to the point of stopping.
      Cisco developed their own multicast standard, called CGMP, some older cisco switches "support" multicast, but only this older standard, which won't work with virtually anything else.
      The point to remember is this - enable IGMP (also called IGMP pruning or IGMP sniffing) on every VLAN on every switch you intend to have multicast traffic on. On your router(s), enable PIM or DVMRP.

  3. Wh ynot Ghost by Goyuix · · Score: 2, Interesting

    Assuming you are imaging the laptops with Windows, I can't imagine you having to image a linux laptop as often for some reason or another...

    Anyway, back in the day I got a free copy of Ghost with my motherboard. Now that they are completely owned by the Symantec umbrella, they are probably quite a bit more expensive, but I bet you can still get a single-user burn-to-a-dvd-with-the-image for relatively little. If that is to expensive, then go learn DD or some of the more advanced techniques that I am sure will pop up all over this board. Why buy the total solution when you aren't really going to use it anyway? Also, if you are in a windows environment, perhaps their RIS Server product would do what you need as well? Can the laptops boot from the network?

  4. Google and I agree: Acronis by Gothmolly · · Score: 5, Funny
    --
    I want to delete my account but Slashdot doesn't allow it.
    1. Re:Google and I agree: Acronis by failedlogic · · Score: 2, Informative

      I would agree. Back when I was a Windows user ..(now a Mac).. I had made several attempts to make a working image with Acronis. This was a late 2004 release I was using and had patched. Having two identical drives (manufacturer and size) I tried to restore the image (to make sure it works). Only after making 3 attempts at an image did it actually work.

      DriveImage by PowerQuest is a great program.

  5. Re:the solution by halfnerd · · Score: 2, Informative

    If the parent meant partimage, I'll second that. Used that for my school to install fresh windows images once a month. We used a Linux Live-CD called System rescue cd and had the image shared on a server with gigabit connection. The windows image had to be created with a fat32-filesystem, but that was 'convert'ed to ntfs on first boot thanks to some scripts I wrote. Check out help convert in cmd if you need to use windows.

  6. Why Imaging? by fdragon · · Score: 4, Informative

    System imaging solutions such as Symantec Ghost are good solutions for most people, but are not always the right solution.

    What may be a good solution that is adaptive to your needs is this solution : http://unattended.sourceforge.net/

    Combine this with a good method for getting a PXE boot setup (and devices that support the feature) and you will be able to create a menu that will allow you to automate system installs of Windows, Linux, and possible other systems, plus installing their related applicaton software later.

    With this setup you can do system installs for any type of hardware that comes your way. Laptop vendor change the network card chipset without bothering to change the spec sheet? No problem, just add the driver to the above build instructions and life goes on.

    --
    The program isn't debugged until the last user is dead.
  7. Ok I'll bite. by Oriumpor · · Score: 3, Interesting

    I beg to differ. Given the option of paying, I'd buy Altiris. Image blaster has always been more effective IMHO and the desktop support capabilities integrated into the altiris product line (Remote Desktop/Scripting/Rapid Installs etc.) Are pretty darn robust; ignoring a few frustrations in older versions (mostly cosmetic) that is.

    Their support is excellent and their Database integration for centralized inventory tracking and software inventory tracking is very useful. Not to mention having the data in ready to use SQL form.

    It's a step up from Ghost for sure, and for the enterprise it does integrate with HP OpenView. But, you're not supposed to talk about real closed source pay for solutions on Slashdot. *waves hand* This isn't the product you're looking for. It's certainly not cheap, and it's certainly not something you'd want to rush into.

    And as long as I'm on a rant about good pay for solutions, if all the guy wants to use is ghost functionality why not use RIS? Other than the whole Microsoft Homogeny thing it seems to work nearly as well (if not better) than ghost.

  8. Knoppix + partimage by Florian · · Score: 2, Informative
    I have excellent experiences with partimage. It creates image files of both Windows (FAT & NTFS), Linux and *BSD partitions, compressing them with gzip/bzip, optionally breaking them down to fixed size segments (for CD-R/DVD-R backups). It also can save and restore file system image via the net through partimaged, an optional file server.

    Since partimage is contained on every Knoppix CD, the easiest and cheapest solution is to boot your computer with Knoppix, save the file system image either to a local disk or over the network to another computer running partimaged.

    --
    gopher://cramer.plaintext.cc http://cramer.plaintext.cc:70
  9. What about RIS? by jarod670 · · Score: 5, Informative

    If you have a Windows Server 2000 or Server 2003 environment, what about RIS? Once you get it set up, I think it is much faster than ghost for pulling images down, plus you don't have to worry about SIDs. Plus the big bonus it's FREE.

    1. Re:What about RIS? by obeythefist · · Score: 4, Insightful

      I've worked in large scale corporate environments (400+ workstations) configured for RIS and there's no equivalent. You can dynamically add/change/update images. You can roll in patches for the heck of it in a matter of moments. You never need to worry about where your install media is, you just press F12 and you have a new SOE image on the workstation. You never have to burn off new copies of your install media because it's all live. The admin who set up RIS also set up a diagnostic boot using the RIS network boot that loaded disk recovery tools and so on from the RIS server. The cost of RIS is included with the Windows server license (so yes, beer free) and the ongoing costs will be lower as your updates will cost you less in terms of build media and so on.

      --
      I am government man, come from the government. The government has sent me. -- G.I.R.
  10. Partimage by sybarite · · Score: 4, Informative

    Try partimage (http://www.partimage.org/ . It doesn't have all the management tools like remote imaging, certificate security, etc, but I routinely use partimage from a Knoppix CD to clone Windows machines. Once cloned you can change the sid using newsid.exe from Sysinternals (http://www.digitalissues.co.uk/html/os/misc/parti mage.html).

    If you want to get really creative, maybe you could put a small linux partition on the systems that you can boot to for this purpose. Or maybe you could make a bootable system restore CD. Here is a faq to get started: http://www.digitalissues.co.uk/html/os/misc/partim age.html.

  11. For Windows by N1ghtFalcon · · Score: 3, Informative

    If the whole thing is windows-based look into RIS. It's a pain to configure properly, but it is more flexible and once you get a hang of it it's quite convenient.

  12. Why reimage? by nathanmace · · Score: 2, Interesting

    We use Ghost 8 where I work for rolling out new machines. It's a lifesaver when we replace a lab (I work in Higher Ed). However once the machines are in the lab, we "freeze" them with Deep Freeze. Unless the hard drive fails we never have to reimage them again. I don't know how the pricing for Deep Freeze will compare to the pricing for Ghost, but if you don't have to reimage them, don't. The URL for Deep Freeze is http://www.faronics.com/index.asp

    --
    I'm very responsible, when ever something goes wrong they always say I'm responsible.
  13. Altiris deployment solution by Jjeff1 · · Score: 2, Informative

    Not cheap. But it lets us create a hardware independant disk image and deploy it remotely to PCs. I believe it has some Linux support, but is mostly a windows product. It gathers hardware inventory on most any coporate level machine (including serial numbers). We can also build remote install packages to deply software and settings after images have been created.
    While it keeps track of all the packages and images deployed, it doesn't automatically restore everything.
    CA also has a similar product, it doesn't deploy images, only the windows unattended install stuff. However in addition to keeping track of packages, it will automatically redeploy them. Useful for when a HDD dies. You start the base image deployment, CA takes care of everything done since then.
    Both packages support PXE boot and Wake On Lan. So you can remotely boot up a bare metal machine and get it operational.
    These are pretty large programs, you'll want to talk to a sales person at those places and get a demo. Even if a demo is available, get them to demo it to you, you can't hope to learn the stuff in a couple days on your own.

  14. Easy.. by Creepy+Crawler · · Score: 3, Funny

    Id use a mounted filesystem and use dd to copy an image to the other networked machine. Just use the following to copy your hard drive...

    dd if=/dev/urandom of=/dev/your_hard_drive bs=512

    And then, you can run netcat from the tun device

    nc -i tun0 > /remote_computer_mount_point/

    Be aware, your mileage may vary.

    --
  15. Re:Simple DD by Webmoth · · Score: 3, Informative

    While dd WILL make a perfect clone of a system, it is not the ideal solution for cloning systems (especially Windows) BECAUSE it makes perfect clones.

    The problem lies in that for every user, machine, account, group, domain, ENTITY in a Windows environment, there is a globally unique identifier known as a SID. When you clone a machine, you also clone the SID. When you've got two or more machines with the same SID on a network, you WILL have problems. Renaming the machine does not change the machine SID, and Windows knows things more by the SID than by the name. (Think about having two users in your Linux /etc/passwd file with the same UID.)

    Secondly, dd is not ideal because it does a bitwise copy. If you are cloning a badly fragmented disk, your clone will be badly fragmented. You'll also get all the cruft left behind from deleted files. Ghost can do a dd-like bitwise copy, but in its primary mode it only copies the extant files. If you've got a 120GB disk with only 5GB used, dd will copy 120GB of bits whereas Ghost will copy 5GB of files. Think of the time involved. If your new drive/partition is not the same as the old one, you can't reliably use dd.

    That being said, there are utilities available for changing the machine SID.

    --
    Give me my freedom, and I'll take care of my own security, thank you.
  16. Run Sysprep to change the SID. by Futurepower(R) · · Score: 3, Informative

    I suggest you use only Sysprep to change the SID. I've tried other tools, such as the one from Sysinternals.com, and they have introduced errors.

    There is a download site, but Microsoft's search facility has never worked very well, and I can't find the URL now. Wait, I found it: Sysprep.exe for Windows XP Service Pack 2.

    Use only the version of Sysprep.exe and Deploy.cab meant for your operating system and service pack.

    When you run Sysprep, you automatically change the SID.

  17. Re:Hard Drive Manufactures Software by xiong.chiamiov · · Score: 2, Informative

    Seagate's DiscWizard. Worked for me.

  18. Re:Simple DD by rpresser · · Score: 2, Insightful

    Whyinhell would you use a block size of 515? Not only is it too small, it is neither a divisor nor a multiplier the sector size -- guaranteeing inefficient reblocking.

    Maybe IHBT.

  19. Agree 100% by Shawn+is+an+Asshole · · Score: 2, Insightful

    If you're even considering imaging, please don't. Try unattended. It may take a week or two and a few dozen trial installs but once you get the hang of it you will never want to go back to imaging.

    Look at it this way. With unattended, you can assign different profiles to different computers, and they can inherit from each other. Say one group needs x apps, another group needs y apps, and another groops needs x y and z. With unattented that can all be maintained with three very small batch scripts. With imaging you would need to create three large images, and maintain each of them. With unattended, you maintain the master packages and all of your configurations make use of it.

    Hardware detection is also easy. When I dealed with cloning I ended up having to keep multiple copies of the same image but configured for each different hardware. With unattended, you extract all the drivers into the $oem$/$1 directory and each computer's hardware is automatically detected and configured during the install. I can easly add any new hardware I want with no additional maintence.

    If you need to apply different policies (without AD) learn how to use secedit. It's easy to write secedit and regedit scripts for unattended that will apply all configuration and policies automatically. Microsoft's Windows XP Security Guide covers this well.

    Try unattended. You will not regret it.

    Also, just as a comment to the above post, it's not neccessary that the NICs support PXE. Etherboot solves that. Etherboot gives a small (15k) image that can be put on a floppy, cdrom, lilo/grub, etc and will boot to PXE. It's not neccessary for the NIC to support it.

    --
    "It ain't a war against drugs.it's a war against personal freedom" --Bill Hicks