[Bug 406142] Re: Grub2 menu doesn't list entries with foreign characters

Yves Lavoie yves.lavoie.ing at gmail.com
Wed Jul 29 21:28:20 UTC 2009


On 09-07-29 05:03 PM, Felix Zielcke wrote:
> I can't reproduce this with current Debian sid version.
> Maybe the parser bug fixes fixed that too.
> Even with ascii.pf2 instead of unicode.pf2 they still get shown but of course with ? instead of the character.
>    
Current code in kernel/misc.c ( grub_alpha and grub_isprint) explicitly 
forbid ASCII codes greater than '~'. Thus, entry shouldn't be recognized.
Am I right?

Here is the relevant grub.cfg. Last entry is never shown. It is supposed 
to be "Microsoft Windows XP Édition familiale (on /dev/hda4)" and is 
pulled in by update-grub.
====================================================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=saved
set timeout=5
set root=(hd0,5)
search --no-floppy --fs-uuid --set 1ce6cdc3-9b2b-442c-a211-524ee530f607
if loadfont /share/grub/ascii.pf2 ; then
   set gfxmode=640x480
   insmod gfxterm
   insmod vbe
   if terminal_output gfxterm ; then true ; else
     # For backward compatibility with versions of terminal.mod that don't
     # understand terminal_output
     terminal gfxterm
   fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,6)
search --no-floppy --fs-uuid --set 36aa4a22-2385-4df3-9ca6-ca9c8c720574
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
   set color_normal=black/black
   set color_highlight=magenta/black
else
   set menu_color_normal=cyan/blue
   set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-rc4 (recovery mode)" {
     set root=(hd0,6)
     search --no-floppy --fs-uuid --set 36aa4a22-2385-4df3-9ca6-ca9c8c720574
     linux    /boot/vmlinuz-2.6.31-rc2 root=/dev/hda6 ro single 
/dev/hda7 resume=/dev/hda7
}
menuentry "Ubuntu, Linux 2.6.30" {
     set root=(hd0,6)
     search --no-floppy --fs-uuid --set 36aa4a22-2385-4df3-9ca6-ca9c8c720574
     linux    /boot/vmlinuz-2.6.30 root=/dev/hda6 ro /dev/hda7 
resume=/dev/hda7  quiet splash
}
menuentry "Ubuntu, Linux 2.6.29" {
     set root=(hd0,6)
     search --no-floppy --fs-uuid --set 36aa4a22-2385-4df3-9ca6-ca9c8c720574
     linux    /boot/vmlinuz-2.6.29 root=/dev/hda6 ro /dev/hda7 
resume=/dev/hda7  quiet splash
}
menuentry "Ubuntu, Linux 2.6.28" {
     set root=(hd0,6)
     search --no-floppy --fs-uuid --set 36aa4a22-2385-4df3-9ca6-ca9c8c720574
     linux    /boot/vmlinuz-2.6.28 root=/dev/hda6 ro /dev/hda7 
resume=/dev/hda7  quiet splash
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP dition familiale (on /dev/hda4)" {
     set root=(hd0,4)
     search --no-floppy --fs-uuid --set 753ff7ca669f0ede
     drivemap -s (hd0) ${root}
     chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
=================================================

-- 
Grub2 menu doesn't list entries with foreign characters
https://bugs.launchpad.net/bugs/406142
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list