By Katsumii-Oracle on Dec 09, 2014
I hope I didn't anger anyone when I wrote the entry below.
It wasn't truely GUI-less after all. I used my Windows 7. True GUI-less-ness shouldn't require using Windows.
1st level of GUIless-ness in VBox
So, here's 2nd level of GUIless-ness capability of VirtualBox software.
You can send keystrokes to guest's console by using VBoxManage command's
'controlvm keyboardputscancode' verb.
So one can do 'certain' simple things with pure command line interaction.
For example, with command sequences like below, you can boot linux guest from 2nd GRUB entry.
'50' is scan code for 'DOWN' key and 1c is 'Enter'.
$ vboxmanage startvm node1 --type headless $ # sleep some seconds $ VBoxManage controlvm node1 keyboardputscancode 50 d0 $ VBoxManage controlvm node1 keyboardputscancode 50 d0 $ VBoxManage controlvm node1 keyboardputscancode 1c 9c
Somehow, after booting with this, my console stops accepting any key.
I'm still searching for a solution.