slackware-13.1.patch is the patch which modify rc.0rc.6rc.M rc.K and rc.inet2. It must be applyed after the creation of the guest. In the patch I switched off all the mounts and executable that are related to the hardware.

rc is the startup script for the virtual server. It will be automatically copied in /etc/rc.d/init.d/rc

Download the slack packages

First of all select a minimal set of packages to be installed on the virtual server. This list of 108 packages is based on the Minimal System reported at http://slackwiki.org/Minimal_System without all hardware, kernel and multimedia related packages. The install leads to a guest of about 448M of size.

I assume that the packages to be installed are stored in the slackware_pkg folder. If not, adjust its location editing the make_slack_vserver.sh script.

You can download my minimal set of packages running the shell script download_slack_pkg.sh

Adjust the package PKG_LIST, enter your favorite ftp server and run from the command line

./download_slack_pkg.sh

Make the guest

Now let's create the guest and install the packages. As you know you must choose at least a "name", a "context" and an ip. In addition you have to modify most of the rc.* startup scripts removing all the hardware related daemons, and finally replace the /dev dir.

Hints

My patch has been tested with Slackware 13.1, but I suppose that this solution will work also in future version with some small adjustment. In any case, if the patch doesn't work with your version of Slackware try to replace rc.0 rc.6 rc.K rc.M rc.inet2 with these (download here). In addition remember to

leave /etc/rc.d/init.d/rc script as is. These is a very essential script which is started first and runs rc.M on startup or rc.6 on shutdown

chmod -x rc.inet1 the network is brought up configuring the guest by /etc/vservers