- Linux Box
- openSUSE 11 Live CD ISO
- ISO Editor.
- squashfs 3.1 tools for Linux
- ZENworks boot cd / iso
The plan is to take an openSUSE Live boot CD and add the imaging commands and libraries to it.
Copy the ZENworks boot disk ISO onto the Linux box, mount it and copy the root image off the CD.
The root image path is mnt/boot/i386/ with mnt being the directory that the ISO is mounted.
- Now we need to mount the root image and copy what we need out of it.
In the directory that you copied the root image to, use these commands:
mv root root.gz
mount -o loop root image # this will mount the root archive
# now we want to copy these files
Now that we have the tools we need the next step is to get the openSUSE Live CD ready.
On the Linux box again take the openSUSE Live CD ISO and mount it.
Copy openSUSE-11.0-read-only.i686-2.7.0 from the top directory of the ISO, this is the Live CD root image that we will be adding the tools to.
In order to extract and edit openSUSE-11.0-read-only.i686-2.7.0 we need the squashfs tools, more specifically squashfs version 3.1.
This will create a directory named squashfs-root.
Inside squashfs-root you should see the root directory for the Live CD.
Move into the var directory, create a directory (mine is img-tools) and copy all the files we got from the ZENworks boot CD.
- Now we need to add the libraries and the img command, all that is necessary is to copy the files.
- Inside the directory img-tools create a link to libc-2.4.so
ln -s libc-2.4.so libc.so.6
The image now is ready to be repacked and added back to the Live CD ISO.
To repack the squashfs file system run:
mksquashfs squashfs-root openSUSE-11.0-read-only.i686-2.7.0
All that is left is to add the read only file system back into the ISO and reburn it and that is it.
Once booted to the CD run sudo img or su as root and you are ready to image.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
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, test, test before you do anything drastic with it.