From owner-freebsd-virtualization@freebsd.org Tue Nov 1 18:49:37 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 713FFC28212 for ; Tue, 1 Nov 2016 18:49:37 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3CAD41F7D for ; Tue, 1 Nov 2016 18:49:36 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A57BD20777 for ; Tue, 1 Nov 2016 14:49:35 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Tue, 01 Nov 2016 14:49:35 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=zvKZA0VcjClbVf69OYgN9E5wCPU=; b=Z+ldCX ZMa9InkUWA+jlSCvmTBWVrc1LkogjyBYCJGGFJacrHJf6NJ72W+2/6//oB1TvO1i JeL6zuPWo3YiR0jNQEyKReRnW8LWilx/3ML/sxL4TUTgCO5+HUFXTEXgzy6Ov3ZR D3lsNNJVKcxKrQudFeKM1KlgMzWs0fWRaRYWU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=zvKZA0VcjClbVf 69OYgN9E5wCPU=; b=RiPppJokMOfMZNlFkFXhzPq83F+0ZEwb4ppzPxomPn336g q4ptZZkYKF0LWl95K998YraaA8zLt41yfEAjrcPG78NS/+uUePAdBYvlZ4a5Znc2 2xSwFs0ZulNDj4BZ8ULBHnMo9ZQmxPSUHMSg2YXRLUpOYbAFrcPdq0B4k89GU= X-ME-Sender: X-Sasl-enc: uWjI6FLLSL248K09UXnkj/zFOSnOPm91fwKNqwLjkYlr 1478026175 Received: from pumpkin.growveg.org (pumpkin.growveg.org [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 49D81F29CC for ; Tue, 1 Nov 2016 14:49:35 -0400 (EDT) To: freebsd-virtualization@freebsd.org From: tech-lists Subject: ubuntu 14.04 guest problem on freebsd 10 host Message-ID: Date: Tue, 1 Nov 2016 18:49:33 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2016 18:49:37 -0000 Hello list, I have a number of ubuntu guests on this freebsd host, and I start them more or less the same way, but with one of them, the login prompt never arrives. To restart, I do this: 1. (each of them runs in screen, so I resume the screen, and from elsewhere, I log in via ssh and run shutdown -r now as root. So in the screen now, the vm has exited and I'm now at the freebsd server prompt.) 2. bhyvectl --destroy --vm=ubuntu0 3. grub-bhyve -m device.map -r hd0,msdos1 -M 4096M ubuntu0 4. bhyve -AI -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap3 -s 3:0,virtio-blk,./ubuntu0.img -l com1,stdio -c 2 -m 4096M ubuntu0 The VM gets as far as this: * Starting web server apache2 [OK] * Starting authentication failure monitor fail2ban [ OK ] ...and nothing else. web everything in the vm is working. I'm just not getting the login prompt. How can I fix this? Also is there a way of taking the VM image, mounting it on some mountpoint on the freebsd host and directly editing the files within it? Alternatively, is there a way of making grub boot the image into single-user-mode like one can with freebsd? Many thanks, -- J.