After not having dealt with Slackware for several years, I needed to create a virtual machine with Slackware. I had to solve two problems, and am writing below how they were solved for the benefit of future Slackware based virtual machine builders.
- Slackware version: 13.37 for 32-bit x86, installed from DVD
- VirtualBox version: 4.1.18 r78361, Debian Squeeze amd64
Virtual machine parameters:
- Operating system: Linux
- Version: Linux 2.6 (32-bit being implied) – the combobox list had no entry for Slackware.
- Base memory: 1.5GB
- Hard disk: 30GB
- Host I/O caching: on (to silence a warning).
When trying to boot from the DVD in order to install Slackware 13.37, the hugesmp.s kernel failed to boot.
I found the following bug reports:
Some of the above bug reports had the suggestion to turn on VT-x/AMD-V acceleration. However it was already turned on in my virtual machine. I tried several combinations of flags in Settings/System/Processor and Settings/System/Acceleration but of no avail.
The problem was solved by changing the IDE controller type from PIIX4 to PIIX3 in Settings/Storage/IDE Controller/Type.
The initial reboot after installation failed. From the stack trace it seemed that the problem was due to unknown kernel options. I found some bug reports, but they were not directly related to this.
I successfully rebooted the virtual machine when entering the following as LILO prompt:
Linux pci=routeirq acpi=off pci=noacpi
Then, the problem was solved by editing /etc/lilo.conf as follows. The line
was changed to
append=” vt.default_utf8=0 pci=routeirq acpi=off pci=noacpi”
And then /sbin/lilo was run (without arguments).