Announcement

Collapse
No announcement yet.

Booting Kubuntu 7.10 using vga=10 console text resolution

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Booting Kubuntu 7.10 using vga=10 console text resolution

    Hi

    Can somebody out there help me?

    I've just done a clean install of Kubuntu 7.10. I want to change the console text to my favourite format: vga=10 (130x60 or so). With Kubuntu 6, I did this by setting the linux vga=10 option in grub and disabling the console-screen and console-setup init scripts.

    I've done the same in Kubuntu 7.10 but it doesn't work. The kernel starts up in vga=10 mode but half way through the boot sequence, it changes to some insipid 29x80 ugly text mode (and wipes out the scrollback buffer). Maybe its something in the initrd?

    Can anyone tell me how I can get my vga=10 text mode back? Preferably by inhibiting the switch during boot but failing that by saving the vga=10 font set in a file and switching to it later.

    Thanks,
    Adrian.

    #2
    Re: Booting Kubuntu 7.10 using vga=10 console text resolution

    I've figured it out. The console font is being set in one of the initrd scripts. So I just had to edit the intird. Here's how I did that:

    Modify the initrd to also disable console-setup there:
    Extract the initrd to a temporary directory (as root)

    Code:
    # mkdir /tmp/initrd
    # cd /tmp/initrd
    # gzip -cd < /boot/initrd.img-2.6.22-14-generic | cpio -im
    Edit the console-setup script:

    Code:
    # vi scripts/init-top/console-setup
    (Remove any "consolechars", "setfont" and "console-setup" calls

    Repackage the initrd file into the correct cpio format (and gzipped)

    Code:
    # gzip -cd < /boot/initrd.img-2.6.22-14-generic | \
     cpio -t | cpio -o -c -H newc | \
     gzip > /boot/initrd.img-2.6.22-14-generic--munged
    Make a new grub menu entry referring to the modified initrd

    Code:
    # vi /boot/grub/menu.lst

    Comment


      #3
      Re: Booting Kubuntu 7.10 using vga=10 console text resolution

      Great! Now, please go to your first post in this thread, click the modify button and add SOLVED to the subject line.
      Windows no longer obstructs my view.
      Using Kubuntu Linux since March 23, 2007.
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment

      Working...
      X