Virtualbox

From My Admin Page
Jump to: navigation, search
yum -y install gcc kernel-devel bzip2 perl
  • increase CLI resolution for Centos VM (for 2.6.x kernels) (from HERE)
in /etc/grub.conf add to the end of the "kernel" line "vga=<xxx>" where xxx equals
Colour depth 640x480 800x600 1024x768 1280x1024 1400x1050 1600x1200
8 (256) 769 771 773 775
15 (32K) 784 787 790 793
16 (65K) 785 788 791 794 834 884
24 (16M) 786 789 792 795
  • For newer kernels (3.x) (see HERE)
Newer kernels use KMS by default, so you should move away from appending vga= to your grub line as it will conflict with the native resolution of KMS. However, it depends upon the video driver you are using: the proprietary Nvidia driver doesn't support KMS[1], but you can work around it. You should be able to get full resolution in the framebuffer by editing your /etc/default/grub and making sure that the GFXMODE is set correctly, and then adding a GFXPAYLOAD entry like so:
GRUB_GFXMODE=1680x1050x24
# Hack to force higher framebuffer resolution
GRUB_GFXPAYLOAD_LINUX=1680x1050
Remember to run sudo update-grub afterwards.

Problems & Solutions