Bug#584188: grub-pc: GRUB will not upgrade to GRUB2 on RAID system

Leslie Rhorer lrhorer at satx.rr.com
Wed Jun 2 05:09:34 UTC 2010


Package: grub-pc
Version: 1.98-1
Severity: grave
Justification: renders package unusable


GRUB legacy cannot be upgraded to GRUB2 on a system with a RAID array for /boot.  I upgraded one of my servers from "Lenny" to "Squeeze", but the upgrade of 
GRUB fails because the package does not know how to upgrade when /boot is a RAID array.  This is possibly peripherally related to bug report 575552.  If 
GRUB2 were already installed, I could probably work around this, but as long as the installation fails, there is no way to hand-configure GRUB2, especially 
not while maintaining a chain-load from GRUB legacy until the operation fo GRUB2 is confirmed.

Backup:/# dpkg --configure grub-pc
Setting up grub-pc (1.98-1) ...
Generating core.img
/usr/sbin/grub-probe: error: no mapping exists for `md1'.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-pc


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/md2 / ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/md1 /boot ext2 rw,relatime,errors=continue 0 0
/dev/md0 /Backup xfs rw,relatime,attr2,nobarrier,sunit=2048,swidth=14336,noquota 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
(hd1)	/dev/hdb
(hd2)	/dev/sda
(hd3)	/dev/sdb
(hd4)	/dev/sdc
(hd5)	/dev/sdd
(hd6)	/dev/sde
(hd7)	/dev/sdf
(hd8)	/dev/sdg
(hd9)	/dev/sdh
(hd10)	/dev/sdi
*********************** END /boot/grub/device.map

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]         1.5.32     Debian configuration management sy
ii  grub-common                   1.98-1     GRand Unified Bootloader, version 
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  ucf                           3.0025     Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: true
  grub-pc/install_devices:
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
  grub2/linux_cmdline_default: quiet





More information about the Pkg-grub-devel mailing list