title: What environment can I use to write binary code of the operating system?
body: <p>For learning bootstrapping of operating systems I do some simple tests this way:</p>
  
  <ul>
  <li><p>I install oracle viratualbox and create hdd disk</p></li>
  <li><p>I install hex-editor HxD and write code to this hdd disk, opening the file which presents this hdd</p></li>
  </ul>
  
  <p>In the end of first 512-byte sector I write 
  55 AA 
  in 1FE and 1FF bytes consiquently, </p>
  
  <p>and other code I write from first byte of the first sector.</p>
  
  <p>In this way I must unblock hdd file from HxD, because virtualbox can't start it until this is done.</p>
  
  <p>I want to use a virtual machine or another real machine (the second way is less convenient), because it creates an independent development environment.</p>
  
  <p>How can I more efficiently do this tests for learning bootstrapping (and after simple developing) operating system ?</p>