I am in need of some help remastering an opensuse live cd. I know I am 99% complete, but I am stumbling in one spot. I cannot use suse studio, because I am injecting our licensed zenworks imaging software into the opensuse cd. Yes I am licensed to do it, and I need the better driver support of open suse. Here is what I have done do far.
-
Mount the zenworks bootcd.iso
2.copy root our of it, unpack root to another directory -
Copy all needed zenworks “img” files out of the boot cd (Including supporting libraries)
-
Test the software on opensuse, it works.
-
Mount the OpenSuse 13.2, and copy the squashfs compressed root file system out of it IE: “openSUSE-13.2-livecd-kde-read-only.i686-2.8.0”
-
unsquash openSUSE-13.2-livecd-kde-read-only.i686-2.8.0 into a directory, so that I can work with the opensuse squash-fs root file system
-
Add the zenworks files and libraires to the according opensuse squash-fs root file system (as per my working test)
-
repack the opensuse squash-fs root with: mksquashfs squashfs-root openSUSE-13.2-livecd-kde-read-only.i686-2.8.0
-
Copy the root contents of the opensuse 13.2 live cd into a directory, since the mounted cd is read only
-
Overwrite the the current squashfs packed root filesystem, with the altered file of the same name IE: openSUSE-13.2-livecd-kde-read-only.i686-2.8.0
-
At this point I need to repack the iso. I have tried all of the following commands:
-
mkisofs -l -R -r -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/i386/loader/isolinux.bin -c boot/i386/boot.catalog -o suse_zen.iso .
-
mkisofs -o …/suse_zen_nlsd.iso -b boot/i386/loader/isolinux.bin -c boot/i386/boot.catalog -no-emul-boot -boot-load-size 4 -boot-info-table -J -R -V “suse_zen_nlsd” .
-
sudo genisoimage -b boot/i386/loader/isolinux.bin -c boot/i386/boot.catalog -no-emul-boot -boot-load-size 4 -boot-info-table -l -R -r -o suse_zen_nlsd.iso suse_repack_zen/
All reproduce the iso properly, and the cd IS bootable, but one I choose the Live KDE CD option, it never seems to be able to boot the “openSUSE-13.2-livecd-kde-read-only.i686-2.8.0” file. There is the time lapse like with the original live iso, but it cannot seem to boot “openSUSE-13.2-livecd-kde-read-only.i686-2.8.0”
Does anyone have any suggestions, or alterations to my commands? mksquashfs seems correct, but maybe I am missing something? I think it’s failing during the .iso rebuild. The reason I think this, is because, If I even put the original “openSUSE-13.2-livecd-kde-read-only.i686-2.8.0” file back into the livecd stucture and rebuild it using the iso commands…it does not work. Any suggestions would be very welcome!!