title: VirtualBox: The medium can't be used as the requested device type
body: <p>I'm learning how bootloaders work and how to make my own in assembly. I'm following <a href="http://www.osdever.net/tutorials/view/hello-world-boot-loader" rel="nofollow noreferrer">this tutorial</a> to make a simple bootloader. I tried the "Never ending loop boot sector" part, compiled it with NASM, by typing <code>nasm bootloader.asm -f bin -o bootloader.bin</code> in the cmd: it works. I then converted the bin to a iso file using WinBin2Iso, it looks like it works, but then when I try selecting the iso for a virtual machine, here's what it says:</p>
  
  <pre><code>Failure while opening disk image 
  C:\...\bootloader.iso.
  
  The medium 'C:\...\bootloader.iso' can't be used as the requested device type.
  
  Error code : E_FAIL (0x80004005)
  Component : MediumWrap
  Interface : IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
  Called function : IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}
  Returned code : VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
  </code></pre>
  
  <p>(I have a french version of VB so I translated the french text so some things might not be exact)</p>
  
  <p>What is happening? Is the code in the tutorial outdated? Or am I not doing this the right way?</p>
  
  <p>Thanks.</p>