os-prober does not detect ubuntu installations in btrfs subvolumes with EFI partitioning

Bug #1294638 reported by valmar
44
This bug affects 10 people
Affects Status Importance Assigned to Milestone
os-prober
New
Unknown
os-prober (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I am running Kubuntu 14.04 beta 1 installed in a btrfs filesystem on a GPT-partitioned hard disk (my machine has an EFI bios).
I also have Ubuntu 13.10 installed on the same machine in another partition, also btrfs.

os-prober from Kubuntu 14.04 does not detect the 13.10 kernels, most likely because they lie in the normal subvolume @ created by Ubuntu. If I mount the @ subvolume somewhere and then run update-grub the kernels are detected, but the path written in grub.cfg is then wrong because it ignores the subvolume and treats the kernels like they are in the btrfs root volume.

This is always reproduceable: Install Ubuntu 13.10 in one btrfs partition, install Kubuntu 14.10 in another. Run update grub in Kubuntu 14.10. The Ubuntu 13.10 kernels are not detected.

This is the os-prober package info:

Package: os-prober
Architecture: amd64
Version: 1.63ubuntu1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in os-prober (Ubuntu):
status: New → Confirmed
Revision history for this message
Bougron (fbougron) wrote :

This bug is also on official distribution http://releases.ubuntu.com/trusty/ (14.04.2 with kernel 3.16)
 See this french discussion =>http://forum.ubuntu-fr.org/viewtopic.php?id=1807471

Revision history for this message
Bougron (fbougron) wrote :

I have installed 14.04.2 (kernel 3.16) on a BTRFS partition. it is OK.
                    This installation can see (os-prober) all others ubuntu installations, spécially a new installation on 14.04.2 (kernel 3.16) on a EXT4 partition.

                    All other installations can't see (os-prober) this installation probably because it is installed on a BTRFS partition!

Revision history for this message
Esokrates (esokrarkose) wrote :

See the upstream bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688336
Fedora does not have this problem, it ships patched packages, see https://bugzilla.redhat.com/show_bug.cgi?id=888341
Work has been done by Gene Czarcinski, but upstream has not yet merged his work.

Changed in os-prober:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.