moving an autostarted VM to antoher host

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Rupat
Posts: 13
Joined: 15. Dec 2020, 10:53

moving an autostarted VM to antoher host

Post by Rupat »

Hi,
im an setting up a second VM server, on my main server the VM get started on system boot.
I copied one VM to the new machine and showvminfo shows me "Autostart Enabled: enabled".
When i run "modifyvm Webserver --autostart-enabled off" if get this message:

Code: Select all

VBoxManage: error: Removing machine 'Webserver' to the autostart database failed with VERR_FILE_NOT_FOUND
VBoxManage: error: Details: code NS_ERROR_UNEXPECTED (0x8000ffff), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "COMSETTER(AutostartEnabled)(ValueUnion.f)" at line 3150 of file VBoxManageModifyVM.cpp
i guess the autorstart info on the old server is stored somewhere else(/etv/vbox?)
can i ignore this error?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: moving an autostarted VM to antoher host

Post by mpack »

Have a read of section 9.21 of the user manual.
Rupat
Posts: 13
Joined: 15. Dec 2020, 10:53

Re: moving an autostarted VM to antoher host

Post by Rupat »

yes, that is what i did on both machines, but the autostart setting is stored in /etc/vbox, which i didnt copy from the source machine.
I dont want the VM not to autostart on the seconed machine, but part of the autostart information is stored inside the VM config and I want to remoce this setting
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: moving an autostarted VM to antoher host

Post by mpack »

The user manual section tells you how to set up the feature from scratch.
Post Reply