I am running Windows laptop with a Hyper-V VM running openSUSE-Leap15 in server mode. (Don’t laugh at me, I’m kind of new with Linux and the terminology)
Issue I was having is, after logging in, I would get a terminal window that was too large for my laptop screen even if I went fullscreen. I could not see the text at the bottom of the screen so I would have to use the clear command frequently to see what I was typing. Well, that doesn’t work with vi, man, cat, etc… ( I remind you I’m a linux newbie!)
After doing a bit of searching I found that others were having similar issues (BTW I also had the issue on different distributions) and they all seemed to have some errors in how they should be fixed. I think I got it and maybe will be able to help others that might have the same issue.
I found this old thread https://forums.opensuse.org/showthread.php/494938-change-suse-resolution-when-running-in-Hyper-v and here is my way to fix this from this thread.
Edit /etc/default/grub and find the line that starts with
GRUB_CMDLINE_LINUX_DEFAULT
and add
video=hyperv_fb:1920x1080
to the end of GRUB_CMDLINE_LINUX_DEFAULT inside the quotes. (Change the 1920x1080 to 1024x768 or 800x600 or whatever fits your screen)
Save the file.
Then run
/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
to set it in stone!
Hope this helps,
Terry