×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Virtualbox: Difference between revisions

    Content added Content deleted
    imported>Hundfred
    (Created page with 'i wanted to start the vm inside of virtualbox on a windows-host while the host-machine is starting up, and shutting down, when the host-machine is going down. i used the followi…')
     
    imported>Hundfred
    No edit summary
    Line 10: Line 10:


    4)[[http://www.ntwind.com/software/utilities/hstart.html hstart]] (Hidden Start (or Hstart) is a small startup manager that allows console applications to be started without any windows in the background and much more. )
    4)[[http://www.ntwind.com/software/utilities/hstart.html hstart]] (Hidden Start (or Hstart) is a small startup manager that allows console applications to be started without any windows in the background and much more. )

    install virtualbox, and windows service commander, and unpack srvstart and hstart
    in one dir
    create a file called srvstart.ini, that looks like this

    example:
    <pre>
    [vbox_configuration]
    startup=c:\programme\sun\virtualbox\virtualbox.exe

    [pxesrv]
    startup=C:\PXE-BOOT-UTILS\srvstart\hstart.exe /NOCONSOLE /WAIT "c:\programme\sun\virtualbox\vboxheadless.exe --startvm pxe_server -p 3391"
    shutdown_method=command
    shutdown=c:\programme\sun\virtualbox\vboxmanage.exe controlvm pxe_server acpipowerbutton
    </pre>

    then start the windows service commander and create two services
    (screenshot)
    the first one is needed to configure the virtual box in the context of the Rights of "LocalService".

    <pre>
    C:\PXE-BOOT-UTILS\srvstart\srvstart.exe vbox_configuration -c c:\pxe-boot-utils\srvstart\srvstart.ini
    </pre>

    the second one is to start and stop the vm
    <pre>
    C:\PXE-BOOT-UTILS\srvstart\srvstart.exe pxesrv -c C:\PXE-BOOT-UTILS\srvstart\srvstart.ini
    </pre>

    Revision as of 13:01, 29 September 2009

    i wanted to start the vm inside of virtualbox on a windows-host while the host-machine is starting up, and shutting down, when the host-machine is going down.

    i used the following tools to do this:

    1)[virtualbox]

    2)[windows service commander] [NullLogics] (can be removed later)

    3)[srvstart] (SRVSTART.EXE is a Win32 executable and DLL which allows you to run commands as if they were Windows NT services.)

    4)[hstart] (Hidden Start (or Hstart) is a small startup manager that allows console applications to be started without any windows in the background and much more. )

    install virtualbox, and windows service commander, and unpack srvstart and hstart in one dir create a file called srvstart.ini, that looks like this

    example:

    [vbox_configuration]
    startup=c:\programme\sun\virtualbox\virtualbox.exe
    
    [pxesrv]
    startup=C:\PXE-BOOT-UTILS\srvstart\hstart.exe /NOCONSOLE /WAIT "c:\programme\sun\virtualbox\vboxheadless.exe --startvm pxe_server -p 3391"
    shutdown_method=command
    shutdown=c:\programme\sun\virtualbox\vboxmanage.exe controlvm pxe_server acpipowerbutton
    

    then start the windows service commander and create two services (screenshot) the first one is needed to configure the virtual box in the context of the Rights of "LocalService".

    C:\PXE-BOOT-UTILS\srvstart\srvstart.exe vbox_configuration -c c:\pxe-boot-utils\srvstart\srvstart.ini 
    

    the second one is to start and stop the vm

    C:\PXE-BOOT-UTILS\srvstart\srvstart.exe pxesrv -c C:\PXE-BOOT-UTILS\srvstart\srvstart.ini
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.