From owner-freebsd-virtualization@freebsd.org Mon Jan 9 03:10:15 2017 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 60848CA6426 for ; Mon, 9 Jan 2017 03:10:15 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: from mail-yw0-x22e.google.com (mail-yw0-x22e.google.com [IPv6:2607:f8b0:4002:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2185616F3 for ; Mon, 9 Jan 2017 03:10:15 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: by mail-yw0-x22e.google.com with SMTP id a10so415267237ywa.3 for ; Sun, 08 Jan 2017 19:10:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=ZA6rlvdAHZ0riyOEfdu0oWMs14wMo3Iec0J41gTyZkA=; b=Nr12wYN94lAUiksm1OLz9YpvBOrHncPB7fM3Xj41Re6ogniCYZFzFwfcuSfOO4lW8r KQATOGi1ReIbBqBIIDUE8j/whLPfSmq4ZjG9MpCiiXLwvq7FKpVcWu+6oVYVqK1oLL8n iZPs3BgjbOQGDXBy9jj+c/S6v/AfNhE6TJEv/eAM/2DJIqV7KSwMAhZ5OF7CdmBdhWaS qKIVqqRBYzoI4Vs1hcPThLVXS3TAZ5J9nvYcpvbUdqQoANoUjhXjNSUW6JGZT1+Ml4Ag GVAePyoLGwSZv2UEJpoIQL2AZZ8KpDyuF3C0YS9zeWbUUbBA72hpY4tYfckHL6hMLUoW ryMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=ZA6rlvdAHZ0riyOEfdu0oWMs14wMo3Iec0J41gTyZkA=; b=ILfS9ESLEFlbLFdfhl/CJ0ejfl+r8Q3Yu8BuxmjhXogh1j/SGghQA/3cvSWz90Tj4k aG15FdT2tUM6QGPby0UpSjCuuDSoAs3EjdW7zPp8evLKmGQVIYoIW/a6uFpa/VQ8Xyp8 8yvlbb/0JykQIWJjUj6JUDUfCXrtxHtdBuQ9Rp/Vj5yEUcyEg9wLdl3RuER7c25AC0NK bc1jiaVvtLf3l0PgVCeSKziZI85fc1Qcwaj/D71yh8xUC9bqq46giD1kYPc0MVBo9plD IS5pVq9Koy93+SukOQd2Rqo3xymOin3bgAGZCKCU3wg+R9kMs+J6Vz2A6rMA7VOq2Sxh qBPw== X-Gm-Message-State: AIkVDXK4EAEHBT0NvbjdHTX8eGhqAqgUvxnVC0e/rB1Su1TKJDgISg5Uh/9frK69NBeaZiWAzIDt+Qts7DtlVw== X-Received: by 10.129.172.36 with SMTP id k36mr15295839ywh.286.1483931414100; Sun, 08 Jan 2017 19:10:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.172.149 with HTTP; Sun, 8 Jan 2017 19:10:13 -0800 (PST) From: Trent Thompson Date: Sun, 8 Jan 2017 20:10:13 -0700 Message-ID: Subject: Re: Booting 9front on bhyve To: Piotr Kubaj Cc: FreeBSD virtualization Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Mon, 09 Jan 2017 03:10:15 -0000 Piotr, Thanks to work from Peter G, bhyve has been patched[1] to fix the PS/2 mouse issue in 9front. With this fixed, I was able to get 9front installed and running from a bhyve virtual machine using virtio-blk emulation. I was even able to set up networking[2] with virtio-net. Using ahci-hd and Intel 1000 emulation did not work for me. I'd also like to note that I had better success with partitioning the virtual hard drive as MBR in the installer, over GPT. I have heard of GPT working for some people, though. I uploaded a simple script to Gist[3] that I used to get this done, but as long as you use Virtio drivers you should be fine. [1] https://svnweb.freebsd.org/base?view=revision&revision=311699 [2] https://twitter.com/pr1ntf/status/817895393824382976/ [3] https://gist.github.com/pr1ntf/fb62e316b3007f55590d2397a08b0e52 Happy Hacking! -Trent