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)."
maybe this will work better than the dd way I've been using so far.. gotta give it a try
When i was reading the article i was thinking 'why do we need another bl**dy disk copier/ghoster/whateverer' But the link states that it can be used with all file systems, which is something i have yet to see in other utilities.
Good on the chap who wrote it.
I definantly will be using this in future.
Huff
The thing I dislike the most about Norton Ghost, is hat it's DOS based. Getting networking working, for SMB image transfer is not always easy...
.tar.gz, and takes edits various /etc files to change hostname, IP, etc. Chroot, run lilo, and your done.
Cloning PC-Unix boxes (Linux, etc), doesn't really require any special software though... When I need a new node for our EDA cluster, I boot tomsrbt, and run fdisk, and then kick off a script that pulls down an
--
Matt
Ever since Symantec bought Ghost, they've been changing it from a simple, easy to use, small, beautiful and most of all SMALL utility to a typical bloated pile of junk. It's so nice to see someone develop an open and free version that recaptures the original idea - just copy the fricken hard disk already!
"How perfectly Goddamn delightful it all is, to be sure" Charles Crumb
If the target is 1 sector less, you aren't going to be able to use this tool. I still think tar and netpipes is the only way. (unless you use XFS, in such case the best way would be xfsdump, tar, and xfsrestore) I'm trying to write a multicast fileserver for just this purpose. I have a lab of hetrogeneous machines(I take what I can get from the university) that need to be clones(btw, don't forget to run lilo if you use tar/xfs, and don't forget to change the site-key for ssh). I'm ending up using a homebrew solution. There are other good ghost utilities out there that boot from a cdrom(BART perhaps isn't bad), but I still need my own custom solution because I'm not gonna be here forever to make this lab work, and it needs to be "put this in the floppy drive and select options from the menu" easy.
Karma Clown
Ghost handles all file systems as well. They call it a sector by sector disk copy. In this case Ghost does not care what is on the disk, it copies the DISK rather than the filesystem or partition as it does by default. But as with g4u you can't resize and so forth with a sector by sector copy.
The only problem with Ghost is the licensing cost.
tar with the appropriate flags works much better. Also, if you run it on a system that doesn't write to the disk much (ie webservers) you can generally take a somewhat reliable backup without taking the system down to init 1.
-- DrZaius - Minister of Sciences and Protector of the Faith
isn't there a big chance that some bits would get corrupted?
Modern storage devices use error correction at a very low level. For instance, CD-ROM has three error-correcting codes: two in the CD layer and one in the sector layer. In addition, a partition could be written to multiple discs in a manner similar to RAID 5, such that every fifth disc stored an xor of the four previous discs.
Will I retire or break 10K?
Try an OS upgrade on >2000 machines and then tell me this. Better yet, try an OS replacement, say Windows 95 to Linux on >50 machines and then tell me you don't see the point of cloning workstations.
Okay, here's a few, and there's many more from whence these came:
## W.Finlay McWalter ## http://www.mcwalter.org ##
Yes, that is a major problem.
GPL gets around this by asking that you give them the copyright and give them all the credit leaving you with none.
I **HATE** when someone wants credit for the stuff they've created. The nerve of them. Especially after telling you that you can do anything you want with the software only you better give credit where credit is due.
I'm glad you cleared this up for us so none of use that restrictive BSD licensed crapware.
PS. This ain't a troll or funny. Its fucking sarcasm.
clif
The fact that you don't consider reading raw data from a partition to be a practical purpose shows you've never worked in IT.
This type of program isn't marketed towards the standard computer consumer, it's marketed towards server operators and up.
That YOU changed. It doesn't stop you from ripping out the copyright notices and claiming that it was written then by you.
The GPL makes its notice to make YOU sign your name to it if you change anything to ensure that if you screw something up that the original author doesn't get his reputation tarnished because of your modifications.
So, I decide I want to change a variable name, I'm now considered to be the only one that needs to have my name on the license.
The GPL is a religion, its not a license. BSD is common sense and is as close to coming to public domain as possible but still ensuring the author gets credit for his work. I wish folks would stop bowing down to the GPL as if it were given to you by God and thus infallible...
Of course there is nothing new in g4u, it's just Unix after all.
/.?
:)
But why spend an afternoon surfing the web for alternatives to Ghost, DriveImage and friends when you can rewrite your own version from which you know what it does, and while there get famous on
- Hubert
P.S.: Does Ghost etc. support Gigabit Ethernet? USB Ethernet? Token Ring? No? Of course not - have fun finding the necessary DOS drivers.
See the g4u webpage for reasons why I wrote this.