bhyve machine not starting after upgrading

Andrea Brancatelli abrancatelli at schema31.it
Thu Oct 30 22:56:41 UTC 2014


>> Env variables can be set from the bhyveload command line using "-e <env>=<value>". Now, I'm not sure that currdev and rootdev can be set that early in the boot, but it's worth a try e.g. add these:
>> -e currdev="disk0p2:" -e rootdev="disk0p2:"
> 
> I’ll try with the -e on the command line but I think the problem is a bit beyond that.

Mmmm Peter, the -e seems to be totally ignored.

[root at environment-rm-02 /san_storage/OG/DEV]# /usr/sbin/bhyveload -m 2048 -e currdev="disk0p2:" -e rootdev="disk0p2" -d /san_storage/OG/DEV/og-mysql-dev/og-mysql-dev.img og-mysql-dev
Consoles: userboot  

FreeBSD/amd64 User boot, Revision 1.1
(root at releng1.nyi.freebsd.org, Tue Oct 21 23:49:55 UTC 2014)
-
can't load 'kernel'

Type '?' for a list of commands, 'help' for more detailed help.
OK show
LINES=24
boot_serial=1
console=userboot
currdev=zfs:repository:
interpret=OK
loaddev=zfs:repository:
prompt=${interpret}
rootdev=disk0p2
smbios.bios.vendor=BHYVE
OK 



More information about the freebsd-virtualization mailing list