Search:  
Gentoo Wiki

TIP_Imaging_with_Ghost_for_Unix

This article is part of the Imaging series.
G4U G4L yagi UDPcast LiveCD

Contents

Introduction

G4U is a small BSD system for the purpose of copying partitions or entire disk images with gzip compression. It is very basic and very easy to use. A current problem is that it doesn't support multicasting and requires the user to be physically at the machine in question.

I see potential for correction of these problems with were you to adapt the LTSP guide and somehow write alternate startup scripts to the Unix File System on which it was hosted. If you used BSD this should be easy, but I use Linux.

Acquiring G4U

Ghost for Unix (which has no relation to Norton Ghost) can be found here: http://www.feyrer.de/g4u/#reqs

http://www.feyrer.de/g4u/g4u-1.17.fs.zip

http://www.feyrer.de/g4u/g4u-2.0.iso.zip

Preparing Server for Imaging

You will need an ftp server. I recommend mod_ftpd and vsftpd for *nix, and FileZilla for Win.

Any user with write privileges will do, but unless otherwise specified, g4u assumes the user install.

Preparing Clients for Imaging

*nix

If you are on a *nix system you should write blank bits to the "empty" space on your filesystems:

Code: Nullifying
 for FS in "/boot/ / /home/"
 do
    cat /dev/zero > ${FS}nullfile.tmp
    rm ${FS}nullfile.tmp
 done

As long as your kernel is of the "kitchen sink" type, you should be able to deploy your image across multiple hardware types.

Win


On WinXP it is rumored that you can use the microsoft sysprep utility just before the imaging process and you will then be able to deploy the image across multiple hardware types. I have had no such success with Windows 2000.

Duplication

Boot up with the G4U disk.

Unless you are using BSD you won't be able to use the ability to copy slices (partitions). If you are using BSD, then check out the official howto.

USER=install # this name is assumed if you don't specify
IPADDR=10.0.0.11 # the IP of the ftp server
IMAGENAME=lab_dell_gx270 # the name of the file
Code: Uploading Image
 uploaddisk ${USER}@${IPADDR} ${IMAGENAME}.gz
Code: Downloading Image Image
 slurpdisk ${USER}@${IPADDR} ${IMAGENAME}.gz
Retrieved from "http://www.gentoo-wiki.info/TIP_Imaging_with_Ghost_for_Unix"

Last modified: Wed, 26 Sep 2007 05:25:00 +0000 Hits: 7,485