Post

Ubuntu setting desktop resolution in Hyper-V

  1. adjust grub in the /etc/default/grub
    1
    
    sudo vim /etc/default/grub
    

    Change value of GRUB_CMDLINE_LINUX_DEFAULT with below.

    1
    
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:3840x2160"
    

    Replace ‘3840x2160’ to your resolution.

  2. Then run below commands
1
2
3
4
5
   sudo update-grub
   
   sudo apt install linux-image-extra-virtual
   
   sudo reboot
This post is licensed under CC BY 4.0 by the author.