none
How to get boot menu on Hyper-V VMs RRS feed

  • Question

  • Hi,

    I installed Hyper-V on a windows 2008 R2 server and created VM.

    Now my question is, is there any way to get boot menu(like choose to boot from HDDs or network or Floppy etc) at the startup of VM. Everytime, I am going to settings and changing the order there.

    VMs on ESX are providing this facility.


    Thanks, Sitaram http://techibee.com http://sitaram-pamarthi.com
    Monday, October 18, 2010 4:24 PM

Answers

  • Hyper-V GUI doesn’t provide this function. However, we can leverage the following PowerShell library to manage Hyper-V VMs.

    PowerShell Management Library for Hyper-V
    http://pshyperv.codeplex.com/

    You can customize a script to change VM settings and then start modified VM.

    Thanks.


    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Monday, October 25, 2010 8:19 AM
    Moderator

All replies

  •  Hyper-V VMs do still have a virtual machine BIOS; however, all of the BIOS features (e.g. numlock setting, boot device order, etc.) may be set in the virtual machine configuration or using a script. As a conseqence of this, Microsoft has removed the ability to access the BIOS at boot time.
    Monday, October 18, 2010 4:47 PM
  • >>however, all of the BIOS features (e.g. numlock setting, boot device order, etc.)
    >>may be set in the virtual machine configuration or using a script.

    Thanks for your inputs.

    The thing I want is, ability to select boot device at the time of computer startup. I don't want to go to BIOS and change it every time I need. It really saves lot of time.


    Thanks, Sitaram http://techibee.com http://sitaram-pamarthi.com
    Monday, October 18, 2010 5:09 PM
  • Select VM setting and you will find boot order settings
    Monday, October 18, 2010 5:19 PM
  • I doubt it'd save that much time.

    Perhaps you should look into using a 3rd party boot manager.  One that would let you choose how you want the VM to boot.  The VM would boot into the MBR boot manager and you could then select how you'd like to proceed.  Linux tools like grub do this.  They're "less than trivial" to set up, however.

    Never really considered it, but you could also setup more than one VM using the same virtual disk.  Just don't boot more than one of them at a time, of course. 

    Are the VM boot settings configurable from a command-line script?

    Wednesday, October 20, 2010 7:35 PM
  • Hyper-V GUI doesn’t provide this function. However, we can leverage the following PowerShell library to manage Hyper-V VMs.

    PowerShell Management Library for Hyper-V
    http://pshyperv.codeplex.com/

    You can customize a script to change VM settings and then start modified VM.

    Thanks.


    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Monday, October 25, 2010 8:19 AM
    Moderator
  • Awesome! Thanks a bunch!

    Friday, June 30, 2017 6:29 PM