Re: problems virtualizing ubuntu server 16.04

2016-08-03 Thread tech-lists
On 03/08/2016 05:44, Peter Grehan wrote:
> Hi,
> 
>  I was able to install 16.04 server from the official ISO in bhyve on
> both a 10.1-RELEASE and CURRENT host without issues.
> 
>> I select the first one and get this error:
>>
>> error: invalid magic number.
>> error: you need to load the kernel first.
> 
>  That looks like grub wasn't able to find the linux kernel. A simple
> check would be hit 'c' at the grub menu and then have a look around the
> filesystem from the grub prompt to see if the vmlinuz file is present.

it caught me by surprise as in 14.04 the kernel was found. Anyway, I
followed your suggestion. See if you can spot my mistake:

grub> ls (cd0)
Device cd0: Filesystem type iso9660 - Label `Ubuntu-Server 16.04.1 LTS
arm64' - Last modification time 2016-07-19
21:29:23 Tuesday, UUID 2016-07-19-21-29-23-00 - Total size 1243168 sectors
grub>

*bangs head on desk repeatedly*
-- 
J.
___
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: problems virtualizing ubuntu server 16.04

2016-08-02 Thread Peter Grehan

Hi,

 I was able to install 16.04 server from the official ISO in bhyve on 
both a 10.1-RELEASE and CURRENT host without issues.



I select the first one and get this error:

error: invalid magic number.
error: you need to load the kernel first.


 That looks like grub wasn't able to find the linux kernel. A simple 
check would be hit 'c' at the grub menu and then have a look around the 
filesystem from the grub prompt to see if the vmlinuz file is present.


later,

Peter.

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


problems virtualizing ubuntu server 16.04

2016-07-31 Thread tech-lists
Hi,

I prepare device.map and load grub the usual way:

grub-bhyve -m ./device.map -r cd0 -M 4096M ubtest1604

and get a screen up that says:

Install Ubuntu Server
Install MAAS Region Controller
Install MAAS Rack Controller
Check disc for defects
Rescue a broken system

I select the first one and get this error:

error: invalid magic number.
error: you need to load the kernel first.

Press any key to continue...
...and any key dumps me back to the same screen. I have to open another
term and kill the process in order to exit this screen.

For curiosity I tried all the others as well, same error.

What am I doing wrong? Is ubuntu 16.04 too new for bhyve?

freebsd host is 10.1-RELEASE #0 r275428
grub is grub2-bhyve-0.40
ports are at r419340

thanks,
-- 
J.
___
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"