FS#33563 - [os-prober] errors while grub-mkconfig

Attached to Project: Community Packages
Opened by Nikolay Amiantov (abbradar) - Friday, 25 January 2013, 19:55 GMT
Last edited by Timothy Redaelli (tredaelli) - Monday, 28 January 2013, 14:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Timothy Redaelli (tredaelli)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
While doing grub-mkconfig there are errors from os-prober. OS is found anyway.

Additional info:
* package version(s)
grub-bios 2.00-1
os-prober 1.57-2

* config and/or log files etc.

Log from running "grub-mkconfig > /dev/null":

Generating grub.cfg ...
Found background: /boot/grub/backgrounds/suika.png
Found linux image: /boot/vmlinuz-linux-pf
Found initrd image: /boot/initramfs-linux-pf.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found memtest86+ image: /boot/memtest86+/memtest.bin
No volume groups found
/usr/share/os-prober/common.sh: line 47: /var/lib/os-prober/labels: No such file or directory
mkdir: cannot create directory ‘/var/lib/os-prober/mount’: No such file or directory
Found Windows 8 (loader) on /dev/sda2
done

Steps to reproduce:
1. grub-mkconfig > /dev/null
This task depends upon

Closed by  Timothy Redaelli (tredaelli)
Monday, 28 January 2013, 14:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Make /var/lib/os-prober empty directory (1.57-3)
Comment by Balló György (City-busz) - Saturday, 26 January 2013, 16:44 GMT
On one of my systems, it causes that os-prober can't find Windows 7. Downgrading to os-prober 1.56-1 solves the problem.

Loading...