The items needed from this tool are the files located in the "Data" folder, I'll show this later.
And the ZENworks 7/11.1 docs.
Now let's get started.
First of all, this is what you need to get the job done:
Got all the files? Then we're ready.
Warning, I can't guarantee this works on all USB pen drives. And do remember that under this process the drive will be cleaned, so backup any data you may have on it before starting.
All the files (on the Windows laptop) in this guide, are located in C:\USBIMAGE\
If you don't want to make it all by yourself, you can use the files attached:
You still need to go through Step One, and then copy the files to your USB Pen Drive.
Format and make the USB pen drive bootable.
Your USB pen drive is shown, note the ID's.
Now your USB pen drive is ready
Note: If you want to put large image files on your USB Pen Drive and restore it, you should format it with FAT32. If you don't want to use the HPUSBF.exe utility, you can also right click the USB Pen Drive and select "Format" and choose FAT32.
If you check the pen drive there should be a file called ldlinux.sys (you need to be able to see hidden files)
Your USB pen drive is now ready and bootable.
Copy the needed files to the USB pen drive.
This is now the content of your USB drive
Copy the needed files on to the Linux machine for further editing.
Switch to your Linux machine.
The files you need are now on the Linux machine.
Extract the original initrd file, from ZDM7.
We need the USBMOUNT.s file from this.
The other configuration changes I've copied from these files: zenworks.s and linuxrc.config.
mv initrd initrd.gz
cpio –idumv < /root/work/ZDM7/initrd >/dev/null 2>%1
Now do the same with the new initrd file, from the ZCM11 folder.
The files are now extracted and we can make the needed changes in the files.
Now we copy the USBMOUNT.s file and edit the Zenworks.s and linuxrc.config.
If you want to use the terminal:
cp –r /root/work/ZDM7/temp/bin/usbmount.s /root/work/ZCM11/bin
From the ZDM7/bin/zenworks.s files copy all from
"if [ $USBBOOT"a" = "YESa" ] ; then"
"#run before settings.txt" (this line shall not be included)
Insert the text in the ZCM11/bin/zenworks.s file, and replace from
"if [ $CDBOOT"cd" = "YEScd" ] ; then"
"#run before settings.txt" (this line shall not be replaced)
Close and save the file
Edit it so these lines are as listed here:
Re-pack, zip and recreate the initrd file
find . | cpio –quiet –o –H newc > /root/work/ZCM11/initrd
gzip –v9c initrd > initrd.gz
mv initrd.gz initrd
All you need to do now is to check if it boots as wanted.
You can then edit the settings.txt as wanted, just as if it was a boot from the CD.