>> 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@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
(r...@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 

_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to