You are not logged in.

#1 2009-10-10 13:58:09

badmad
Member
From: Piaseczno, Poland
Registered: 2005-07-25
Posts: 9
Website

Grub2 Font size and framebuffer resolution

Hello. Since I haven't found a solution for my problem I'm starting a new thread. So my problem is:
Recently I've installed Grub2 from extra. I've adjusted grub.conf and it works almost as I've wanted. But I was unable to change size of a default (?) unicode font shown in wiki grub2 page: "/usr/share/grub/unicode.pf2" and also change framebuffer resolution to 1440x900 (grub1 was fine with setting the vga=869 parameter). I might also add that grub loads at 1440x900 but arch boot doesn't.

So here are me problems: setting default unicode font larger and setting right boot resolution for my monitor.

And here is all of my grub.conf for your concern:

# Config file for GRUB2 - The GNU GRand Unified Bootloader
# /boot/grub/grub.cfg

# DEVICE NAME CONVERSIONS
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,2)
#  /dev/sda3       (hd0,3)
#
insmod font
insmod vbe
set gfxpayload=1440x900x32
# Timeout for menu
set timeout=10

# Set default boot entry as Entry 0
set default=0

# (0) Arch Linux
menuentry "Arch Linux" {
set root=(hd0,3)
linux /boot/vmlinuz26 root=/dev/sda3 ro video=vesafb:mode=1440x900-32 vga=869
initrd /boot/kernel26.img
}

# (1) Windows
menuentry "Windows" {
set root=(hd0,1)
chainloader +1
}

if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxterm_font="20"
  set gfxmode="1440x900x32"
  set gfxpayload=1440x900x32
  insmod gfxterm
  insmod vbe
  terminal_output gfxterm
  if terminal_output gfxterm; then true ; else
     terminal gfxterm
  fi
fi
insmod jpeg
background_image /boot/grub/gosia.jpg

Thanks in advance for your help.


If you are not remembered you never existed

Offline

#2 2009-10-12 15:43:33

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: Grub2 Font size and framebuffer resolution

Hi, same here! I solved this by using new kms feature with nouveau driver! ;-)


THX!!
cu matsche

Offline

#3 2009-10-12 17:26:35

scio
Member
From: Buffalo, NY
Registered: 2008-08-05
Posts: 366

Re: Grub2 Font size and framebuffer resolution

I also recommend KMS, but if you want, try this: http://bbs.archlinux.org/viewtopic.php? … 73#p597973

In your Arch entry add:
set gfxpayload=keep

Offline

Board footer

Powered by FluxBB