Porteus 32-bit v09 kernel modifications
Posted: 13 Jun 2011, 17:38
First off, I'm willing to move to "rc2" if it makes a difference, my only marriage to v09 is that I have some modules for it already.
In light of my other posts regarding removing HDD mounting functionality (http://forum.porteus.org/viewtopic.php?f=53&t=573), as well as a goal to remove network device support, my best option sounds like re-compiling the kernel, excluding modules providing 1. Network device drivers, and 2. Filesystem support (except for iso because it's a live-cd).
When I use porteus.config as the configuration, my kernel (2.6.37) compiles just fine. I try to modify porteus.config via "make menuconfig" and I remove all of the networking and fs support that I don't want, but I really don't understand which packages contain what. Predictably, when I try to compile, I run into compilation errors from "undefined variable" or some such error. I've tried a couple of different configurations, but I run into the same errors.
(btw is 2.6.37 the kernel that v09 uses? somewhere I thought I saw 2.6.39, but "uname" says 2.6.37)
I'd rather not re-compile after every package/module exclusion to figure out by process of elimination which one is causing my errors. I would be greatly appreciative if someone could help me understand which modules should be excluded to acheive my goals.
My goals, again are to:
(1) Remove network drivers. I don't want the computer used with the live-cd to be able to connect to a local or wireless network, or even sniff the wireless medium.
(2) Remove the ability to access local hard drives. Whether this is by removing interface support, i.e. ata/sata/usb, etc, or by removing support for File Systems, or any other mechanism. One suggestion was to remove FS support, which seems reasonable, and I see the options for it in the menuconfig.
THANKS
In light of my other posts regarding removing HDD mounting functionality (http://forum.porteus.org/viewtopic.php?f=53&t=573), as well as a goal to remove network device support, my best option sounds like re-compiling the kernel, excluding modules providing 1. Network device drivers, and 2. Filesystem support (except for iso because it's a live-cd).
When I use porteus.config as the configuration, my kernel (2.6.37) compiles just fine. I try to modify porteus.config via "make menuconfig" and I remove all of the networking and fs support that I don't want, but I really don't understand which packages contain what. Predictably, when I try to compile, I run into compilation errors from "undefined variable" or some such error. I've tried a couple of different configurations, but I run into the same errors.
(btw is 2.6.37 the kernel that v09 uses? somewhere I thought I saw 2.6.39, but "uname" says 2.6.37)
I'd rather not re-compile after every package/module exclusion to figure out by process of elimination which one is causing my errors. I would be greatly appreciative if someone could help me understand which modules should be excluded to acheive my goals.
My goals, again are to:
(1) Remove network drivers. I don't want the computer used with the live-cd to be able to connect to a local or wireless network, or even sniff the wireless medium.
(2) Remove the ability to access local hard drives. Whether this is by removing interface support, i.e. ata/sata/usb, etc, or by removing support for File Systems, or any other mechanism. One suggestion was to remove FS support, which seems reasonable, and I see the options for it in the menuconfig.
THANKS