Bug#534644: os-prober: ignores separate boot partition when mounted
Package: os-prober
Version: 1.56
Followup-For: Bug #534644
I had this problem for a while: os-prober does not recognize Windows
(any version) when the Windows partition is mounted. And this is really
annoying for someone who wants to share their files between two
different OSes.
I hope I am not wrong, but I think that this bug severity should be
raised to "important", because anyone who needs os-prober
(regardless of the fact that it comes by default with GRUB) because they
have a dual boot system is likely to mount the other partition at some
point.
In that moment, if grub-update is launched (or triggered by APT - which
is more likely), the OS in the mounted partition will disappear from the
boot list (at least until update-grub is launched/triggered again with
the OS partition not mounted.).
I was able to reproduce this bug by launching os-prober from root with
the mounted partitions, obtaining no output. After manually unmounting
the partitions, os-prober returns the correct list.
Then, I have mounted the partitions again (see below) and re-launched
os-prober:
claudio@Chuck:~$ sudo os-prober
[sudo] password for claudio:
/dev/sda1:Windows 8 (loader):Windows:chain
claudio@Chuck:~$ sudo mount -a
claudio@Chuck:~$ sudo os-prober
claudio@Chuck:~$
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (1001, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages os-prober depends on:
ii libc6 2.13-37
os-prober recommends no packages.
os-prober suggests no packages.
-- no debconf information
Reply to: