I'm running Ubuntu Server 13.04 in a VMware VM running only in command-line mode (i.e. no GUI). It defaults to a 640x480
screen resolution, but I'd like to increase that to either 800x600
or 1024x768
.
Lines in /etc/default/grub
that I've changed include:
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX="consoleblank=0"
GRUB_GFXMODE=800x600
I've tried many of the suggestions I've seen online, variants of the above three lines, and many have simply hung the reboot with a blank screen, forcing a force-shutdown of the VM… at which point I backed up one VMware snapshot.
Running sudo hwinfo --framebuffer
gives me a lot of info:
Model: "Vmware virtual machine"
Revision: "2.0"
Memory Size: 64 MB
Lines for 800x600 include:
Mode 0x0303: 800x600 (+800), 8 bits
Mode 0x0314: 800x600 (+1600), 16 bits
Mode 0x0324: 800x600 (+800), 8 bits
Mode 0x0332: 800x600 (+1600), 16 bits
Mode 0x0340: 800x600 (+3200), 24 bits
I've excluded all the other resolutions as I'm just interested in 800×600 at the moment. Apparently Ubuntu Server 13.04 using grub2, so how do I accomplish this?
Best Answer
I solved it... and all I had to do was edit /etc/default/grub thus:
I ran
sudo update-grub
,sudo reboot
and it sticks in a larger-size console mode... just what I wanted.