Trying to install OpenELEC in a VM

BarkingGhostar

Diamond Member
Nov 20, 2009
8,410
1,617
136
I've been trying to install OpenELEC into a virtual machine in Virtualbox. I d/l the disk image, which is an *.img file and attached that under the VM's storage for optical image, but it error's out. I get the following error:

Failed to open the hard disk file /home/abrasive/Dried/OpenELEC-Generic.x86_64-5.0.6-efi.img.

Could not get the storage format of the medium '/home/abrasive/Dried/OpenELEC-Generic.x86_64-5.0.6-efi.img' (VERR_NOT_SUPPORTED).

Result Code: VBOX_E_IPRT_ERROR (0x80BB0005)
Component: Medium
Interface: IMedium {05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac}
Callee: IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)

When I change IMG to ISO I get:

Failed to open the hard disk file /home/abrasive/Dried/OpenELEC-Generic.x86_64-5.0.6-efi.iso.

The medium '/home/abrasive/Dried/OpenELEC-Generic.x86_64-5.0.6-efi.iso' can't be used as the requested device type.

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Medium
Interface: IMedium {05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac}
Callee: IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)

I've updated my LM and s/w whenever I am prompted, but this seems to go nowhere. I was able to lauch a LM and Ubuntu Server ISO images, though, so I think my approach was at least partially correct.
 

BarkingGhostar

Diamond Member
Nov 20, 2009
8,410
1,617
136
BTW, I also tried mounting the image (IMG) file, which works and makes available two volumes but I am not sure how to get the VM to treat this as anything useful for installation of an operating system in a VM.
 

Binky

Diamond Member
Oct 9, 1999
4,046
4
81
How did you convert from IMG to ISO? Does diskimager have this function?

What OS is the host machine? I can try this on Hyper-v later.
 

BarkingGhostar

Diamond Member
Nov 20, 2009
8,410
1,617
136
Actually, I only tried a simple file extension change, but that didn't work. I understand that IMG is for virtual disk/filesystem raw representation and not serialized ISO format.

The host machine is LM17 (qiana) with the Gnome desktop on an Intel i7 PC.
 

BarkingGhostar

Diamond Member
Nov 20, 2009
8,410
1,617
136
Well, LM can mount the IMG. Also, I learned that VB can convert the IMG to VDI, which I tried and was successful. I was able to boot the VDI and tried to install OpenELEC to another VDI, but launch OpenELEC post install ran into an issue in which it complained about 'is your GPU supported?'

I'm guessing that OpenELEC (or me) just isn't verbose enough to install into a VM in VB.
 

Tokyonic

Junior Member
Apr 2, 2008
1
0
0
Support for virtual machines was depreciated over a year ago due to display driver issues (the error you got) and general lack of support by developers for this issues which only affected a very small subset of users.

It's a bummer, but what can you do?