Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#30833 - [grub-common] error in grub.cfg generated by grub-mkconfig
Attached to Project:
Arch Linux
Opened by Asher Higgs (alphaniner) - Tuesday, 24 July 2012, 13:53 GMT
Last edited by Ronald van Haren (pressh) - Wednesday, 25 July 2012, 14:27 GMT
Opened by Asher Higgs (alphaniner) - Tuesday, 24 July 2012, 13:53 GMT
Last edited by Ronald van Haren (pressh) - Wednesday, 25 July 2012, 14:27 GMT
|
DetailsDescription:
Some lines (I put a * at beginning of these lines to identify) get inserted in the middle of an if/else that I think don't belong there: if [ x$feature_default_font_path = xy ] ; then font=unicode else *insmod part_msdos *insmod lvm *insmod ext2 *set root='lvm/VG0-lv_root' *if [ x$feature_platform_search_hint = xy ]; then * search --no-floppy --fs-uuid --set=root --hint='lvm/VG0-lv_root' 3d1cc0a8-d4f8-477e-8878-0d9649fe8484 *else * search --no-floppy --fs-uuid --set=root 3d1cc0a8-d4f8-477e-8878-0d9649fe8484 *fi font="/usr/share/grub/unicode.pf2" fi I haven't modified anything in /etc/grub.d. Complete file is attached, lines quoted above are 53-66. Additional info: grub-common 2.00-1 System uses BIOS, MBR partitioning, and LVM / with /boot on MBR partition. Steps to reproduce: Run grub-mkconfig |
This task depends upon
Closed by Ronald van Haren (pressh)
Wednesday, 25 July 2012, 14:27 GMT
Reason for closing: Not a bug
Additional comments about closing: those lines are needed to make the font accessible, see my comment
Wednesday, 25 July 2012, 14:27 GMT
Reason for closing: Not a bug
Additional comments about closing: those lines are needed to make the font accessible, see my comment
grub.cfg
#####################################
if [ x\$feature_default_font_path = xy ] ; then
font=unicode
else
EOF
# Make the font accessible
prepare_grub_to_access_device `${grub_probe} --target=device "${font_path}"`
cat << EOF
font="`make_system_path_relative_to_its_root "${font_path}"`"
fi
#####################################