Dec 08, 2025 - 12:06 AMDeutsch | English
Hello unlogged user [ Register | Log in ]

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
grumpshappy
Post subject: How to run on boot  PostPosted: Jun 06, 2008 - 08:31 PM



Joined: Mar 26, 2008
Posts: 43

I've installed virtualbox 1.6. This command "/etc/init.d/vboxdrv Setup" must be run as root at each boot. How can I do this automatically at each boot?
 
 View user's profile Send private message  
Reply with quote Back to top
DerangedGonzo
Post subject: How to run on boot  PostPosted: Jun 06, 2008 - 08:46 PM



Joined: Jul 29, 2007
Posts: 288

you only have to do it once:
as root in console:
unfreeze-rc.d
/etc/init.d/vboxdrv Setup
freeze-rc.d

_________________
Ich bin nur dafür verantwortlich was ich SAGE,
Nicht das was du verstehst.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Kano
Post subject: How to run on boot  PostPosted: Jun 06, 2008 - 08:46 PM



Joined: Dec 17, 2003
Posts: 16812

Thats the correct why to update/install latest vbox + enable usb support (after reboot):
Code:
dpkg --purge $(dpkg -l|awk '/virtualbox/{print $2}')
unfreeze-rc.d
apt-get instal dkms
dpkg -i virtualbox*.deb
freeze-rc.d
adduser $(getent passwd 1000|sed 's/:.*//') vboxusers
sed -i 's|\(domount usbfs usbdevfs /proc/bus/usb usbfs -onodev,noexec,nosuid\).*|\1,devgid='$(getent group vboxusers|cut -f3 -d:)',devmode=664|' /etc/init.d/mountkernfs.sh
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.