update-grub2: /var/lib/os-prober/mount: Numerical result out of range

Bug #756456 reported by Julian Taylor on 2011-04-10
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
High
Colin Watson
Natty
High
Colin Watson

Bug Description

Binary package hint: grub2

since grub 1.99~rc1-9ubuntu1 I get the weird messages:
ls: reading directory /var/lib/os-prober/mount: Numerical result out of range
when executing update-grub2

$ sudo update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found linux image: /boot/vmlinuz-2.6.38-7-generic
Found initrd image: /boot/initrd.img-2.6.38-7-generic
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
Found memtest86+ image: /boot/memtest86+.bin
ls: reading directory /var/lib/os-prober/mount: Numerical result out of range
ls: reading directory /var/lib/os-prober/mount: Numerical result out of range
ls: reading directory /var/lib/os-prober/mount: Numerical result out of range
ls: reading directory /var/lib/os-prober/mount: Numerical result out of range
ls: reading directory /var/lib/os-prober/mount: Numerical result out of range
ls: reading directory /var/lib/os-prober/mount: Numerical result out of range
ls: reading directory /var/lib/os-prober/mount: Numerical result out of range
Found Ubuntu 10.10 (10.10) on /dev/sda2
Found Windows 7 (loader) on /dev/sda4
Found Debian GNU/Linux (wheezy/sid) on /dev/mapper/lvm-debian
done

It also still occurs in 1.99~rc1-10ubuntu1, but goes away when reverting back to grub 1.99~rc1-8ubuntu2

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: grub-pc 1.99~rc1-8ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Apr 10 12:30:17 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110329.1)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Julian Taylor (jtaylor) wrote :
description: updated
Colin Watson (cjwatson) wrote :

Looks like grub-mount isn't doing the right things to return errors to fuse, resulting in this.

Changed in grub2 (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → High
status: New → Triaged
Colin Watson (cjwatson) on 2011-04-10
Changed in grub2 (Ubuntu):
status: Triaged → In Progress
Colin Watson (cjwatson) on 2011-04-10
Changed in grub2 (Ubuntu Natty):
status: In Progress → Fix Committed
milestone: none → ubuntu-11.04-beta-2
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2 - 1.99~rc1-11ubuntu1

---------------
grub2 (1.99~rc1-11ubuntu1) natty; urgency=low

  * Resynchronise with Debian. Remaining changes:
    - Adjust for default Ubuntu boot options ("quiet splash").
    - Default to hiding the menu; holding down Shift at boot will show it.
    - Set a monochromatic theme and an aubergine background for Ubuntu.
    - Apply Ubuntu GRUB Legacy changes to legacy update-grub script: title,
      recovery mode, quiet option, tweak how memtest86+ is displayed, and
      use UUIDs where appropriate.
    - Fix backslash-escaping in merge_debconf_into_conf.
    - Remove "GNU/Linux" from default distributor string.
    - Add crashkernel option.
    - Bypass menu unless other OSes are installed or Shift is pressed.
    - Allow Shift to interrupt 'sleep --interruptible'.
    - Reduce visual clutter in normal mode.
    - Remove verbose messages printed before reading configuration.
    - Suppress kernel/initrd progress messages, except in recovery mode.
    - Handle filesystems loop-mounted on file images.
    - Ignore devices loop-mounted from files in Linux grub.d scripts.
    - Show the boot menu if the previous boot failed.
    - Don't generate device.map during grub-install or grub-mkconfig.
    - Adjust upgrade version checks for Ubuntu.
    - Suppress "GRUB loading" message unless Shift is held down.
    - Adjust versions of grub-doc and grub-legacy-doc conflicts.
    - Fix LVM/RAID probing in the absence of /boot/grub/device.map.
    - Look for .mo files in /usr/share/locale-langpack first.
    - Build-depend on qemu-kvm rather than qemu-system for grub-pc tests.
    - Add a grub-rescue-efi-amd64 package.
    - On Wubi, don't ask for an install device, but just update wubildr
      using the diverted grub-install.
    - Check hardware support before using gfxpayload=keep.
    - Build part_msdos and vfat into EFI boot images.
    - Put second and subsequent Linux menu entries in a submenu.
    - Preferred resolution detection for VBE.
    - Set vt.handoff=7 for smooth handoff to kernel graphical mode.
    - Add grub-mount-udeb, containing just grub-mount.

grub2 (1.99~rc1-11) unstable; urgency=low

  * Update branch_fuse.patch:
    - Make grub-mount exit non-zero if opening the device or filesystem
      fails.
    - Translate GRUB error codes into OS error codes for FUSE (LP: #756456).
  * Merge from Ubuntu:
    - Fix use of freed memory when replacing existing loopback device
      (LP: #742967).
 -- Colin Watson <email address hidden> Sun, 10 Apr 2011 23:31:06 +0100

Changed in grub2 (Ubuntu Natty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers