Date: Tue, 9 Oct 2018 13:59:47 +0000 From: Matt Churchyard <matt.churchyard@userve.net> To: Xavier Humbert <xavier@xavierhumbert.net>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: RE: Problem installing Ubuntu with vm_byhve Message-ID: <5b095cf792e14e78b5ba8a4b3ca374f3@SERVER.ad.usd-group.com> In-Reply-To: <42348955-c095-01ca-ae07-69bf77be4c96@xavierhumbert.net> References: <55fd7896-d17c-88a2-ee07-70d8da9ed5ef@xavierhumbert.net> <5781057012064b52bd477a381271e512@SERVER.ad.usd-group.com> <adab698d-50b0-d432-479b-00c155164cf2@xavierhumbert.net> <42348955-c095-01ca-ae07-69bf77be4c96@xavierhumbert.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <xavier@xavierhumbert.net> _________________________________= ______________ 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5b095cf792e14e78b5ba8a4b3ca374f3>