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
Password:
$

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?

Clem

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:

https://wiki.ubuntu.com/FrameBuffer

You can see what your card will support via:

$ sudo apt-get install hwinfo

then

$ 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
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • 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 ...
    (Debian-User)
  • Re: tinybsd qemu small howto
    ... install FreeBSD 7.0 ISO ... sudo cp GENERIC MY_KERNEL ... I use qemu to test my images. ...
    (freebsd-current)
  • Re: Problem of install tarball packages
    ... How to config the sudo, then allow user A to install tarball packages with FC8 System? ...
    (Fedora)
  • Re: Using Perl to connect a Linux box to Linux/Windows boxes
    ... If you are to write something to copy files to remote machines and install software, and the installation of said software requires root access, yet you are not allowed to become root then you cannot complete the task. ... if you are to use sudo to do the root install command then often the network admin will set up sudo such that you need to enter a password. ...
    (comp.lang.perl.misc)
  • Re: ubuntu server 7.04 console framebuffer resolution
    ... on my ubuntu server install. ... doesn't show up in dmesg (using sudo just to be sure): ... $ sudo dmesg | grep framebuffer ... and then 'sudo update-initramfs'. ...
    (Ubuntu)