Bug#614023: grub-common: /etc/grub.d/30_os-prober sets invalid boot device for the Hurd

Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sat Feb 19 01:21:14 UTC 2011


Package: grub-common
Version: 1.98+20100804-14
Severity: normal

Hi,

as the subject already suggests, the os-prober script sets an invalid boot
device for a parallel installation of Debian GNU/Hurd. This will make
the Hurd fail to boot when booting it from a chainloaded GRUB2 (after
upgrading a previously installed GRUB1).

The affected line is:

    "multiboot /boot/gnumach.gz root=device:hd0smsdos2"

where "hd0smsdos2" is not a valid identifier for a partition in the Hurd.
The proper naming is "hd0s2" and after correcting the device name, that is:

    "multiboot /boot/gnumach.gz root=device:hd0s2"

the Hurd boots properly again. I think, that at some point one of the migration
scripts from GRUB1 to GRUB2 or the os-prober script introduce an additional
"msdos" label into the device name which eventually makes the device name
invalid.

Regards,

Adrian

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-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/dash

Versions of packages grub-common depends on:
ii  base-files              6.0              Debian base system miscellaneous f
ii  dpkg                    1.15.8.10        Debian package management system
ii  gettext-base            0.18.1.1-3       GNU Internationalization utilities
ii  install-info            4.13a.dfsg.1-6   Manage installed documentation in 
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1      2:1.02.48-5      The Linux Kernel Device Mapper use
ii  libfreetype6            2.4.2-2.1        FreeType 2 font engine, shared lib
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages grub-common recommends:
ii  os-prober                     1.42       utility to detect other OSes on a 

Versions of packages grub-common suggests:
pn  grub-emu                      <none>     (no description available)
pn  multiboot-doc                 <none>     (no description available)
pn  xorriso                       <none>     (no description available)

-- no debconf information





More information about the Pkg-grub-devel mailing list