Bug#270073: grub-splashimages: breaks on systems where /boot is a separate partition

Raphaël Berbain raphael.berbain@free.fr (Raphaël Berbain), 270073@bugs.debian.org
Sun, 05 Sep 2004 12:03:24 +0200


Package: grub-splashimages
Version: 1.0
Severity: important

Hi,

I have a system where /boot is a separate partition.  This means that
my grub config is in /boot/boot/grub instead of /boot/grub.
grub-splashimages install the images in /boot/grub/splashimages
regardless of this.  Consequences:

- Splashimages aren't on the right partition.  Hence grub is unable to
  see the images.

- It breaks grub's /sbin/update-grub script:  After installing the
  splashimages, it finds the /boot/grub directory, but the actual grub
  config isn't there - witness this sample session:

,----
| [raph@nol/xrs] ~ : sudo update-grub
| Searching for GRUB installation directory ... found: /boot/boot/grub .
| Testing for an existing GRUB menu.list file... found: /boot/boot/grub/menu.lst .
| Found kernel: /vmlinuz-2.6.8-1-686
| Found kernel: /vmlinuz-2.6.8.1-2004.09.04-16.24-kernel.org-nol
| Found kernel: /vmlinuz-2.6.7-2004.07.02-18.16-kernel.org-nol
| Updating /boot/boot/grub/menu.lst ... done
| 
| [raph@nol/xrs] ~ : sudo aptitude install grub-splashimages
| Reading Package Lists... Done
| Building Dependency Tree
| Reading extended state information
| Initializing package states... Done
| Reading task descriptions... Done
| The following NEW packages will be installed:
|   grub-splashimages
| 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
| Need to get 0B/292kB of archives. After unpacking 369kB will be used.
| Writing extended state information... Done
| Reading package fields... Done
| Reading package status... Done
| Retrieving bug reports... Done
| Selecting previously deselected package grub-splashimages.
| (Reading database ... 78529 files and directories currently installed.)
| Unpacking grub-splashimages (from .../grub-splashimages_1.0_all.deb) ...
| Setting up grub-splashimages (1.0) ...
| Reading Package Lists... Done
| Building Dependency Tree
| Reading extended state information
| Initializing package states... Done
| Reading task descriptions... Done
| [raph@nol/xrs] ~ : sudo update-grub
| Searching for GRUB installation directory ... found: /boot/grub .
| Testing for an existing GRUB menu.list file...
| 
| Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N)
`----

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-2004.07.02-18.16-kernel.org-nol
Locale: LANG=C, LC_CTYPE=C

Versions of packages grub-splashimages depends on:
ii  grub                  0.95+cvs20040624-8 GRand Unified Bootloader

-- no debconf information