title: Adding UEFI firmware boot entry using bcdedit
body: <p>How to add a new UEFI firmware boot menu entry(in NVRAM) using <code>bcdedit</code>. For e.g. I tried the following steps but boot entry is not getting added.</p>
  
  <pre><code>bcdedit /create /d "LinuxLoader" /application osloader 
  </code></pre>
  
  <p>this will return a new guid (say newguid)</p>
  
  <pre><code>bcdedit /set {newguid} device partition=S:
  bcdedit /set {newguid} path \boot\efi\bootx64.efi
  bcdedit /set {fwbootmgr} displayorder {newguid} /addfirst
  </code></pre>
  
  <p>Thanks in advance.</p>