Bug#346596: hardcoded /boot/grub/menu.lst in update-grub leads to
problems when /boot is on an extra partition
Ole Janssen
ole.janssen at o2online.de
Mon Jan 9 00:16:44 UTC 2006
Package: grub
Version: 0.97-2
Severity: normal
Tags: patch
In the script update-grub there is the location of the file menu.lst
hardcoded in line 752 as /boot/grub/menu.lst. This leads to problems
when /boot is on an extra partition because then the location of
menu.lst becomes /boot/boot/grub/menu.lst. The following patch could
help you resolving this:
752c752
< echo "found but preserving previous setting: $(grep '^splashimage=' /boot/grub/menu.lst)"
---
> echo "found but preserving previous setting: $(grep '^splashimage=' ${grub_dir}/menu.lst)"
Regards, Ole
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-underworld
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Versions of packages grub depends on:
ii libc6 2.3.5-11 GNU C Library: Shared libraries an
ii libncurses5 5.5-1 Shared libraries for terminal hand
grub recommends no packages.
-- no debconf information
More information about the Pkg-grub-devel
mailing list