How to fix your ubuntu 9.10 console

After upgrading my server (that isn’t running X) to Ubuntu 9.10 (Karmic Koala), I found that the console on my LCD monitor was cropping out several characters from the left and right sides. It wasn’t hard to fix, though, given the magick incantations:

If you upgraded to Karmic

You’ll have grub 1 (legacy). To fix it, follow this thread, and edit /boot/grub/menu.lst. Look for the line that starts with “defoptions” — uncomment the line and add “vga=791″ (or 789 for lower resolution):

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
defoptions=vga=791

Save the file and then reboot.

If you installed Karmic directly

You’ll be running grub 2, which requires these instructions. I’ve reformatted them here for posterity:

Step one: In /etc/default/grub, add this line:

set gfxmode=1024x768

Step two: In /etc/grub.d/00_header, add the highlighted line:
[bash highlight="3"]
if loadfont `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then
set gfxmode=${GRUB_GFXMODE}
set gfxpayload=keep
insmod gfxterm
[/bash]

Step three: Run update-grub, and reboot.

Related posts:

  1. HOWTO install etherpad on ubuntu 9.10
    Etherpad was opensourced by google, and has some generic installation instructions. Here’s the translation for Ubuntu Karmic Koala (release 9.10): Install the prerequisites: sudo apt-get install mysql-server-5.1 mercurial sun-java6-jdk sun-java6-jre......
  2. How to fix the wifi on a HP Mini 110 Netbook running Ubuntu 9.10 (Karmic Koala)
    Installing Karmic Koala from a USB drive proved to be a bit less than effortless. First off the http and ftp servers for the netbook-reloaded ISO images were really slow,......
  3. Installing CrashPlan on Ubuntu 9.04 Server Edition
    Although rsnapshot is super for linux-to-linux backups, I’ve found CrashPlan to work very well as a backup solution for my family’s windows and mac boxes. The CrashPlan installation works pretty......
  4. Dailed-in Rails script/console with pretty printing and history
    Edit (as root) your /etc/irbrc: # Some default enhancements/settings for IRB, based on # http://wiki.rubygarden.org/Ruby/page/show/Irb/TipsAndTricks   unless defined? ETC_IRBRC_LOADED   # Require RubyGems by default. require 'rubygems'   begin require......

This entry was posted in Technical HOWTOs and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Additional comments powered by BackType