Description of problem: Version-Release number of selected component (if applicable): os-prober-1.63-2.mga4 How reproducible: Subsequently installed the grub2 but did not see the other os. The problem resolved if i wrote the file path to the blkid. edit os-prober line 79 /usr/sbin/blkid | grep btrfs | cut -d ':' -f 1 and 160 type=$(/usr/sbin/blkid -o value -s TYPE $mapped) maybe the 162 line is, you may want to supplement uuid=$(blkid -o value -s UUID $mapped) Reproducible: Steps to Reproduce:
CC: (none) => zen25000Assignee: bugsquad => zen25000
Please test using os-prober-1.65-3.mga5 from Cauldron core/updates_testing. Thanks.
I have the same issue but i have os-prober-1.65-3.mga5 installed. Tried update-grub2. reboot did not yield results. This problem started after i updated Mageia 15 minutes ago. till then i could see my opensuse install on another 500GB drive.
CC: (none) => ashvinlobo
(In reply to Jude Ashvin Lobo Shenoy from comment #2) > I have the same issue but i have os-prober-1.65-3.mga5 installed. Tried > update-grub2. reboot did not yield results. This problem started after i > updated Mageia 15 minutes ago. till then i could see my opensuse install on > another 500GB drive. Are you using Mga4 or Cauldron? Could you please _attach_ the output of: su fdisk -l os-prober ...and indicate which partition is the root of opensuse. Thanks
...and also the output of blkid
Created attachment 6190 [details] Grub2 not detecting other os
Have attached the results in the text file. os-prober does not give any output. my suse installation is on sdb which is a 500gb hdd with btrfs file system.
Hi - I have managed to reproduce this and now understand where the regression happened. Could you please install: http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/media/extra/release/os-prober-1.65-4.5.mga5.x86_64.rpm This is a work in progress, as it currently produces an over-long entry for Mageia on btrfs, but let me know if it fixes the missing suse entry. Please give the output of os-prober as well, Thanks
Attachment 6190 mime type: application/octet-stream => text/plain
Hi Barry, Thanks for your link. i nstalled os prober from it and all is well now. Attaching a pic of the grub2 menu and below is what os-prober spits out..... [ashvin@wolf ~]$ su - Password: [root@wolf ~]# os-prober /dev/sdb1:openSUSE 13.2 (x86_64):SUSE:linux [root@wolf ~]# Thanks a lot once again and i feel this issue now stands resolved at my end.
Created attachment 6200 [details] Grub2 not detecting other os
Hi Barry, Thanks a lot ofr your assistance by providing me the link to download os prober once again. Installed it and all is well once again. Yes it does produce a over-long entry but not an issue over here at my end. The results below are from os-prober.... [ashvin@wolf ~]$ su - Password: [root@wolf ~]# os-prober /dev/sdb1:openSUSE 13.2 (x86_64):SUSE:linux [root@wolf ~]# Seems like this issue stands resolved at my end.
OK many thanks for your report and for testing - this also affects Cauldron so it's good that you caught it ;) You can continue using that version until you eventually upgrade to Mga5 when it will update as normal. Please leave the bug open as I will attend to Cauldron before fixing Mga4. I have now fixed the over long entries for Mageia (on btrfs) and will push to updates testing.
Priority: Normal => HighWhiteboard: (none) => MGA5TOOSeverity: normal => major
Yes i will leave it open. Seems like it just happened to me suddenly but good we got it much earlier before the 5 release. thanks again.
Whiteboard: MGA5TOO => (none)
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer maintained, which means that it will not receive any further security or bug fix updates. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version. Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't able to fix it before Mageia 4's end of life. If you are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia. If it's valid in several versions, select the highest and add MGAxTOO in whiteboard for each other valid release. Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete. If you would like to help fixing bugs in the future, don't hesitate to join the packager team via our mentoring program [1] or join the teams that fit you most [2]. [1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager [2] http://www.mageia.org/contribute/
Created attachment 7024 [details] kcm-grub2 message window Ok. Well, the problem still exists, but I've noticed that only occurs when the KCM-grub2 in a modification. If you manually change anything in the "/etc/default/grub" file and I send it to the update-grub2 then there is no problem. I attached a picture.
Version: 4 => 5
Could you try the following in a terminal: (use copy/paste to avoid errors) and enter one line at a time, hitting ENTER between lines. su - (give root password) cp /usr/bin/os-prober /usr/bin/os-prober_bak sed -i 's/blkid/\/usr\/sbin\/blkid/g' /usr/bin/os-prober exit See if it makes any difference.
Ãgy tökéletes! - Perfect! Bug corrected. sed -i 's:blkid:/usr/sbin/blkid:g' :) readable, and less typing.
(In reply to Mészáros Csaba from comment #16) > Ãgy tökéletes! - Perfect! > Bug corrected. > > sed -i 's:blkid:/usr/sbin/blkid:g' :) readable, and less typing. OK great - thanks for reporting I will patch os-prober. Regarding sed - thanks for the tip :) Closing this bug as it's resolved for Mga5+ - will fix this last issue (#14) in Cauldron and open a bug for update to Mga5.
Status: NEW => RESOLVEDResolution: (none) => FIXED
(In reply to Barry Jackson from comment #17) > Closing this bug as it's resolved for Mga5+ - will fix this last issue (#14) > in Cauldron and open a bug for update to Mga5. You could use this very bug report to handle the Mageia 5 update, that how we do it usually.
Reopening as it's not fixed in Mageia 5 yet. If you still prefer to use a separate bug report for the Mageia 5 update, then you should change the version tag of this bug to Cauldron when closing it.
Status: RESOLVED => REOPENEDResolution: FIXED => (none)
Well it's really another issue, so trying to do the right thing I opened a fresh bug report referring to #14 here, for Mga5 The original bug was fixed before Mga5 release: r819735 | barjac | 2015-04-06 15:24:24 +0100 (Mon, 06 Apr 2015) | 2 lines - fixed missing os in menu (SuSE on btrfs) Mga#15209 - fixed over-long menu item for Mageia on btrfs I can't do right for doing wrong it seems, and really don't have time at the moment, which is why I opened the other bug to remind me later. :\
Alright, I misunderstood then. Indeed comment 14 is a new bug, and it had its place in a new bug report :)
Status: REOPENED => RESOLVEDResolution: (none) => FIXED