Bug#544155: please test this GRUB snapshot

Witold Baryluk baryluk at smp.if.uj.edu.pl
Tue Sep 8 14:42:17 UTC 2009


Dnia 2009-09-08, wto o godzinie 15:49 +0200, Robert Millan pisze:
> On Tue, Sep 08, 2009 at 03:17:33PM +0200, Maik Zumstrull wrote:
> > >   http://people.debian.org/~rmh/ati/2392/
> >
> > Still works.
> 
> On Tue, Sep 08, 2009 at 03:29:12PM +0200, Witold Baryluk wrote:
> > 
> > I just tested 1.96+20090702-1 on T43. It works:
> 
> Ok.  Please test:
> 
>   http://people.debian.org/~rmh/ati/2440/
> 
> Remember that one should be very careful when doing these tests.  A single
> mistake can compromise the whole series and make us start over!
> 
> So don't worry that others are testing the same thing.  Duplicate checks
> *are* helpful.
> 
> Thanks!
> 

This one 1.96+20090721-5 is more complicated.

It is kind of regression, because it doesn't enter graphical mode.

But. If i swich to console, and do manually
insmod vbe
insmod gfxterm
set gfxmode=640x480
terminal_output gfxterm

it switches correctly to the graphical mode. But without fonts.
I can't use loadfont because there is no .pf2 files in /grub/ directory.

I investigates slightly a /etc/grub.d/ in this version, but can't find
exactly why fonts aren't copied. Also resulting grub.cfg is somehow
primitive:

// 1.96+20090721-5 with default options
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###


After setting GRUB_TERMINAL=gfxterm in /etc/default/grub there are
slight change, but don't thing it will solve problem. Also the fonts
aren't copied and background image isn't detected:

// 1.96+20090721-5 with GRUB_TERMINAL=gfxterm
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
if terminal_input gfxterm ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_input
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/09_xenowe ###
### END /etc/grub.d/09_xenowe ###

### BEGIN /etc/grub.d/10_linux ###


Seting GRUB_TERMINAL_OUTPUT=gfxterm also doesn't help, but according
to /etc/grub.d/00_header it should i see there case which copies fonts,
and inserts insmod vbe, insmod gfxterm and terminal_output gfxterm.

/etc/grub.d/05_debian_theme should also copies and set background.

I found this is because line 153 of /usr/sbin/grub-mkconfig fails
to find font, and unsets GRUB_TERMINAL_OUTPUT:

# check for terminals that require fonts 
case ${GRUB_TERMINAL_OUTPUT} in
  gfxterm)
    if path=`font_path` ; then # 153 line
      GRUB_FONT_PATH="${path}"
    else
      # fallback to the native terminal for this platform 
      unset GRUB_TERMINAL_OUTPUT
    fi
  ;;
esac


Because graphical mode works after manual switch, I would go to the next
snapshot. Presented above issues are grub.cfg problems, and are probably
solved in more recent versions of debian package.


-- 
Witold Baryluk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: To jest cz??? wiadomo?ci podpisana cyfrowo
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090908/5cc642b8/attachment.pgp>


More information about the Pkg-grub-devel mailing list