RE: Problem installing Ubuntu with vm_byhve
On 08/10/2018 20:28, Xavier Humbert wrote: > On 08/10/2018 11:28, Matt Churchyard wrote: >> # vm create -t ubuntu ubuntu-guest > > Oops, forgot to select the template ! > > Works much better :-) > > Thanks > >Well it now boots and install, but when I reboot, I drop into grub. >Managed it with this mantra : >grub> set root=(hd0,gpt2) >grub> set prefix=(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 partition 1 by default. Try adding the following config - grub_run_partition="2" - or - grub_run_partition="gpt2" (not sure if just "2" will work or whether it needs the full "gpt2") >The actual ubuntu.conf >loader="grub" >cpu=1 >memory=512M >network0_type="virtio-net" >network0_switch="public" >disk0_type="virtio-blk" >disk0_name="disk0.img" >uuid="a68bdef0-cbc6-11e8-a293-d05099c11279" >network0_mac="58:9c:fc:04:25:7a" >Thanks -- Xavier HUMBERT ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org" ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re: Problem installing Ubuntu with vm_byhve
On 08/10/2018 20:28, Xavier Humbert wrote: > On 08/10/2018 11:28, Matt Churchyard wrote: >> # vm create -t ubuntu ubuntu-guest > > Oops, forgot to select the template ! > > Works much better :-) > > Thanks > Well it now boots and install, but when I reboot, I drop into grub. Managed it with this mantra : grub> set root=(hd0,gpt2) grub> set prefix=(hd0,gpt2)/boot/grub grub>insmod normal grub>normal How can I fix autoboot ? The actual ubuntu.conf loader="grub" cpu=1 memory=512M network0_type="virtio-net" network0_switch="public" disk0_type="virtio-blk" disk0_name="disk0.img" uuid="a68bdef0-cbc6-11e8-a293-d05099c11279" network0_mac="58:9c:fc:04:25:7a" Thanks -- Xavier HUMBERT ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re: Problem installing Ubuntu with vm_byhve
On 08/10/2018 11:28, Matt Churchyard wrote: > # vm create -t ubuntu ubuntu-guest Oops, forgot to select the template ! Works much better :-) Thanks -- Xavier HUMBERT ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
RE: Problem installing Ubuntu with vm_byhve
>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@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org" ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"