Appendix Transition

This second documents the transitional changes version to version of Morphix, especially bases.

It reflects the README.transition on the CDROM.

Transition to unionfs-wielding base (0.5-pre5)

Since Morphix 0.5-pre5 unionfs is used instead of cowloop.

Unionfs doesn't require a specific filesystem. You can still use the cowloop-way with module-builder -t ext3, or you can use the default (iso9660). Both should work.

Transition to non-floppy emulation base

The files in /base/boot.img (the floppy image) are now available in /boot ISO-construction now happens using the following command:

find $SRC/ -type f -print0 | xargs -0 md5sum > $SRC/md5sums.txt
mkisofs -pad -l -r -J -v -V "Morphix LiveCD" -b boot/grub/iso9660_stage1_5 -c base/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -hide -rr -moved -o $DEST $SRC

Transition to >=2.6.x-wielding base

Use the tips below, however be aware that you need cloop-utils version 2.0 or higher. You may also use squashfs and zisofs-compressed modules, if you prefer these, however the base module itself (/base/morphix) should be compressed using cloop.

Morphix Readme on <0.4-0c transition to >=0.4-1

What are the main changes?

  • new cloop version, incompatible with old version
  • different loadmod.sh needed for mainmodules
  • /cdrom, /cdrom1 and /floppy need to be directories
  • autofs disabled

Make sure you have the (old) mainmodule unpacked in a directory (you can get the old extract_compressed_fs from http://am.xs4all.nl/morphix/scripts to accomplish this). Get the latest cloop-utils from Debian sid or Morphix 0.4-1 (or grab them from http://developer.linuxtag.net/knoppix/). Then, build the module like usual. If you want there is a module-builder script up on http://am.xs4all.nl/morphix/scripts/module-builder2.pl

You can get the new loadmod.sh from http://am.xs4all.nl/morphix/loadmod-0.4-1.sh or from /morphix/loadmod.sh in a 0.4-1 mainmodule. Copy it over the old loadmod.sh.

rm /cdrom, rm /floppy and mkdir /cdrom, mkdir /cdrom1, mkdir /floppy

uncomment anything in your /morphix/init.sh regarding autofs. Use the /morphix/init.sh of 0.4-1 mainmodules as a guide if you are unsure.