remaster 000-kernel.xzm and remove /lib/modules/`uname -r`/kernel/drivers/net/ completely.How does this work, how do I go about this? Is there documentation that details a similar process?
This is easiest to do from within Porteus, because the tools are built in.
Go to your USB drive, CD drive, and find the file /porteus/base/000-kernel.xzm. Copy it to another location to work on it (this location should be on a linux filesystem -- ext2, ext3, etc., so that symlinks and permissions are preserved --your porteus desktop will work).
From a command line, follow these steps:
xzm2dir 000-kernel.xzm 000-temp
cd 000-temp/lib/modules/'uname -r'/kernel/drivers
rm -r net
dir2xzm 000-temp 000-kernel.xzm
Or, from GUI,
Right click on the module (on your desktop)
select extract xzm module
navigate into the 000-kernel folder that is created, to 000-kernel/lib/modules/`uname -r`/kernel/drivers/
delete the 'net' folder
go back to your desktop, delete the 000-kernel.xzm module
right click on the 000-kernel folder, and select 'convert to xzm module'
You now have a remastered 000-kernel.xzm module on your desktop. Overwrite it to your /porteus/base/000-kernel.xzm, and your kernel module is now missing the 'net' folder.
If you are building this into a new ISO rather than a flash drive, then you should copy all of the files from the ISO to another location, like your desktop, switch out the 000-kernel.xzm modules (put your new one in /porteus/base and delete the old one), then run the make_iso.sh script inside the /porteus folder (the one in your temporary location). That will take all of the files in those /porteus and /boot folders and create an ISO image out of them, which you can burn to a CD.