Bug#488235: grub-pc: update-grub should use unicode.pff in /boot/grub not the one in /usr/share/grub

Felix Zielcke fzielcke at z-51.de
Fri Jun 27 09:43:57 UTC 2008


Package: grub-pc
Version: 1.96+20080626-1
Severity: minor

update-grub by default uses the unicode.pff in /usr/share/grub which
isn't working for me, because my / is ext4 which grub can't
handle (yet)
Luckly it just doenst't load the gfxterm and vbe module and boots
without problems
If I remove the /usr/share prefix, the set root and search command in
grub.cfg as you can see below it works
As I installed grub the unicode.pff got already copied to /boot/grub

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/root / ext4dev rw,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/root /dev/.static/dev ext4dev ro,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/sda1 /boot ext2 rw,errors=continue 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/sdb
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=3
#set root=(hd0,2)
#search --fs-uuid --set 3b4903c7-580a-4d0d-96c9-e1f007f2e418
#if font /usr/share/grub/unicode.pff ; then
if font /grub/unicode.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
set root=(hd0,1)
search --fs-uuid --set e7f146e3-6067-4aa7-9f73-96c748834c9a
menuentry "Debian GNU/Linux, linux 2.6.26-rc8" {
	linux	/vmlinuz-2.6.26-rc8 root=/dev/sda2 ro vga=0x317 rootfstype=ext4dev 
}
menuentry "Debian GNU/Linux, linux 2.6.26-rc8 (single-user mode)" {
	linux	/vmlinuz-2.6.26-rc8 root=/dev/sda2 ro single vga=0x317 rootfstype=ext4dev
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-rc8 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.22          Debian configuration management sy
ii  grub-common              1.96+20080626-1 GRand Unified Bootloader, version 
ii  libc6                    2.7-12          GNU C Library: Shared libraries
ii  liblzo2-2                2.03-1          data compression library
ii  libncurses5              5.6+20080621-1  shared libraries for terminal hand

grub-pc recommends no packages.

-- debconf information:
  grub-pc/linux_cmdline: fillme
  grub-pc/chainload_from_menu.lst: true





More information about the Pkg-grub-devel mailing list