Problem installing Ubuntu with vm_byhve

Matt Churchyard matt.churchyard at userve.net
Mon Oct 8 09:29:02 UTC 2018


>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="bhyveload"
>cpu=1
>memory=256M
>network0_type="virtio-net"
>network0_switch="public"
>disk0_type="virtio-blk"
>disk0_name="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 need 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 at freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at freebsd.org"


More information about the freebsd-virtualization mailing list