Set up

Install http://am.xs4all.nl/morphix/cloop/cloop-utils_1.02-2_i386.deb

Download the Morphix ?HeavyGUI/GNOME image from Sourceforge. One URL is available here: http://heanet.dl.sourceforge.net/sourceforge/morphix/MorphixCombined-Gnome-0.4-1.iso

Mount the ISO with:

 mount -o loop MorphixCombined-Gnome-0.4-1.iso mountpoint/

Mainmodule hacking

Uncompress the morphix mainmodule:

 extract_compressed_fs mountpoint/mainmod/MorphixMain-Gnome.mod > temp.iso

Mount the new uncompressed ISO:

 mount -o loop temp.iso mountpoint2/

You should now make a new copy of that mounted file:{{{

}}}

Change root to that new directory:

 chroot mainmod-root/ bash

Now you are sitting in a chrooted version of the filesystem that will boot.

Now you can start installing new packages, remove packages, and use it as you would a normal system. Please do not go and upgrade packages just because there is a new version available. Morphix is a delicate creature and upgrading all of the packages will break lots. Installing new packages and removing others is the safest bet. [ Can you explain more? Is there a list of patches needed to make packages Morphix friendly? What sort of changes were needed? ]

Edit the sources.list and the resolve.conf as needed.

Remove the following packages:

 apt-get remove --purge filmgimp gkrellm vlc gnome-vlc biword-co xawtv, mplayer bug-buddy 

(edit this list if you add or remove from it).

Add new pacakges:

 apt-get install scribus mozilla-firefox

Once you're finished here umount /proc and close the chroot.

Use the script http://am.xs4all.nl/morphix/scripts/module-builder.pl which will compress and everything to build a new compressed module:

 module-builder.pl unpacked-module-directory outputfile.mod

Hacking the base/morphix module

Mount the moprhix module by uncompressing, mounting, and copying as you did above.

When you are done, you will compress it in the same way as well.

Changing GNOME Config

GNOME configurations are nasty. The best I've figured out on how to do it is to run GNOME 2.4 (for example, from a morphix CD), make changes to the configuration, and then to copy it to another computer an use that configuration to put into /etc/skel/

It's ugly but it works.

Removing proprietary nvidia code

See the bit in the DebianNPTODO as it's all the information I have and I have yet to actually do this bit.

It will involve some selective removal of code and some conversions from nvidia to nv in the X configuration scripts.

Wrapping it all back up

Alright, lets come back to that copy of the iso that you made before (a cp -Rp mountpoint/ new_iso may be in order). Remove the old ?MailModule in mainmod/ and place in there your mainmodule that you've created. The name doesn't mattter here.

Also, copy the new base/morphix image that you've created into place with the same name.

You'll want to replace the index.html and cdrom.ico and the images/ files with something other than purely Morphix related stuff at this point.

Once you have everything as you like it, you wrap the whole thing up with mkisofs:

 mkisofs -r -b base/boot.img -c boot.catalog -o ../morphix-custom.iso -J -v -l -L -T -V "Morphix-Custom" .

Burn to a CD and now test.

RESOURCES

The Morphix Wiki is an extremely useful resource. Check out the following pages:

And more.