From owner-freebsd-emulation@FreeBSD.ORG Wed Jan 13 20:51:39 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72F0310656BB for ; Wed, 13 Jan 2010 20:51:39 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 496108FC1A for ; Wed, 13 Jan 2010 20:51:38 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NVABm-0002DI-Ls for freebsd-emulation@freebsd.org; Wed, 13 Jan 2010 12:51:38 -0800 Message-ID: <27151781.post@talk.nabble.com> Date: Wed, 13 Jan 2010 12:51:38 -0800 (PST) From: Hubert Tournier To: freebsd-emulation@freebsd.org In-Reply-To: <4AAD95C2.7040907@kc8onw.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: hubert@frbsd.org References: <4AAD95C2.7040907@kc8onw.net> Subject: Re: Virtualbox and VRDP X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 20:51:39 -0000 Hello Jonathan Stewart-3 wrote: > > I just installed virtualbox on my server without X11 support intending > to run it headless and now I find that the Virtual Remote Display > Protocol support is only available in the closed source version. > For Unix-like VMs, this is not a problem provided that you enable an SSH server in order to do your remote administration For graphical VMs (Windows...), I suppose that you could try the VBoxSDL frontend with remote X-Window display, but I haven't tested this yet. Jonathan Stewart-3 wrote: > > Are there any other options that would allow me to set up a VM remotely > without installing X? I suppose I could set up a VM locally and then > copy it to my server once it's configured for remote ssh access but that > would involve copying several GB over the internet, a rather slow > process on my connection. > I described a whole process to do that (which I called Virtual to Remote Physical - V2RP) at the following address: http://www.frbsd.org/fr/dedibsd/index.html http://www.frbsd.org/fr/dedibsd/index.html (sorry it's only in French, but you should get the overall idea with an online translator and the screen captures). The key part of this is an undocumented VirtualBox command which will enable you to convert a VDI with the OS that you want to remote install to an hard disk image: VBoxManage internalcommands converttoraw image.vdi image.raw Then you compress that with the best available tool on your target system... Then you start your target system using some sort of live CD (most dedicated servers providers offer this as a rescue system)... And you paste your hard disk image to the remote hard drive. For example under the Ubuntu Live rescue system of my current provider: wget -O - htpp://URL/freebsd8.raw.bz2 | bunzip2 | dd of=/dev/sda bs=1M As a rule of thumb, you can count from 300 to 600 MB for a compressed image of a full FreeBSD install (16 to 20 GB) that you want to "paste" on your remote server. Usually, I don't configure the /home filesystem initially, and do it after the remote server has been installed by creating a new partition-slice in order to recover all the remaining space. I have some scripts which automate the whole process for FreeBSD hosts, which I intend to release in a few weeks. I've been using this since last summer in order to build a private hybrid cloud for my company using FreeBSD and VirtualBox. Works really fine for us, thanks to the efforts of the VirtualBox porting team! Best regards, -- View this message in context: http://old.nabble.com/Virtualbox-and-VRDP-tp25429038p27151781.html Sent from the freebsd-emulation mailing list archive at Nabble.com.