I'm trying to learn how to use Linux with a Debian 7 VM that has no GUI.
The 640x400 window I'm working in feels a little constricting and would like to make it bigger, say 1024x768.
How can I do this?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityI'm trying to learn how to use Linux with a Debian 7 VM that has no GUI.
The 640x400 window I'm working in feels a little constricting and would like to make it bigger, say 1024x768.
How can I do this?
What you basically want to do is change the resolution of the framebuffer. Here's the process I used (supposing that your desired resolution is 1024x768, and that Hyper-V's framebuffer supports this resolution):
/etc/default/grub
with superuser privileges: sudo nano /etc/default/grub
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=keep
update-grub
as superuser: sudo update-grub
In addition to nc4pk's answer.
The file /etc/default/grub
on my openSUSE 42.1 contains the comment:
If you change this file, run ´grub2-mkconfig -o /boot/grub2/grub.cfg´ afterwards to update /boot/grub2/grub.cfg.