You are not logged in.
Hi All,
I'm running my Arch lappy without any any initscripts or sysvinit installed as I'm running and playing with systemd.
Just wondering if anyone can guide me on how to build the modules for Virtualbox?
Cheers,
Mitch.
Offline
This is rather an installation related topic.
Moving there.
To know or not to know ...
... the questions remain forever.
Offline
/etc/rc.d/vboxdrv calls build scripts from /usr/lib/virtualbox/src/* - this is also where the driver source code is.
Offline
And this is why I've asked ioni to move the rebuild script out of /etc/rc.d. It is not some sort of daemon that relies on /sbin/init. It's just a bash script that recompiles the modules. You run `/etc/rc.d/vboxdrv setup' regardless of the init you booted off of.
Offline
+1 to that. Its presence in /etc/rc.d never made sense to me.
Offline
HI All,
Thanks for the responses. Yes, this would be installation-related, so I thank you for moving it to the right place
The thing is falconindy, I completely removed initscripts. Everything has been working fine for about two months so I got rid of the older stuff. This is what I get without initscripts installed:
[mitchell@richters-laptop ~]$ sudo /etc/rc.d/vboxdrv setup
/etc/rc.d/vboxdrv: line 3: /etc/rc.conf: No such file or directory
/etc/rc.d/vboxdrv: line 4: /etc/rc.d/functions: No such file or directory
/etc/rc.d/vboxdrv: line 23: stat_busy: command not found
/etc/rc.d/vboxdrv: line 30: stat_done: command not found
/etc/rc.d/vboxdrv: line 42: stat_busy: command not found
/etc/rc.d/vboxdrv: line 44: stat_done: command not found
/etc/rc.d/vboxdrv: line 47: stat_busy: command not found
/etc/rc.d/vboxdrv: line 49: stat_done: command not found
/etc/rc.d/vboxdrv: line 52: stat_busy: command not found
/etc/rc.d/vboxdrv: line 54: stat_done: command not found
/etc/rc.d/vboxdrv: line 57: stat_busy: command not found
/etc/rc.d/vboxdrv: line 59: stat_done: command not found
/etc/rc.d/vboxdrv: line 62: stat_busy: command not found
[mitchell@richters-laptop ~]$
I don't even know what package owns "stat_done" and "stat_busy", I can't see it in the file listing for initscripts.
I can see how it's building now from the script and will manually compile for now .
Last edited by mj4077au (2011-09-10 21:06:22)
Offline
I don't even know what package owns "stat_done" and "stat_busy", I can't see it in the file listing for initscripts.
They are functions defined in:
[...] /etc/rc.d/vboxdrv: line 4: /etc/rc.d/functions: No such file or directory [...]
Last edited by jakobm (2011-09-10 21:12:05)
Offline
Best fix ever:
# /etc/rc.d/vboxdrv setup 2>/dev/null
The script works just fine without the fancy output.
Nice . It does seem to still work . By the way, cheers for all your hard work with systemd
Last edited by mj4077au (2011-09-11 06:01:10)
Offline