Windows laptop Host running openSUSE (Leap 15) via Hyper-V terminal window resolution

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

Congrats on finding your solution, which is correct.

As an alternative to running an openSUSE server in a VM,
on a Win10 machine you can also consider running “Linux subsystem for Windows”
Simply go to the Windows store, search for openSUSE and install.

The environment is suitable for anyone running User apps in an openSUSE environment running a python or javascript application,
Probably not suitable for running any “server” applications, like any that use a systemd Unit file(you can’t make changes to the core system files).

TSU