By Rich Bryant
How to use a large external USB drive for ZENworks 7 Disconnected Imaging using EXT2 partitions
This is an expansion on the tip for disconnected imaging with a USB hard drive. I added in how to create an EXT2 partition on the USB drive so you can image to the USB drive, and not just from it. This tip can also be modified to create a hidden EXT2 partition on the local drive of the PC to store a local copy of an image if needed.
I have come up with steps to facilitate using a large external USB Hard drive for ZENworks 7 Disconnected Imaging. It utilizes the ZENworks CD software modified to run on USB storage devices and sets up a data volume formatted with EXT2 to allow imaging to and from the USB hard drive.
Requirements for the process:
Now, the fun stuff:
I can't guarantee this will work on every external USB hard drive, but should work on most. You may get the best results if you use a USB hard drive that doesn't require any drivers or software to access it.
WARNING: this process will wipe out any data you currently hold on your USB hard drive. You will be formatting drives which will erase all data on them, so if you don't want to lose it, back it up before proceeding or get another drive. Additionally, I take no responsibility if these directions are used on the wrong drive by mistake!
When imaging, if your USB hard drive is on anything other than sda1, you will need to modify the syslinux.cfg on your USB boot volume. Change the info in each section at install=hd:/dev/sda1 root=/dev/sda1 to reflect the location of your USB hard drive.
Also when you mount the EXT2 drive for imaging, you will need to modify the mount command at step 13 to reflect the device location. Quickest way to find out what device the USB is on is to boot with the CD to Manual, insert the USB storage device and at the bash# use the command IMG DUMP.
You can use this method as well to put on a EXT2 partition on the hard drive of the computer you are imaging, so you can store an image on the computer and access it for local imaging. If running Windows, the computer will never see the EXT2 partition. It will only be available when running the imaging process.
For this, we will set up a 50 MB FAT volume that will act as our boot volume, and a 20 GB EXT2 volume that will hold our images. I use FAT for the first volume so that we can use SYSLINUX to make the volume bootable to the ZENworks imaging environment. I use EXT2 for the DATA volume to support the large volume size as wall as imaging to the USB hard drive. After installing EXT2FSD, I can copy the images from the XP workstation to the USB hard drive, and the ZENworks imaging environment can read and write to EXT2 volumes so we can work with the images from there without being limited by size.
Here is the step by step:
You can create a script to facilitate the mounting and automatically pushing out of the image (steps 13 & 14) if you so feel. You can put them in the /addfiles/bin folder and they're accessible to the imaging environment.