Creating a bootcd.iso for a huge ZENworks Image (on RedHat machine)
Novell Cool Solutions: Tip
By Jim Webb
Digg This -
Posted: 16 Jun 2005
(Note: This tip will only be of use to you if you use a RedHat environment instead of Windows. But if you're one of those, this might be exactly what you're looking for.)
PROBLEM: When I tried to create a custom bootcd.iso that contained a large ZENworks image, the resulting ISO file exceeded the 2GB file size limit on the Linux (RedHat 7.1) machine I use for ZENworks Imaging customization.
SOLUTION: My solution was to create the ISO on a Windows machine using NTFS (this avoids the filesize limit). By following these instructions you can make an unlimited number of changes and create a new bootcd.iso.
Here is what you need to do:
- Download cdrtools from here, this includes mkisofs.exe.
- Extract cdrtools-latest.zip and copy mkisofs.exe and cygwin1.dll to your windows\system32 directory.
- Create a directory called zencd to store the files from the ZENworks Bootcd.iso.
- Inside zencd create a directory called work and a directory called out.
- Extract all of the files from the bootcd.iso into the work directory. You can use a program like Winimage or Ultraiso to do this or just burn the bootcd.iso and copy the files from it.
- Make any changes to the files in the work directory.
NOTE: This is the place to add your custom settings.txt file.
- From the zencd directory run the following command:
mkisofs -o out/bootcd.iso -b isolinux.bin -c boot.catalog -no-emul-boot -boot-load-size 4 -boot-info-table work/
- Your new bootcd.iso should be in the out directory.
- Burn the bootcd.iso with your favorite CD-burning program.
Before you comment, I know you can accomplish the same end result by using a CD-burning program to add custom files and then creating a multisession CD, however, some computers don't support multisession CDs. Also, I have found that when using a program such as Winiso or Ultraiso you can only make a minimum number of changes before the ISO becomes unbootable.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com