Public bug reported: Recent versions of os-prober have been erroneously reporting the component drives of a software (mdadm) array which results in grub2 adding boot entries for these drives. For example, my / filesystem is mounted on /dev/md0 and /proc/mdstat contains:
md0 : active raid1 sdb1[1] sda1[0] 24000960 blocks [2/2] [UU] Running os-prober reports: /dev/sda1:Ubuntu 11.10 (11.10):Ubuntu:linux /dev/sdb1:Ubuntu 11.10 (11.10):Ubuntu2:linux The problem is a missing backslash on line 84 of /usr/bin/os-prober which reads: "dev="${word%%[*}" and should instead read: dev="${word%%\[*}" I have confirmed that this bug is present in Ubuntu Oneiric and Precise. John ** Affects: os-prober (Ubuntu) Importance: Undecided Status: New ** Tags: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/905607 Title: software raid component drives erroneously detected To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/905607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs