bugGNU GRUB - Bugs: bug #38929, Boot menu freezes on large fonts...


You are not allowed to post comments on this tracker with your current authentification level.

bug #38929: Boot menu freezes on large fonts but low screen resolutions

Submitted by:  Daniel Richter <danielrichter>
Submitted on:  Tue 07 May 2013 05:41:29 PM UTC  
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 1.98Reproducibility: Every Time
Planned Release: None

Sat 11 May 2013 07:00:09 PM UTC, comment #4:

I have a patch somewhere which progressively simplifies menu when screen is too small. Changing font is troublesome since menu rendering and terminal are different layers abstracted from each other. And similar problem may happen with other terminals as well.

Vladimir Serbinenko <phcoder>
Project Administrator
Thu 09 May 2013 09:11:16 AM UTC, comment #3:

The file upload didn't seem to work. I uploaded to another location:


(please clock the small download button above "Tipp: Pic Upload!")

Daniel Richter <danielrichter>
Thu 09 May 2013 09:02:32 AM UTC, comment #2:

I installed the trunk. There's the same problem. Files are attached!

The 05_debian_theme is copied from ubuntu 13.04 (because it didn't exist). The other files are not modified.

I put 3 *.pf2 files into /boot/grub:

unicode.pf2 (font size 20): this one is too large and will corrupt the boot menu (currently used)
unicode.18.pf2: the absolute maximum font size. Menu seems a little bit damaged but still works
unicode.16.pf2: at this size the menu looks ok

Renaming such a file from unicode.*.pf2 to unicode.pf2 is enough to change the behavior.

Daniel Richter <danielrichter>
Tue 07 May 2013 06:23:25 PM UTC, comment #1:

Can you
1) Try bzr trunk

2) If trunk has problem as well, can you upload the config file, theme and fonts you use so the problem can be recreated?

Vladimir Serbinenko <phcoder>
Project Administrator
Tue 07 May 2013 05:41:29 PM UTC, original submission:

After playing with custom fonts on the grub menu I've noticed that it doesn't load the boot menu and also doesn't respond to keyboard actions. The problem occurs when there's not enough space for rendering the boot menu using the given font.

Ubuntu 13.04 (12.04 is affected too, I didn't try other distributions)
Resolution: 640x480
Font: DejaVu Sans Book 18
Generated by: grub-mkfont --output='/boot/grub/unicode.pf2' --size='18' '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf'

The problem is, that a user cannot try the chosen font without rebooting. However if the the grub menu doesn't load then, the user has to use a live cd to fix this.

I think this behavior should be changed so that it falls back to default font in this case.

Daniel Richter <danielrichter>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by danielrichter (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 14 May 2013 07:02:28 AM UTCphcoderStatusNone=>Fixed

    Back to the top

    Powered by Savane 3.1-cleanup