OpenSuse Remastering Live CD

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.

  1. Mount the zenworks bootcd.iso
    2.copy root our of it, unpack root to another directory

  2. Copy all needed zenworks “img” files out of the boot cd (Including supporting libraries)

  3. Test the software on opensuse, it works.

  4. 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”

  5. 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

  6. Add the zenworks files and libraires to the according opensuse squash-fs root file system (as per my working test)

  7. repack the opensuse squash-fs root with: mksquashfs squashfs-root openSUSE-13.2-livecd-kde-read-only.i686-2.8.0

  8. Copy the root contents of the opensuse 13.2 live cd into a directory, since the mounted cd is read only

  9. 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

  10. At this point I need to repack the iso. I have tried all of the following commands:

  11. 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 .

  12. 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” .

  13. 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!!

UPDATE: I was able to do this with SUSE Studio in the end, but would still LOVE to know what I’m missing in the ISO building stage, that stops the kernel from booting.

Thanks.

On Thu, 23 Apr 2015 20:26:02 +0000, Techlord wrote:

> I cannot use suse studio,
> because I am injecting our licensed zenworks imaging software into the
> opensuse cd.

Actually, what might be the easiest is to use Studio to make a kiwi
configuration, then download and tweak the kiwi config to add your other
software to it and use kiwi to build the ISO.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On Fri, 24 Apr 2015 02:46:01 +0000, Techlord wrote:

> UPDATE: I was able to do this with SUSE Studio in the end, but would
> still LOVE to know what I’m missing in the ISO building stage, that
> stops the kernel from booting.

It would be interesting to know what messages are on the console when the
boot fails. That would probably be the best indicator of what’s wrong. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Good point Jim. I thought so too…but even in verbose mode…it displays no errors…it boots the live CD like it going to work, I select the menu option…It looks like its going to load…sits for about 1 minute, and reboots the live cd…

On Fri, 24 Apr 2015 04:26:02 +0000, Techlord wrote:

> Good point Jim. I thought so too…but even in verbose mode…it
> displays no errors…it boots the live CD like it going to work, I
> select the menu option…It looks like its going to load…sits for
> about 1 minute, and reboots the live cd…

You might try toggling to vt10 (I think it is - it’ll be one of the later
ones) and see if there’s anything reported on that screen.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C