Find the answer to your Linux question:
Results 1 to 6 of 6
I am running virtualbox under opensuse 10.3 Each time I boot up I need to run /etc/init.d/vboxdrv setup how do I get this to run automatically at boot. This is ...
  1. #1
    Linux Newbie
    Join Date
    Dec 2006
    Posts
    153

    VirtualBox

    I am running virtualbox under opensuse 10.3

    Each time I boot up I need to run /etc/init.d/vboxdrv setup

    how do I get this to run automatically at boot.

    This is what it does if it helps.

    linux-dpph:~ # /etc/init.d/vboxdrv setup
    Stopping VirtualBox kernel module done
    Recompiling VirtualBox kernel module, NOT. It has been packaged. done
    Starting VirtualBox kernel module done
    linux-dpph:~ #

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    When you boot, run this command before anything else and post back
    Code:
    /sbin/lsmod |grep vboxdrv
    After that run this command...you should not get any message but if you do post it back
    Code:
    sudo /sbin/modprobe vboxdrv

  3. #3
    Linux Newbie
    Join Date
    Dec 2006
    Posts
    153
    Thanks for that but I still have to do it all over again after reboot, how can I make the command permanent, ie load at boot.

  4. #4
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Well I was just looking for the results of those commands , but it seems that the modlue is not loading. It doesn't need to be rebuilt, just loaded. In SUSE the best way to do this is to open YaST, go to /etc/sysconfig editor and add the value vboxdrv to System/Kernel/MODULES_LOADED_ON_BOOT

    You just navigate the tree and enter that value, then restart.

  5. #5
    Linux Newbie
    Join Date
    Dec 2006
    Posts
    153
    Thanks.
    Done that, then I noticed it had not started in system services (runlevel).
    all ok now
    thanks again.

  6. #6
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Glad you got it working

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...