How do I change the console resolution of Ubuntu 9.10 Server running on VMWare?
Tried all of these with Ubuntu 9.10 Server as VMWare guest and WinXP Pro as host and they didn't work.
I eventually found that you had to edit /boot/grub/grub.cfg but using the old vga=773 in this file caused the boot to fail to configure the console and so I was almost stuffed as the console was now blank :( ... until I remembered that I'd installed the SSH service and was able to login to fix it using Putty. Then it dawned on me that by using Putty I got what I was after ... a resizeable colour console window (any number in fact) and so I didn't need to tweek the main VMWare console dimensions. Duh! Add WinSCP (Windows) or CuteFTP/FireFTP (OSX) and you don't need to use the VMWare console at all. Just let the Linux server be a server. No more Ctrl-Alt's to free the mouse and with WinSCP you can use a decent text editor and directory/file browser.
Well, I did a fair bit of googling and noodling and most everything suggested that adding "GRUB_GFXPAYLOAD" parameters would solve the problem. Not only did it not help with the resolution, it always prevented a console from showing up in the VM - I'd have to putty to fix things.
For me, the only solution that worked was to actually use the old grub modes, that is, I made sure I commented or deleted out all references to "GRUB_GFXPAYLOAD" and then, in /etc/default/grub I edited the
GRUB_CMDLINE_LINUX=""
line to say
GRUB_CMDLINE_LINUX="vga=0x319"
which is the code specific to 1280x1024 (by some color depth that didn't matter much to me). Then I ran
sudo update-grub
(not grub2; that'll work, but it gave me an init screen and then a warning so update-grub is more direct) and restarted and now I got a nice big console with no need to putty.
Add this to /etc/default/grub
:
GRUB_GFXMODE=1024x768
Then run:
sudo update-grub2