Description of problem: I have cloned a btrfs installation of Mageia Cauldron into the logical volume of LVM. It is an UEFI system, btrfs-progs installed. os-prober does not find any other btrfs installation, whereas openSUSE 42.1 finds all instances and creates bootable entries. All instances have btrfs default subvolumes, read-write snapshots, other than the original default 5. Version-Release number of selected component (if applicable): 1.71 6.mga6 x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Best regards, Ulrich Beckmann
Created attachment 7801 [details] commands that show the test case
Assignee: bugsquad => zen25000
Would you please test this version of os-prober: http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/media/extra/release/os-prober-1.71-6.3.mga6.x86_64.rpm This reverts several changes and restores a patch for btrfs recognition that was in Mageia 5 and was recently dropped from Cauldron/Mga6.
Created attachment 7804 [details] Test of os-prober-1.71-6.3.mga6.x86_64.rpm The output of # grub2-mkconfig > >(tee mageia-18496-2.txt) 2> >(tee mageia-18496-2.err >&2) The btrfs installations are "found", but no entries in grub.cfg produced. Best regards Ulrich
Created attachment 7805 [details] Error channel of os-prober-1.71-6.3.mga6.x86_64.rpm
What is the output of su os-prober for both versions?
Created attachment 7808 [details] os-prober in both versions The output of command # os-prober in a) manually installed os-prober-1.71-6.3.mga6 b) actual repo os-prober-1.71-6.mga6 Greetings Ulrich
So the difference is that the manually installed version finds these that the current cauldron version does not: /dev/sda8:unknown Linux distribution:Linux:linux /dev/mapper/vg1-mlvm06:Mageia 6:Mageia:linux /dev/mapper/vg1-mlvm11:Fedora release 23 (Twenty Three):Fedora:linux But none of these appear in the menu. That would indicate to me that with os-prober-1.71-6.3.mga6 installed, the correct information is being passed to grub2-mkconfig but is ignored - would you agree?
Out of interest would you also please test this: http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/media/extra/release/os-prober-1.70-0.8.mga6.x86_64.rpm It is the current openSUSE tumbleweed version with all their patches but modified a little to fix some paths and add our ufs detection.
Created attachment 7811 [details] Test of os-prober-1.70-0.8.mga6 Hi Barry, Comment #7 Yes, I agree. But I did not where the real entry in grub.cfg is composed. Comment #8 Works exactly os-prober like openSUSE 42.1. Mageia 6 on vg1-mlvm06, ok unknown Linux distribution (KaOS Linux) on sda8, ok openSUSE 42.1 on vg1-mlvm12, ok Fedora 23 on vg1-mlvm11, not ok Fedora 23 was installed with shim.efi and Secure Boot. The other distributions boot with grubx64.efi. I forgot to mention. I have to manually add Fedora in /etc/grub.d/40_custom. Greetings, Ulrich Beckmann
Created attachment 7812 [details] grub.cfg referring to os-prober-1.70-0.8.mga6
Thanks Ulrich, This looks promising. I have also tested (in VM) with OpenSUSE on xfs (UEFI) and that is also OK. Regarding Fedora 23, this is not an issue since we do not support secure boot in any form. I will do some more testing and then push this to updates_testing so more people can test for regressions on other hardware and especially PC-BIOS machines. Barry
Hi Ulrich, Another test please ;) http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/media/extra/release/os-prober-1.71-6.6.mga6.x86_64.rpm Barry I would be interested to see if KaOS Linux on sda8 is still shown as "Unknown Linux" in the top level menu entries. I suspect it will, and this seems to be related to a recent SuSE patch, but we can fix that later hopefully.
Created attachment 7819 [details] Test of os-prober-1.71-6.6.mga6 Hi Barry, Please note that the annoying error message/warning "File descriptor 62 (pipe:[1465670]) leaked on vgs invocation. Parent PID 680: /usr/sbin/grub2-probe" disappeared with testing since comment #9. The last test shows no difference just like you expected. But that does not matter, as KaOS Linux ships with systemd-boot as default bootloader on UEFI systems. I had installed grub manually and made several config changes which I cannot trace any more. Nothing to spend time upon. Best wishes Ulrich
Hi Ulrich, There is now os-prober-1.71-7.mga6 in Cauldron core/updates_testing which has some cosmetic spec changes from the one you tested above. I will ask on ML for everyone to test for regressions with as much different hardware as possible. Thanks for your help. Barry
There was no response from my request for testing on dev-ML. So, with the testing done by Ulrich, Marja and myself showing no regressions I have pushed os-prober-1.71-8.mga6 to Core. Closing as fixed
Status: NEW => RESOLVEDResolution: (none) => FIXED