hi everyone!!
i've been looking everywhere to know how to power on an existing VM that is powered off. I'm using it in headless mode. my server hasn't got GUI so i have a client that access the server first with ssh and after with an rdp viewer .i created a guest and installed centos5.2 correctly.
the main problem i have is once i do shutdown -h now(guest), when i connect to the server with ssh i dont now wich command is to set up again the VM that is created and powered off. i use VBoxHeadless/VBoxManage -startvm "name" but it installs it again AND I DONT WANT TO INSTALL IT EVERYTIME I POWER IT OFF.
can somebody give me a clue please!!!
thanks
VBOXHEADLESS cannot run an existing VM
-
wikisb
- Posts: 19
- Joined: 9. May 2011, 18:25
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: CENTOS
Re: VBOXHEADLESS cannot run an existing VM
i also tried with VBoxManage controlvm resume /.... but nothing !!
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VBOXHEADLESS cannot run an existing VM
VBoxHeadless --startvm <uuid|name> will start the machine
If it is wanting to install every time you start you have left the install cd/iso in the virtual drive. Remove it.
See Chapter 8 VBoxManage in your VirtualBox users manual
If it is wanting to install every time you start you have left the install cd/iso in the virtual drive. Remove it.
See Chapter 8 VBoxManage in your VirtualBox users manual
-
wikisb
- Posts: 19
- Joined: 9. May 2011, 18:25
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: CENTOS
Re: VBOXHEADLESS cannot run an existing VM
Hi Perryg!!
thanks for your post. it solved my problem
thank you very much
PS if someone wonders what i did:
VBoxManage storageattach "VMname" --storagectl "name_Controller" --port 0 --device 1 --type dvddrive --medium none (instead of path/to/iso).
thanks for your post. it solved my problem
thank you very much
PS if someone wonders what i did:
VBoxManage storageattach "VMname" --storagectl "name_Controller" --port 0 --device 1 --type dvddrive --medium none (instead of path/to/iso).