Date: Thu, 30 Oct 2014 23:56:37 +0100 From: Andrea Brancatelli <abrancatelli@schema31.it> To: Peter Grehan <grehan@freebsd.org> Cc: freebsd-virtualization@freebsd.org Subject: Re: bhyve machine not starting after upgrading Message-ID: <62FFE74F-E824-4159-A953-2080D40535A1@schema31.it> In-Reply-To: <7931E297-104B-4BCA-BA08-D425DE7D85A7@schema31.it> References: <D136FCF3-2BAB-4F9D-B109-792F69BFB47A@schema31.it> <5452B8D4. 4070204@freebsd.org> <7931E297-104B-4BCA-BA08-D425DE7D85A7@schema31.it>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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
(root@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62FFE74F-E824-4159-A953-2080D40535A1>
