Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 15:48:54 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: vhd file from snapshots: VBOX_E_OBJECT_NOT_FOUND
Message-ID:  <20140729194854.GA1065@hub.FreeBSD.org>
In-Reply-To: <CAG=rPVeQ19SA_gdkUjO7x-dK1%2BJ4w8-t13PJTocnUa03Q_NfSA@mail.gmail.com>
References:  <CAG=rPVeQ19SA_gdkUjO7x-dK1%2BJ4w8-t13PJTocnUa03Q_NfSA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--sLLiYLJ99qSWoVIg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 29, 2014 at 12:44:01PM -0700, Craig Rodrigues wrote:
> Hi,
>=20
> I downloaded FreeBSD-11.0-CURRENT-amd64-20140714-r268622.vhd.xz
> from
> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd64/=
20140714/
>=20
>=20
> Under MacOS X, I uncompressed the .vhd.xz file.  I used VirtualBox, and
> created a VM.  When I tried to attach
> the .vhd file to this VM, VirtualBox gave this error:
>=20
> VBOX_E_OBJECT_NOT_FOUND
>=20
> Any ideas?

There are a few issues with how qemu-img creates the VHD.  The use of
qemu-img will very soon be not required, thanks to marcel@ adding VHD
support to mkimg(1).

In the meantime, can you try cloning the VHD disk, but instead of
a dynamically-allocated image, set it to be a fixed-size image?  I have
had very sporadic success with this, so cannot guarantee it will work.

The VMDK image, however, should work without issue, if you are unable to
get the VHD image to work.

Glen


--sLLiYLJ99qSWoVIg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJT1/qmAAoJELls3eqvi17QxCEQAIiMGCQ9+ANw0GE10iE2SCkq
8i5cjGiiugpFGjm4zICg0mah9wTqekNl+yTzYCPrigToZkNVaDmhJBIVqYbVo3Ac
BvU5l4alGp2ddj7QWpvoiRpO0Wi48VTTUSeeuu/ebfmV7X5JwC6XKEsi7XXemjcK
4zAUVwaBdqiDzD750s4LST9kR+1e/AxnUF/9OHcK2lY9sFhkk/HV29CrHxt3ua4p
m9PwD77c8w2OPO7GET2wcURR6VlBAR/JRazwPatIRVfaMGlzwZZuvc7EATr1YcHu
HM4cbY3QTne9/piZn3PvwOFbUoUWV65FB1/VjZzeMtxDEr6l+9IMD+oLReCVWSan
0iflIZ9viru0s1jkFtBSycciaYTRoEgUEuxgKX8WDGnk55zY5Y9fUwmjlzZ8YODS
ZlEhlbbBCZ/MpiZ8KeZ47WzagC1rY38/mIbSUU2P3ow7xO0eZYgiuKEpE4IZ8v4S
fbLjVWCBvuZspEHUaNIv4QSi0kCbtwS50btwj8aoiLohOMTyJlg7vuIoyC1iBlSE
htXBQmo7sbwDp1+EMvPBNcrKZEex1o4YNOQumYTtC3OsmS/4ACdK+hQ+GeLocyla
ZqlaRkAf2UuGCu4lBm38gsy9CukM6wTt2gabBoHqvARbfqIrpTtVctn+IfLuBctU
7oECFu2GEm2/8lrJcXlL
=KX+I
-----END PGP SIGNATURE-----

--sLLiYLJ99qSWoVIg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140729194854.GA1065>