Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2018 09:28:52 +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:  <5781057012064b52bd477a381271e512@SERVER.ad.usd-group.com>
In-Reply-To: <55fd7896-d17c-88a2-ee07-70d8da9ed5ef@xavierhumbert.net>
References:  <55fd7896-d17c-88a2-ee07-70d8da9ed5ef@xavierhumbert.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>Hi all,

>First, I must admit I'm not a byve guru, but I got a pfSense vm installed =
and running, so the problem is not my host.

>I started with an old release to avoid URFI problems

>What I've done :
># vm create ubuntu
># vm install ubuntu ubuntu-12.04.5-server-amd64.iso Starting ubuntu
>  * found guest in /vms/ubuntu
>  * booting...
># vm console ubuntu
>Consoles: userboot

> ...

>my config file is straight from .templates :
># cat ubuntu/ubuntu.conf
>loader=3D"bhyveload"
>cpu=3D1
>memory=3D256M
>network0_type=3D"virtio-net"
>network0_switch=3D"public"
>disk0_type=3D"virtio-blk"
>disk0_name=3D"disk0.img"

The main issue is that you're trying to use the freebsd loader (bhyveload) =
for Linux. You need to use grub or UEFI for Linux.

You could start by trying the Ubuntu template, although you may find you ne=
ed to provide grub commands in order to get the guest to boot.
See https://github.com/churchers/vm-bhyve/wiki/Configuring-Grub-Guests for =
more info on booting with grub

# vm create -t ubuntu ubuntu-guest

If the guest won't boot without manually specifying Grub commands, you may =
actually find it easier to use a newer version of Linux and boot with UEFI.

Matt

>Thanks for any help

>Regards,

--
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5781057012064b52bd477a381271e512>