[Bug 845589] "grub2-mkconfig" is not finding another linux install (in RC1)
http://bugzilla.suse.com/show_bug.cgi?id=845589
Andrei Borzenkov
I run "grub2-mkconfig -o /boot/grub2/grub.cfg" when booted on sda1. SLES12 on sda3 is detected but none of the boot entries are written to the grub.cfg on sda1.
Please run os-prober and attach /var/log/messages (or just everything during os-prober run, but full file is simpler).
I created the attached patch for /usr/lib/linux-boot-probes/mounted/40grub2 as a workaround for my configuration.
Unfortunately patch is not correct and likely works just by side effect. There are two cases a) when os-prober checks top level subvolume. This is probably your case and the case I can reproduce. It is easy to fix b) when /boot is real subvolume. Here we potentially have to deal with both old grub2 (names relative to implicit default subvolume) and new grub2 (names are full paths from btrfs root including subvolume). I do not think we are going to hit this often so I'd like to fix a) and think what can be done for b), unless you can suggest patch :) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com