2011年7月2日 星期六

[Bug] Ubuntu 11.04 - error : no video mode activated

Case:
Hp mini 110: Install Ubuntu 11.04 alternate with encrypted partition.

[Fail]
Decomment "#GRUB_GFXMODE=640x480" in "/etc/default/grub"

[Success]

Guido Nickels wrote on 2011-05-16: #24

I was finally able to workaround the problem here.
The script /etc/grub.d/00_header does some font path detection stuff and if that fails it doesn't set any gfxmode (neither the default "auto" nor anything defined manually in /etc/default/grub).

The font path is /usr/share/grub, but I have a separate /boot partition and the script doesn't seem to know how to handle this situation correctly, leaving me without fonts and gfxmode.

So, I just copied /usr/share/grub/*.pf2 to /boot/grub and ran update-grub again. Voila, I got my gfxmode and a working unicode font, too.



Reference:
[1] Bug #699802 in grub2 (Ubuntu): “error:: no video mode activated”
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/699802

沒有留言: