N
N
Newbie22019-08-28 11:21:57
linux
Newbie2, 2019-08-28 11:21:57

How to change Linux screen resolution in Hyper-V?

Welcome all!
There is Win10 Pro with Hyper-V, Hyper-V has Linux Mint 19.04. The only available resolution is 1152 *
864 How to change it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Newbie2, 2019-08-29
@Newbie2

For posterity.
Helped advice 20ivs , from the comments
1. Open terminal
2. sudo nano /etc/default/grub
look for the line that starts with GRUB_CMDLINE_LINUX_DEFAULT and add video=hyperv_fb:[screen resolution you want]. For example, I need 1280x720, then the line will look like this: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1280x720"
3. Save and close the editor.
4. sudo update-grub
5. Reboot the virtual machine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question