Wolvix Wiki : UsingModules

HomePage :: Wolvix.org :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Using Modules in Wolvix



Loading modules running 'live':


Note! All modules loaded when 'running live' are lost on reboot, see below for how to add modules permanently to the ISO.

Loading a module is simple, after acquiring the module you wish to load, use this command from a terminal:
uselivemod module.lzm


If you've downloaded or placed the module in a particular directory the command would be:
uselivemod /path/module.lzm


Note! If the module you load is stored in memory, like in your 'home' directory when running Wolvix live from CD, instead of on physical storage media, it will be moved to the /mnt/live/memory directory before it's loaded.

Warning! Some modules may still cause the system to freeze, requireing the system to be hard rebooted, so make sure you've save everything you like to keep to a physical media before loading modules you don't know for sure will work.


Adding modules to the Wolvix ISO:


The easy way:

Start the program ISO Master found under: System --> ISO Master In the programs menu and open ISO you want to edit. The content of the ISO will be in the bottom window and you should see a wolvix directory there. Open it and you'll see:

COPYING
LICENSE
README
base
livecd.sgn
make_iso.bat
make_iso.sh
modules
optional
rootcopy
save
tools

Copy all the modules you'd like to add to your new ISO to the modules/ directory found here. Modules which you just want to load on demand with the load= CheatCode can be placed in the optional/ directory.
Once you are done open the Image menu in ISO Master and select Save As. Give the new ISO a name and save it.

The hard way:

Note! You need some hard disk space which is writable from Wolvix to do this. 1.5GB should be enough.

Tip! You can use the hard drive partition program 'GParted' to create a partition with a Linux writable filesystem. I recommend using the 'ext3' filesystem.

You need to mount the Wolvix ISO you are going to remaster to a directory, so you can copy the files inside it to somewhere writable. It's not possible to add files to the existing ISO as it is read-only.

Once you have a place to perform the remaster it's time to create some work directories. So 'cd' to where you'd like to work and make your directories:
cd /mnt/hdb3/
mkdir -p mywolvix/mount
mkdir -p mywolvix/remaster
cd mywolvix/


You should now be inside the 'mywolvix' directory, so mount the Wolvix ISO to the mount/ directory you just created:
mount -o loop /mnt/hdb3/wolvix.iso mount/


Now copy all the files from the mount/ directory to the remaster/ directory:
cp -ra mount/* remaster/


If you take a look inside the remaster/ directory now, you should see two directories:

boot
wolvix

The boot directory contains the kernel and boot loader and the wolvix directory contains the data files.

Open the wolvix directory and you'll see some files and directories:

COPYING
LICENSE
README
base
livecd.sgn
make_iso.bat
make_iso.sh
modules
optional
rootcopy
save
tools


Copy all the modules you'd like to add to your new ISO to the modules/ directory found here. Modules which you just want to load on demand with the load= CheatCode can be placed in the optional/ directory.

Once you've copied over all the modules you'd like to include, it's time to create the new ISO.

Change into to remaster/wolvix/ directory.
cd remaster/wolvix/

And run the make_iso.sh script:
sh make_iso.sh ../../myresmaster.iso


Go back one step to the mywolvix/ directory again with the command:
cd ../

And unmount the original ISO like this:
umount mount/


There you have it, a new and shiny remastered ISO. Burn it to a CD, boot it and marvel at your newfound remastering skills.


CategoryGuide

There is one comment on this page. [Display comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0828 seconds