VirtualBox: startup guest machine in background

October 31st, 2010 mysurface

Usually we start our virtual machine by clicking through the GUI. If your guest machine is a server, it would be making more sense to be run as background process. Well, my case, I have ‘gentoo’ installed in virtual box, which expose to outside world through ssh. I would like it to start as background […]

Posted in VBoxHeadless, VBoxManage, VirtualBox | Hits: 203914 | 14 Comments »

VirtualBox: Port Forwarding for NAT network

October 29th, 2010 mysurface

If you came across the solution of setting up port forwarding for ssh port like this: VBoxManage setextradata [guestname] “VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort” 2222 VBoxManage setextradata [guestname] “VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort” 22 VBoxManage setextradata [guestname] “VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol” TCP You may want to try out this alternative approach. This approach is using the same command ‘VBoxManage’, but it is more flexible and simple. […]

Posted in VBoxManage, VirtualBox | Hits: 204538 | 8 Comments »