Slashdot Mirror


Ghost for Unix

junyoung writes "Hubert Feyrer released the latest version of g4u ("ghost for unix"), a NetBSD-based bootfloppy/CD-ROM image that allows one to easily clone PC harddisks by using FTP. Since it reads the disk bit by bit, it can create an image of any operating system and any file system. Besides, it's free (under BSD style license)."

22 of 265 comments (clear)

  1. Re:hmms by Student_Tech · · Score: 5, Informative

    they are using dd as well, just running it through gzip -9 before uploading it to the server (distrib/i386/floppies/ramdisk-g4u/uploaddisk in the source)

  2. Make that "old skool BSD license" by yerricde · · Score: 3, Informative

    From the article:

    3. All advertising materials mentioning features or use of this software must display the following acknowledgement:
    This product includes software developed by Hubert Feyrer .

    This form of the BSD license has a minor problem.

    --
    Will I retire or break 10K?
    1. Re:Make that "old skool BSD license" by Arandir · · Score: 3, Informative

      If those notices are regarding the Regents of tht University of California, then they have already been rescinded.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    2. Re:Make that "old skool BSD license" by StormReaver · · Score: 5, Informative

      "GPL gets around this by asking that you give them the copyright and give them all the credit leaving you with none."

      The GPL does nothing of the sort. Nowhere in the GPL is the request made for contributors to sign over their copyrights. Just the opposite is true. Contributors retain copyrights over contributed code that is their own creation. The GPL states that contributors of derivitive code must grant others the full right to copy, modify, and distribute those derivitive contributions. That's it.

      You are probably confusing the GPL with the FSF's advice to assign it the copyright to your GPL'd code that you wish to have legally defended by the FSF (under the assumption that you are not financially able to enforce your copyrights yourself). Nowhere is this a requirement.

      Likewise, there is no provision in the GPL to strip you of credit for contributions you have made. Once again, quite the opposite is true. The GPL goes to great length to make sure you are properly attributed and that recognition for your contributions is not usurped.

      The GPL has been carefully crafted to protect the rights of authors without imposing unnecessary burdens on contributors of derivitive works. The only inconvenience I have ever noticed with the GPL was experienced from a proprietary software perspective. And that was a primary purpose of the GPL: to make life difficult for those who want to steal the works of others, while making life easier for those who want to build upon the works of others and contribute those improvements back to the world.

      The GPL works wonderfully and is a thing of beauty.

  3. Ghost is worth the money by DrZaius · · Score: 5, Informative
    I think it's worth it to pay for enterprise ghost and the win2k box it needs to run on if you really need ghost.

    The multicast console kicks ass -- I can ghost a tonne of workstations at one time and not kill the network.

    Symantecs' support infrastructure is wicked too. We haven't hit a problem that wasn't documented on their website yet.

    Also, ghost understands filesystems and not raw blocks. I don't understand why reading the raw data is an advantage -- you get images the size of your hard disk or partition instead of the size of the data. Ghost 7.5 can understand fat/ntfs/ext2 and ext3. It can also do raw reads of the hard disk.

    btw, I don't work for symantec.

    --
    -- DrZaius - Minister of Sciences and Protector of the Faith
    1. Re:Ghost is worth the money by Ektanoor · · Score: 4, Informative

      Well I once tried ghost and sincerly it was a great product. But since Symantec bought it, I forgot about that thing. Because Symantec wacked it to the impossible. After a few tries I dropped any idea to use the product altogether. And one of the problems was with multicast. It would die after some minutes and leave all stations in a dead end. Besides, on multicast, I couldn't ghost a tonne of workstations. Yes, could ghost a lot more than unicast but not a tonne.Well if Symantec solved these problems, then, I'm happy for them. But it is not good to make much hype of it. Ghost was a great product, probably still is a great product. But it is a product that it is oriented in one of the most critical segments of the market. Hypes here are too bad.

      Yes, it is good that ghost understands filesystems. But it is also good that ghost would work nicely on raw data. Why? For forensics, to copy unmovable data (in relation to the disk itself), to mirror disks where data is partially damaged. At the time I tried, Ghost was "acceptable" on this level but it had some problems.

      Anyway, for those who would like to work nicely without caring for many hassles about how these things work, ghost is probably the best choice.

  4. Re:g4u source code mirror by Smthng · · Score: 2, Informative

    root@localhost$ rpm -qi nc

    Name : nc Relocations: (not relocateable)
    Version : 1.10 Vendor: MandrakeSoft
    Release : 15mdk Build Date: Wed 11 Jul 2001 07:30:43 AM PDT
    Install date: Sun 03 Feb 2002 01:39:29 PM PST Build Host: bi.mandrakesoft.com
    Group : Networking/Other Source RPM: nc-1.10-15mdk.src.rpm
    Size : 117756 License: GPL
    Packager : Mandrake Linux Team <bugs@linux-mandrake.com>
    URL : http://www.l0pht.com/~weld/netcat
    Summary : Reads and writes data across network connections using TCP or UDP.
    Description :
    The nc package contains Netcat (the program is now netcat), a simple
    utility for reading and writing data across network connections, using
    the TCP or UDP protocols. Netcat is intended to be a reliable back-end
    tool which can be used directly or easily driven by other programs and
    scripts. Netcat is also a feature-rich network debugging and exploration
    tool, since it can create many different connections and has many
    built-in capabilities.

    You may want to install the netcat package if you are administering a
    network and you'd like to use its debugging and network exploration
    capabilities.

  5. Re:g4u source code mirror by taviso · · Score: 4, Informative

    hes talking about netcat, the general purpose network swiss army knife.

    you should install it, its probably one of the most useful netowrk utilities ever written.

    --
    ex$$
  6. Re:Does anyone have first hand experience? by Anonymous Coward · · Score: 1, Informative

    Ghost is pretty slow when reading/writing a raw partition, which is exactly what g4u is doing. Next time you use ghost give it a try and you'll see it's quite slow.

  7. Re:Exellent! by slaker · · Score: 3, Informative

    It's less of a big deal than it was, with the new version. Ghost 2003 makes several different bootdisks, including a LanMan client (which can be a PITA for modern NIC drivers) and, IIRC, FTP.

    Ghost 2003 also handles local CD-R, USB, USB2 and Firewire disks, and can write an image file to a local NTFS disk, which is a neat trick for a DOS program.

    The bigger challenge with the latest version of ghost is remembering where the hell you put the bootdisk you need, since you can't get all the features on the same disk (e.g. no LanMan client + USB2 support).

    Ghost is what lets me do other things while I'm at work besides fix PCs.

    I license ghost @ something like $11 a copy for all the PCs I'm in charge of, and given the time-savings, it paid for itself in about two weeks.

    Still, this looks really good. I like free. I'll probably give it a try next week.

    --
    -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
  8. Partition Image by tseng_mike · · Score: 5, Informative

    There is also partition image which is more advanced imo.

  9. Bzzt! Ghost walker works great!! by FreeLinux · · Score: 3, Informative

    I have installed thousands, yes thousands of images of Windows 95 - 2000, as well as restored Windows 2000 domain controllers from backup images with Ghost and Ghost Walker. It works great.

    Thanks for playing.

  10. Re:It can't support Windows by Jugomugo · · Score: 2, Informative

    All you have to do is run 'sysprep' before you make your images. Makes it pretty easy from there.

    --
    "In a cat's eye, all things belong to cats."
  11. Partition Image by ZaPhOd42 · · Score: 5, Informative
    Partimage is a similar utility based on Linux.

    We've been using it to clone our NT based workstations at work for some time now and it kicks ass! It copes quite happily with NTFS(!), FAT16/32, Ext2/3, ReiserFS etc etc...

    It's a client/server program and they provide a bootable ISO image on their site (saves you having to create one if you're lazy like me) ;). You can also compress the image taken using either gzip or bzip compression.

  12. Setting the record straight by yerricde · · Score: 2, Informative

    To clear up any misconceptions that the sarcastic parent comment might have created:

    GPL gets around this by asking that you give them the copyright and give them all the credit leaving you with none.

    Actually, every author of a GPL program gets credit. The GNU GPL, section 2, requires that "You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change." Thus, the credit stays where it belongs, in the source code, documentation, and (for interactive programs) the about box, rather than in possibly unrelated advertising.

    --
    Will I retire or break 10K?
  13. Another One by OrangeHairMan · · Score: 3, Informative

    There's a similar project, called RECCD toolkit, but it places the hard drive image onto a CD, rather than over a network. It's great for backup and use in computer labs.

    http://www.bablokb.de/reccd/index.html

  14. Sparse files by yerricde · · Score: 2, Informative

    [A file made of all zeroes] should leave us with very compressible freespace, right?

    I suggested a repeating pattern rather than zeroes because some UNIX systems represent an all-zero file cluster by not allocating the cluster at all. A file that contains such a cluster is called a "sparse file".

    --
    Will I retire or break 10K?
  15. Re:Seems like a good idea. by hubertf · · Score: 3, Informative

    1. slow: yes. It reads the whole disk and compresses it, then when it's moved over the net it's decompressed again and written back to disk. Esp. compression is very slow, at deployment the bottle neck is somewhere between disk and network.

    The only way to work around that is to add some intelligence WRT file systems, which is exactly what tools like ghost etc. do. g4u does not do so to remain simple, and be able to clone _any_ operating system or combination of operating systems. See the web page for more background!

    2. bit corruption:
    do you trust your harddisk to give you back the bits you hand it over? I do, and if we can't do that one day, we all have a problem.

    - Hubert

  16. I fail to see anything new here? by bourne · · Score: 3, Informative

    I can see no discernable difference between this and any bootable Linux CD with 'dd', 'gzip', and 'nc' or 'ssh' installed. The reason people buy Ghost is that it resizes partitions, and this doesn't have any of that.

    Am I missing something? Is there something on their page that I didn't see as I read through? Is there a demand for new and unfamiliar commands for doing familiar things?

    This is not a troll - this is honest curiosity. I've used Partition Image, which is similar, and don't use it for pretty much the same reason - nothing added. On the other hand, I've used multiple bootable distributions (linuxcare, superrescue, @stake) to make disk images using dd/gzip/nc/ssh/md5sum. Cake.

  17. Re:Alternatives by BlueUnderwear · · Score: 3, Informative
    But the link states that it can be used with all file systems, which is something i have yet to see in other utilities.

    Udpcast handles any filesystem just fine. Indeed, it reads directly from the device, and is thus able to handle even filesystems that are not supported by Linux. And in order to handle the case of "almost empty" partition, it supports compressed transfers: the empty, zero-filled sectors compress to almost nothing, and thus don't consume any bandwidth.

    --
    Say no to software patents.
  18. Udpcast by KPU · · Score: 2, Informative

    Try udpcast. It supports multicast and has boot floppies. I use it to replace ghost on a 40 computer lab. Supports stdin and stdout multicast so it's easy to use in many different cases. I'm working on boot disks that only require one disk for each client.

  19. Re: Seems like a good idea. by Omniscient+Ferret · · Score: 2, Informative

    They can use different compression schemes to trade off space vs the size of backups. They already offer gzip and bzip2, I think, so lzop should be easily added - that is very quickly compressible and decompresses obscenely fast, several megabytes per second on a P133.