From owner-freebsd-virtualization@freebsd.org Tue Oct 9 13:59:50 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 918A410CFACE for ; Tue, 9 Oct 2018 13:59:50 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from smtp-b.userve.net (smtp-outbound.userve.net [217.196.1.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.userve.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30E908A31B for ; Tue, 9 Oct 2018 13:59:50 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from owa.usd-group.com (owa.usd-group.com [217.196.1.2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-b.userve.net (Postfix) with ESMTPS id 1A88DFBE; Tue, 9 Oct 2018 14:59:49 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=userve.net; s=201508; t=1539093589; bh=/DDmDzcLbgk/x6rm00586rDdQ093cCiVcZf7Vj0xous=; h=From:To:Subject:Date:References:In-Reply-To; b=ZK6AtQVBCiKU2+EqsU7D/ZiyyL4hhcD4YDthrMtpOIDG0FROKuI6TGCfUQGWJ5KoD KZoqNR7qp86G3v1j4JsDQ6j2Kzw6nvJAog0ZKsWfzIPK86+0Cs+vOLngFLjCex3CQT VbgZFFtD9iDSmeqXhp37sXy6YdIbJ/t7zqIVI8sA= Received: from SERVER.ad.usd-group.com (192.168.0.1) by SERVER.ad.usd-group.com (192.168.0.1) with Microsoft SMTP Server (TLS) id 15.0.847.32; Tue, 9 Oct 2018 14:59:48 +0100 Received: from SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9]) by SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9%12]) with mapi id 15.00.0847.030; Tue, 9 Oct 2018 14:59:48 +0100 From: Matt Churchyard To: Xavier Humbert , "freebsd-virtualization@freebsd.org" Subject: RE: Problem installing Ubuntu with vm_byhve Thread-Topic: Problem installing Ubuntu with vm_byhve Thread-Index: AQHUXYNkklXx9QEbMUuD/IisvhhvaKUVFh9AgACHeICAAUIegIAAFTVg Date: Tue, 9 Oct 2018 13:59:47 +0000 Message-ID: <5b095cf792e14e78b5ba8a4b3ca374f3@SERVER.ad.usd-group.com> References: <55fd7896-d17c-88a2-ee07-70d8da9ed5ef@xavierhumbert.net> <5781057012064b52bd477a381271e512@SERVER.ad.usd-group.com> <42348955-c095-01ca-ae07-69bf77be4c96@xavierhumbert.net> In-Reply-To: <42348955-c095-01ca-ae07-69bf77be4c96@xavierhumbert.net> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.0.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.27 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, 09 Oct 2018 13:59:50 -0000 On 08/10/2018 20:28, Xavier Humbert wrote: > On 08/10/2018 11:28, Matt Churchyard wrote: >> # vm create -t ubuntu ubuntu-guest >=20 > Oops, forgot to select the template ! >=20 > Works much better :-) >=20 > Thanks >=20 >Well it now boots and install, but when I reboot, I drop into grub. >Managed it with this mantra : >grub> set root=3D(hd0,gpt2) >grub> set prefix=3D(hd0,gpt2)/boot/grub >grub>insmod normal >grub>normal >How can I fix autoboot ? Looks like it wants to boot of the second partition but vm-bhyve looks on p= artition 1 by default. Try adding the following config - grub_run_partition=3D"2"=20 - or - grub_run_partition=3D"gpt2" (not sure if just "2" will work or whether it n= eeds the full "gpt2") >The actual ubuntu.conf >loader=3D"grub" >cpu=3D1 >memory=3D512M >network0_type=3D"virtio-net" >network0_switch=3D"public" >disk0_type=3D"virtio-blk" >disk0_name=3D"disk0.img" >uuid=3D"a68bdef0-cbc6-11e8-a293-d05099c11279" >network0_mac=3D"58:9c:fc:04:25:7a" >Thanks -- Xavier HUMBERT _________________________________= ______________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/m= ailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org"