Cool Solutions

ZEN Boot Maker

eradke

By:

April 8, 2013 11:03 am

Reads:3,339

Comments:2

Score:Unrated

License:
AS-IS

Download zenbootmaker.zip

ZENworks Imaging Boot Maker, an automated tool for re-authoring the ZENworks Imaging boot CDs and creating ZENworks Imaging bootable USB drives.

This tool was developed for the ZENworks 11.x Boot CD.
Other configurations may not work.

Use Notepad++ to view and edit text files so as to preserve the UNIX line feed characters or it may not work.

To use this tool, first drop the iso image that you’ve downloaded into the same directory that the CMD script resides.

The .ISO file-name does not matter as the script will locate the file itself, if there are multiple .ISO files then the script will use the first one it finds, so put just one to avoid confusion.

Then run the CMD script “ZenBootMaker.cmd”.

The script will use 7z.exe to extract the contents of the .ISO a “working” directory.

At this point the script will pause, so that you can make the needed modifications to files in the “working” directory.

The “working” directory becomes the file structure that will be used to create the new .ISO image or the boot USB.

Once complete, return to the Command Prompt window, select the desired operation.

Select CD to create the new .ISO image. Use this image to burn a CD/DVD ROM.

Select USB to create the bootable USB drive. The script assumes the drive is properly partitioned and formatted. The script will attempt to set the volume label to “ZENWORKS”, because the drive is accessed via this label while the USB is booting. (Thanks sgardiner for posting that, brilliant!)

Use caution not to specify your C: drive or you might render it useless.

I have tested this on several different USB devices and mostly newer PC’s without failure but likely there are some configurations that may not work.

I prefer using USB hard drives as you can to lay multiple partitions on them and Windows will have no trouble mounting them, unlike multiple partitions on most USB sticks where you can only mount the first partition (BOOTIT did not work on my flash drive).

A scenario that I have used on a 750Gig USB HD is to create a 100 MB FAT32 partition and an NTFS partition on the remaining space. Make the FAT32 bootable, then from the booted ZENworks partition, mount the NTFS partition for reading an writing images.

If you set the volume name to something like, say ‘DATA’, then you can utilize the device “/dev/disk/by-label/DATA” to perform the mount.

I like to add exported functions and alias’ to the SETTINGS.TXT file so I can perform these type of actions with a simple command. See the file “Sample Commands . . .”

The script if run again, will prompt you if you wish, to re-use the ‘working’ directory, otherwise it is deleted and begins anew. The newly created .ISO image is also deleted without prompting if is exists. If you wish to retain them, then rename or move them.

The following files are required for this script to function and should be copied to the “bin” sub-directory:

(Download and install the latest 7zip, then locate the file under “Program Files”)
7z.exe

(The next two located here -> http://smithii.com/files/cdrtools-latest.zip)cygwin1.dll
mkisofs.exe

(The next three here -> https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-5.01.zip)
libutil.c32
menu.c32
syslinux.exe

Cheers!

Comments/Improvements welcome.

Ed Radke

edskirad@hotmail.com

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading ... Loading ...

Tags: ,
Categories: Cool Tools, Technical, ZENworks

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

2 Comments

  1. By:kjhurni

    I was wondering if you had tested your neat utility with the high-speed Tuxera driver? Specifically trying to use the tntfs_bootcd.iso

    My testing (using your neat utility) indicates that it doesn’t load the high-speed driver using a SanDisk Druzer 4 GB Flash drive.

    Have you had any luck?

  2. By:eradke

    My initial tests using the Tuxera driver disc were not very good until I realized my images were not created using this disc, see: http://www.novell.com/support/kb/doc.php?id=7009549

    I have not been able to find any information on determining if the driver is indeed loaded or being utilized.

    Booting a 60G USB HD ( this was an enclosure I bought for an old IDE laptop HD ), I run these commands:
    modprobe -l | grep “tntfs.ko”

    modinfo /lib/modules/2.6.32.24-0.2-default/initrd/tntfs.ko

    Couldn’t figure out how to get a screen-shot into this reply but here is the output:

    /#
    /#mod probe -l | grep “tntfs .ko”
    /lib/modules/2.6.32.24-0.2-default/initrd/tntfs.ko
    /#
    /#
    /#modinfo /lib/modules/2.6.32.24-0.2-default/initrd/tntfs.ko
    filename: /lib/modules/2.6.32.24-0.2-default/initrd/tntfs.ko
    license: Commercial. For support email ntfs-support@tuxera.com.
    version: 3012.1.8
    description: Read/Write NTFS Driver
    author: Tuxera Inc. & Anton Altaparmakov
    srcversion: 9D27B08068FB93ED904E856
    depends:
    vermagic: 2.6.32.12-0.7-default SI1P mod_unload modversions 586TSC
    /#

    Does this mean it is indeed loaded?
    I have performed mounts using the FS TYPE ntsf-3g which I think is Tuxera.

    Hope this helps.

    Ed

Comment

RSS