On Tue, May 29, 2007 at 04:15:38PM +0200, Robert Millan wrote:
> severity 425666 important
> thanks
> 
> On Wed, May 23, 2007 at 02:32:11AM -0400, Bharath Ramesh wrote:
> > 
> > When /usr is a separate partition on lvm update-grub creates entry for
> > unifont.pff on the lvm partition which is not detected by grub.
> 
> Please send the output of the following commands:
> 
> grub-probe -v /usr
> cat /proc/mounts
> cat /boot/grub/device.map
> grub-mkdevicemap -m -
> 
> > unifont.pff
> > should either be in grub directory of /boot
> 
> No, that creates other problems (unifont.pff is too big for /boot/grub).
> 
> > or update-grub shouldnt add entry
> > to the font.
> 
> Agreed.  I'll try to make this part fault-tollerant.

Could you try the attached patch and report if it disabled unifont.pff for
you?

Thanks

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.
diff -ur grub2-1.95+20070520.old/util/grub.d/00_header.in grub2-1.95+20070520/util/grub.d/00_header.in
--- grub2-1.95+20070520.old/util/grub.d/00_header.in	2007-05-20 11:10:06.000000000 +0200
+++ grub2-1.95+20070520/util/grub.d/00_header.in	2007-05-29 18:01:11.000000000 +0200
@@ -36,8 +36,7 @@
 # Prefer system path for space reasons (/boot/grub might be a very small
 # partition in case of OpenFirmware, etc).
 for i in /usr/share/grub/unifont.pff /boot/grub/unifont.pff ; do
-  if test -e $i ; then
-    grub_path=`convert_system_path_to_grub_path $i`
+  if test -e $i && grub_path=`convert_system_path_to_grub_path $i` ; then
     cat << EOF
 
 font ${grub_path}

Reply via email to