Re: ubuntu server 7.04 console framebuffer resolution

On 09/27/2007 06:48 AM, Mitch Contla wrote:
On Wed, Sep 26, 2007 at 02:08:12PM -0400, Clem Takahashi wrote:
Thanks, Mitch. Your suggestion works on an ubuntu desktop install, but not
on my ubuntu server install. Just to be clear, my installation iso is
ubuntu-7.04-server-i386.iso, not ubuntu-7.04-desktop-i386.iso. Framebuffer
doesn't show up in dmesg (using sudo just to be sure):

$ sudo dmesg | grep framebuffer

and adding the "vga=<vesa number>" option in menu.lst results in an
unrecognized video mode on reboot. However, there is an fbcon module, and
three other modules that use it:

$ lsmod | grep fbcon
fbcon 42656 0
tileblit 3584 1 fbcon
font 9216 1 fbcon
bitblit 6912 1 fbcon

so framebuffer is apparently not compiled into the kernel, but is loaded as
a module. Is there a way to change the video mode, either in the init
scripts when the module is loaded, or once the machine is up?


You need the vesafb module to load at boot. I haven't tried to change
initramfs before, but...

Check and make sure the module exists:

find /lib/modules/$(uname -r) -name "vesafb.ko"

I *think* you can add vesafb to /etc/initramfs-tools/modules
and then 'sudo update-initramfs'.

Update the following line in /boot/grub/menu.lst

# defoptions=quiet splash vga=<vesa number>

Reboot and see what happens.

You may want to read the initramfs docs first, or wait from someone
whose done this before to chime in, but I think this will do the trick.

These might help:

You can see what your card will support via:

$ sudo apt-get install hwinfo


$ sudo hwinfo --framebuffer

Then use the resolution code in the vga=

I have a 7.04 (minimal) server setup and modifying the vga= lines in #
defoptions=quiet splash vga=<vesa number> worked for me.

ubuntu-users mailing list
Modify settings or unsubscribe at:

Relevant Pages

  • Re: VirtualBox
    ... The VirtualBox installation nightmare continues. ... Tried to install; trying both Software Center and Package Manager; ... When all that did not help, I asked here for help and was advised to do an incredible amount of "sudo acrobatics". ... sudo apt-get install virtualbox-4.3 ...
  • Re: sudo and UNIXes (was: audacity export wma format[1 more question])
    ... Sudo is considered third-party software ... in HP-UX (HP merely builds it and doesn't install by default), ... You left the large "unless local sysadmins care about security" escape ...
  • Re: Root privilege (SOLVED)
    ... Why should install programs run with the "extreme" privileges I ... Upgrading those binaries is a potential security ... sudo does not seem to go in the right direction. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
  • Re: tinybsd qemu small howto
    ... install FreeBSD 7.0 ISO ... sudo cp GENERIC MY_KERNEL ... I use qemu to test my images. ...
  • Re: Problem of install tarball packages
    ... How to config the sudo, then allow user A to install tarball packages with FC8 System? ...