How to run HyperV base Ubuntu VM full screen

Problem:

After I installed Ubuntu Desktop in HyperV I could not get the machine to run full screen.

Solution:

Update your /etc/default/grub settings.

Explanation:

  1. Start terminal
  2. Type
    sudo vi /etc/default/grub
  3. Press i to enter edit mode
  4. Change the GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” line to GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash video=hyperv_fb:1920x1080”
  5. Type :wq to save the file
  6. Run
    sudo update-grub

Restart your VM, enter Full Screen mode and enjoy.

Comments (9) -

  • Osiris Pedroso

    3/20/2017 6:52:18 PM | Reply

    Any idea why it would fail if instead I used ”quiet splash video=hyperv_fb:1920x1200”?
    That is actually the native resolution for my monitor (a Dell E2211H)...

    • Georg

      1/19/2018 1:34:25 PM | Reply

      yes, the max resolution that hyperv_fb is supporting is 1920x1080.

    • R4ph

      1/23/2018 11:05:26 AM | Reply

      had the same error, the problem seems to be, that grub supports 1920x1080 as max resolution.

  • Prakash

    5/8/2018 3:49:17 PM | Reply

    I tried this. no effect.  ubuntu opens in  small window and stays that way in full screen mode in hyperv
    Any other suggestions

    • ARuss

      6/12/2018 8:53:44 AM | Reply

      yep, hyperv is not ment to use vm as desktop machines, better to use some remote desktop thingy instead.

  • Jaishree Kulkarni

    9/17/2019 1:45:29 AM | Reply

    this initially din't work but I had to change the next line as well
    GRUB_CMDLINE =”video=hyperv_fb:1920x1080"
    and take care which 'x' you type, I typed capital X and it dint work.  then I changed to small 'x' and it worked Smile

    • ali

      9/1/2020 4:52:51 PM | Reply

      well done Smile

  • Alejandro Hernandez

    5/14/2020 4:16:21 AM | Reply

    This worked perfectly for me. Thanks!
    I meant to then rate the blog with 5 stars, but my mouse slid over and accidentally it was rated less (3 stars I think). Tried to fix it but it is not letting me change my ratings once I entered it. So sorry about that - this simple trick is really worth 5 starts because it makes life so much easier!

  • Milos

    10/16/2020 9:49:14 AM | Reply

    This worked for me. Thank you so much!!!

Add comment

Loading