VirtualBox on a CRUX host
Posted: 2024-05-12 Filed under: system | Tags: CRUX, virtualbox Leave a commentFor virtualization, I use VirtualBox, installed from the All distributions binary package provided by upstream (*.run). Since CRUX is a bit of an esoteric distribution, startup stuff and building of kernel modules does not happen automatically. Therefore, calling certain scripts should be done manually.
At the moment, I am using VirtualBox version 7.0.16-162802 on CRUX 3.7 with LTS kernel 6.1.90. So, executing the installer like this…:
bash VirtualBox-7.0.16-162802-Linux_amd64.run
…installs VirtualBox in /opt/VirtualBox, but returns the following errors:
install_init_script: error: unknown init type install_init_script: error: unknown init type install_init_script: error: unknown init type install_init_script: error: unknown init type addrunlevel: error: unknown init type addrunlevel: error: unknown init type addrunlevel: error: unknown init type addrunlevel: error: unknown init type
So, what works for me is simply adding the following to /etc/rc.local:
# Load stuff for VirtualBox /opt/VirtualBox/vboxdrv.sh start
That’s it.
