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 ###
=================================================
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 ======= ======= ======= ======= ======= ======= === grub-mkconfig using templates
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/
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub. d/00_header ### 9b2b-442c- a211-524ee530f6 07 grub/ascii. pf2 ; then d/00_header ###
set default=saved
set timeout=5
set root=(hd0,5)
search --no-floppy --fs-uuid --set 1ce6cdc3-
if loadfont /share/
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.
### BEGIN /etc/grub. d/05_debian_ theme ### 2385-4df3- 9ca6-ca9c8c7205 74 moreblue- orbit-grub. png ; then black/black =magenta/ black normal= cyan/blue highlight= white/blue d/05_debian_ theme ###
set root=(hd0,6)
search --no-floppy --fs-uuid --set 36aa4a22-
insmod png
if background_image /boot/grub/
set color_normal=
set color_highlight
else
set menu_color_
set menu_color_
fi
### END /etc/grub.
### BEGIN /etc/grub. d/10_linux ### 2385-4df3- 9ca6-ca9c8c7205 74 2.6.31- rc2 root=/dev/hda6 ro single 2385-4df3- 9ca6-ca9c8c7205 74 2.6.30 root=/dev/hda6 ro /dev/hda7 2385-4df3- 9ca6-ca9c8c7205 74 2.6.29 root=/dev/hda6 ro /dev/hda7 2385-4df3- 9ca6-ca9c8c7205 74 2.6.28 root=/dev/hda6 ro /dev/hda7 d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-rc4 (recovery mode)" {
set root=(hd0,6)
search --no-floppy --fs-uuid --set 36aa4a22-
linux /boot/vmlinuz-
/dev/hda7 resume=/dev/hda7
}
menuentry "Ubuntu, Linux 2.6.30" {
set root=(hd0,6)
search --no-floppy --fs-uuid --set 36aa4a22-
linux /boot/vmlinuz-
resume=/dev/hda7 quiet splash
}
menuentry "Ubuntu, Linux 2.6.29" {
set root=(hd0,6)
search --no-floppy --fs-uuid --set 36aa4a22-
linux /boot/vmlinuz-
resume=/dev/hda7 quiet splash
}
menuentry "Ubuntu, Linux 2.6.28" {
set root=(hd0,6)
search --no-floppy --fs-uuid --set 36aa4a22-
linux /boot/vmlinuz-
resume=/dev/hda7 quiet splash
}
### END /etc/grub.
### BEGIN /etc/grub. d/30_os- prober ### 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.
### BEGIN /etc/grub. d/40_custom ### d/40_custom ### ======= ======= ======= ======= ======= =======
# This file is an example on how to add custom entries
### END /etc/grub.
=======