Skip site navigation (1)Skip section navigation (2)
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>=3D<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=3D"disk0p2:" -e rootdev=3D"disk0p2:"
>=20
> I=E2=80=99ll 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=3D"disk0p2:" -e rootdev=3D"disk0p2" -d =
/san_storage/OG/DEV/og-mysql-dev/og-mysql-dev.img og-mysql-dev
Consoles: userboot =20

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=3D24
boot_serial=3D1
console=3Duserboot
currdev=3Dzfs:repository:
interpret=3DOK
loaddev=3Dzfs:repository:
prompt=3D${interpret}
rootdev=3Ddisk0p2
smbios.bios.vendor=3DBHYVE
OK=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62FFE74F-E824-4159-A953-2080D40535A1>