From owner-freebsd-questions@FreeBSD.ORG Fri Nov 16 21:39:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 657B8753 for ; Fri, 16 Nov 2012 21:39:46 +0000 (UTC) (envelope-from ryallsd@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 24EEE8FC14 for ; Fri, 16 Nov 2012 21:39:45 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so5575374iea.13 for ; Fri, 16 Nov 2012 13:39:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=24W0LBXIazaVJn/QTLPmtqcl/U7FI72KmfxyaV0R5Kk=; b=0Jj0HCyYRi7rxkD0SZChTqwxUGP5B5VkxcM7QAiOpyxuwX0CCCLrlUIahbMe26fdwp UsYB/3KfqeTkUKW2FJD8E2uKrxwix/N2AmQZkpXtveTG75fup+EYi2yJh6nggq1stOvJ KE/I0Yf0TVqTYnAKtIEwbA9B6oZNHtJ/jhxRenNW7DC85LrraRX0L3xrlMD4YVW+8x1A TgPPJGgxsScp062a1i4seyZ+C72FcbVl/2NwX3UbI0yToiTh5iiktiEghgHXdocMM5dl VsHUk4msM8BBP5drVHtA8lcV4Os0PIhaylZFRYT6ulpTIigs6uy1ncGWBFJw1V0DC/mk 1/tQ== MIME-Version: 1.0 Received: by 10.50.0.193 with SMTP id 1mr68294igg.0.1353101985474; Fri, 16 Nov 2012 13:39:45 -0800 (PST) Received: by 10.64.13.199 with HTTP; Fri, 16 Nov 2012 13:39:45 -0800 (PST) In-Reply-To: <50A6AD92.2000904@a1poweruser.com> References: <50A65471.7050706@a1poweruser.com> <20121116121408.71d86341@papi> <50A65F76.2060009@a1poweruser.com> <20121116130302.37a87580@papi> <50A6AD92.2000904@a1poweruser.com> Date: Fri, 16 Nov 2012 13:39:45 -0800 Message-ID: Subject: Re: virtualbox with FreeBSD as host From: Derrick Ryalls To: Fbsd8 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 21:39:46 -0000 On Fri, Nov 16, 2012 at 1:18 PM, Fbsd8 wrote: > >>>>> Section 23.3 of the handbook speaks about FreeBSD as a host. >>>>> No where in that section does it say anything about virtualbox >>>>> running from the FreeBSD host command line or from A Desktop. >>>>> >>>>> Do I need a Desktop for virtualbox to run under? >>>>> >>>> >>>> NOPE !! >>>> >>>> VBoxHeadless -startvm "vm name" >>>> >>>> Issueing VirtualBox from host command line gets this msg. >>> Failed to open the x11 display >>> >>> VBoxHeadless -startvm "vm name" assumes that there a vb guest >>> all ready configured which is not my case. >>> >>> >> Right! I assumed you already had the VM ready. Sorry. >> >> >> There is no man page for VBoxHeadless command. >>> >> >> There are those: >> >> http://download.virtualbox.**org/virtualbox/UserManual.pdf >> >> and >> >> http://www.virtualbox.org/**manual/ >> >> VBoxHeadless is covered on both. >> >> How do a configure a vb guest from the host command line? >>> >>> >> VBoxManage can do all that from command line. Check it out or follow my >> previous e-mail. >> >> > I read the UserManual and think I am barking up the wrong tree. > So lets start over again with what the wanted desired result is. > I have 9.0 installed on my 200gb hard drive, it's configured to use the > first 100gb leaving the second 100gb free. I was going to install XP in > the second half and have a duel boot config. Then I find out XP has to > be install first on the HD meaning I have to install 9.0 from scratch > again. I read a post on this list where it was suggested to run > Virtualbox on my 9.0 host and then run XP as a guest. I want to boot the > 9.0 host and login to the 9.0 host, start the Virtualbox XP guest and > enter the XP guest [IE: be in the XP OS windows environment], can I do > all that from the host command line? I do not run x11 or any desktop on > my 9.0 host. I do not want to use an second PC to login to the VB XP > guest over ssh. > > > I think I am misunderstanding your ask, so I will describe what I have which sounds awfully similar. I have a headless 9.0 box with plenty of CPU cycles and HDD/RAM to spare. I have installed virtualbox on it, as well as phpVirtualBox (might have the wrong name there). Using phpVirtualBox, I can start/stop/config virtual machines on the host. So I used my Win7 box to create a virtual Win7 (or in your case WinXP) and got it all installed and setup using my laptop. Once it was configured, I copied the virtual hard drive to the fileserver, configured a new virtual machine to use that hard drive and set the network to bridged. After starting the virtual machine on my FreeBSD box I was able to remote to the virtual machine using terminal services (built into windows). The installation of virtualbox on my fileserver did install x11 components, but by using phpVirtualBox, it is all started headless. Hope this helps.