[Bug 767272] New: Missing boot entries for other distros.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c0 Summary: Missing boot entries for other distros. Classification: openSUSE Product: openSUSE 12.2 Version: Milestone 3 Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: hippolyte@shaw.ca QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0 Sometimes os-prober fails to mount a partition, often Ubuntu root partition but not always. As a consequence it cannot read the the Grub menu and add a boot entry. It happens randomly but regularly with different os-prober versions, on different distros and different machines. This bug is NOT the same as the one decribed here https://bugzilla.novell.com/show_bug.cgi?id=759635 which affects only ufs2 partitions (solved in version 1.5.3 in my repo). Reproducible: Sometimes Steps to Reproduce: Boot openSUSE and run os-prober. If all systems are detected, reboot another OS, such as Ubuntu, (so its root partition will be mounted), then reboot openSUSE and run os-prober again. It may take several tries before it fails. Once it fails, running os-prober multiple times will consistently fail to access the other OS, thinking it needs a file system check. Actual Results: # OSPDEBUG=yes os-prober No volume groups found /dev/sda1:Windows NT/2000/XP (loader):Windows:chain /dev/sda13:Fedora release 16 (Verne):Fedora:linux /dev/sda15:Debian GNU/Linux (squeeze/sid):Debian:linux /dev/sda3:FreeBSD:FreeBSD 8.1-RELEASE:freebsd mount: wrong fs type, bad option, bad superblock on /dev/sda6, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so /dev/sdb1:Windows NT/2000/XP (loader):Windows1:chain /dev/sdc1:Windows NT/2000/XP (loader):Windows2:chain /dev/sdc6:Gentoo Base System release 1.12.13:Gentoo:linux Expected Results: # OSPDEBUG=yes os-prober No volume groups found /dev/sda1:Windows NT/2000/XP (loader):Windows:chain /dev/sda13:Fedora release 16 (Verne):Fedora:linux /dev/sda15:Debian GNU/Linux (squeeze/sid):Debian:linux /dev/sda3:FreeBSD:FreeBSD 8.1-RELEASE:freebsd /dev/sda6:Ubuntu 11.10 (11.10):Ubuntu:linux /dev/sdb1:Windows NT/2000/XP (loader):Windows1:chain /dev/sdc1:Windows NT/2000/XP (loader):Windows2:chain /dev/sdc6:Gentoo Base System release 1.12.13:Gentoo:linux OSPDEBUG is a flag I added to prevent redirecting standard error and see what happened. Mount failures can be seen in /var/log/messages: Jun 15 05:00:35 bareil os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda6 Jun 15 05:00:35 bareil kernel: [36610.164065] EXT4-fs (sda6): INFO: recovery required on readonly filesystem Jun 15 05:00:35 bareil kernel: [36610.164069] EXT4-fs (sda6): write access unavailable, cannot proceed It seems that this partition would need a file system check (however it is not the case), which can not proceed because it is mounted read only. This is due to a call to the function ro_partition, defined in /usr/share/os-prober/common.sh: ro_partition () { if type blockdev >/dev/null 2>&1 && \ [ "$(blockdev --getro "$1")" = 0 ] && \ blockdev --setro "$1"; then cleanup_ro_partitions="${cleanup_ro_partitions:+$cleanup_ro_partitions }$1" trap cleanup EXIT HUP INT QUIT TERM fi } It explicitely sets the partition read only (blockdev --setro). Commenting out this function call in /usr/lib/os-probes/50mounted-tests solves the problem but I'm not sure how safe it is, because all partitions will be accessed read-write in this case (I guess). # ro_partition "$partition" Now sda6 can be mounted, grub.cfg can be read and the boot entry will be added (see expected results above). Next, you could uncomment ro_partition in /usr/lib/os-probes/50mounted-tests, and os-prober would mount it this time. Once a partition has been already mounted, os-prober has no problem to mount it again. Therefore a safer workaround would be to mount the failing partition manually until this bug has been fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c2 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|aj@suse.com |mchang@suse.com --- Comment #2 from Andreas Jaeger <aj@suse.com> 2012-06-18 12:32:21 UTC --- Michael, can you take care of this, please? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c3 --- Comment #3 from Michael Chang <mchang@suse.com> 2012-06-19 09:18:50 UTC --- Agnelo, Thank you to feedback the issue. I think we should not tweak ro_partition because it guarantee foreign OS's partition intact. However we have to know why the partition would require recovery on it. Perhaps it got un-properly shutdown in foreign OS ? We have to make sure everything is sound at first. I am not an expert in file system or block device so can't tell too much, but your workaround seems best to me so far .. I'm not certain who can help on diagnose the other possible cause and solution to this problem. :( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c4 --- Comment #4 from Agnelo de la Crotche <hippolyte@shaw.ca> 2012-06-19 10:34:40 UTC --- I agree, we should not tweak ro_partition. I just wanted to provide this explanation because I have been wondering myself why some OSes were occasionnaly missing.
Perhaps it got un-properly shutdown in foreign OS ?
Yes probably. But those file systems get checked at boot and they don't need to be repared. Further, when I mount the failing file system manually, it doesn't complain or tell me that I should run fsck. That's what I don't understand. Something in the state of the file system is not critical enough (doesn't require fsck) but still bothers when the script tries to mount it read only. That would be my guess, but I'm not a file system expert either. Next time I get the issue, I will try to mount the file system read only. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c5 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |hippolyte@shaw.ca --- Comment #5 from Michael Chang <mchang@suse.com> 2012-07-05 06:45:29 UTC --- Agnelo, Ping. Do you think it ok we close this issue? Or do you have any finding on it? Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c6 --- Comment #6 from Agnelo de la Crotche <hippolyte@shaw.ca> 2012-07-06 00:43:47 UTC --- Hi. If you're asking me, you should pass the bug report upstream because it's not fixed and it affects all versions of os-prober on all distros (including the latest one I'm using). I didn't fill a bug report earlier because I couldn't describe clearly why and when it happens. I still don't know the reason but I was able to isolate the cause at least. The question is: why does os-prober believe that a file system is in an unstable state while everything else (meaning fsck and mount) says it is OK. I know that I'm missing something. But answering this question will probably lead to the solution.
Next time I get the issue, I will try to mount the file system read only.
Makes me think I have to remember to do that. The work around is to mount/umount the failing file sytem manually, then run os-prober again. That's what I do every time I notice that a boot entry for an OS is missing. But it requires user intervention, and os-prober is usually executed by another script. As far as I can tell, it has always worked. In any case, the foreign OS - the one os-prober is looking for - is the culprit. I don't think I have seen issues with Ubuntu 12.04 so far, but I have a lot of issues with Ubuntu 11.10 and several with Fedora and openSUSE (no matter which kernel - nothing to do with kernel 3.1.10-1.13, which is known not to always shut down properly.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c7 --- Comment #7 from Agnelo de la Crotche <hippolyte@shaw.ca> 2012-07-07 05:42:34 UTC --- OK. just got it here on 12.1 with os-prober 1.53 (but as I aready said, it affects all versions) after updating the kernel and running updategrub, which uses os-prober. Ubuntu 11.10 boot entry was missing. I then run os-prober with the DEBUG flag. OSPDEBUG=yes os-prober No volume groups found mount: unknown filesystem type 'vfat' /dev/sda13:Fedora release 16 (Verne):Fedora:linux /dev/sda15:Debian GNU/Linux (squeeze/sid):Debian:linux mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: wrong fs type, bad option, bad superblock on /dev/sda6, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so mount: unknown filesystem type 'vfat' mount: unknown filesystem type 'vfat' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' /dev/sdc6:Gentoo Base System release 1.12.13:Gentoo:linux The "unknown filesystem" errors are irrelevant and will go away after I reboot. os-prober could not mount /dev/sda6 read-only. I try to mount it manually. mount -v -o ro /dev/sda6 /mnt mount: you didn't specify a filesystem type for /dev/sda6 I will try type ext4 /dev/sda6 on /mnt type ext4 (ro) And it works, without complaining I could have specified the file system but os-prober doesn't either (I might have to double check though). Now I can either leave /dev/sda6 mounted or unmount it. I doesn't matter. os-prober will work this time. OSPDEBUG=yes os-prober No volume groups found mount: unknown filesystem type 'vfat' /dev/sda13:Fedora release 16 (Verne):Fedora:linux /dev/sda15:Debian GNU/Linux (squeeze/sid):Debian:linux mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' /dev/sda6:Ubuntu 11.10 (11.10):Ubuntu:linux mount: unknown filesystem type 'vfat' mount: unknown filesystem type 'vfat' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' mount: unknown filesystem type 'ufs' /dev/sdc6:Gentoo Base System release 1.12.13:Gentoo:linux As you can see, Ubuntu (/dev/sda6) was found this time. So why did it fail the first time? It the fs would have been unstable, manual (ro) mounting wouldn't have worked either. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c9 --- Comment #9 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-01-19 19:22:30 UTC --- Could you test os-prober from http://download.opensuse.org/repositories/home:/arvidjaar:/bnc:/799457:/grub... ? It fixes grub-mount name which is grub2-mount here. As shown in bnc#799475, grub2-mount can mount filesystem which will be refused by kernel driver, so it may fix your issue as well. I will push it anyway as it is obvious bug but I would like to make correct changelog entry and close this bug if possible. Unfortunately I have no idea where "upstream" is to push correct upstream solution. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c10 --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-22 06:00:10 CET --- This is an autogenerated message for OBS integration: This bug (767272) was mentioned in https://build.opensuse.org/request/show/149502 Factory / os-prober -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c11 pierre Labarbe <pierre.5933@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pierre.5933@gmail.com --- Comment #11 from pierre Labarbe <pierre.5933@gmail.com> 2013-03-11 10:59:02 UTC --- I have the same problem os-prober , grub-customizer and other dont find other Os If I mount the partition the root of the other OS is found Os-prober Find tThe os In the french forum wee are 3 to have the same problem can wee expect that it can bee solved ?? Exemple after an update pierre@linux-ftyb:~$ sudo os-prober root's password: No volume groups found /dev/sda1:Windows NT/2000/XP:Windows:chain /dev/sda5:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux pierre@linux-ftyb:~$ after mounting the partition sda7 where kubuntu is pierre@linux-ftyb:~$ sudo os-prober No volume groups found /dev/sda1:Windows NT/2000/XP:Windows:chain /dev/sda5:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux /dev/sda7:Ubuntu 12.10 (12.10):Ubuntu1:linux pierre@linux-ftyb:~$ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c12 --- Comment #12 from pierre Labarbe <pierre.5933@gmail.com> 2013-03-11 11:00:25 UTC --- I have the same problem os-prober , grub-customizer and other dont find other Os If I mount the partition the root of the other OS is found Os-prober Find tThe os In the french forum wee are 3 to have the same problem can wee expect that it can bee solved ?? Exemple after an update pierre@linux-ftyb:~$ sudo os-prober root's password: No volume groups found /dev/sda1:Windows NT/2000/XP:Windows:chain /dev/sda5:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux pierre@linux-ftyb:~$ after mounting the partition sda7 where kubuntu is pierre@linux-ftyb:~$ sudo os-prober No volume groups found /dev/sda1:Windows NT/2000/XP:Windows:chain /dev/sda5:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux /dev/sda7:Ubuntu 12.10 (12.10):Ubuntu1:linux pierre@linux-ftyb:~$ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c13 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|hippolyte@shaw.ca |pierre.5933@gmail.com --- Comment #13 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-11 11:47:13 UTC --- (In reply to comment #12)
os-prober , grub-customizer and other dont find other Os
If I mount the partition the root of the other OS is found Os-prober Find tThe os
Could you attach /var/log/messages which spans time before you run os-prober first time (which did not find entries) and after you run os-prober second time (when entries were found). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c14 --- Comment #14 from pierre Labarbe <pierre.5933@gmail.com> 2013-03-11 12:51:42 UTC --- I cant do it at the moment because , to day it is ok , I have to wait the problem , and I will do it -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c15 --- Comment #15 from Agnelo de la Crotche <hippolyte@shaw.ca> 2013-03-11 18:19:40 UTC --- (In reply to comment #14)
I cant do it at the moment because , to day it is ok , I have to wait the problem , and I will do it
That's one of the problem with this bug: you know that it will happen again some time but it is hard to reproduce. Apparently the file system is OK (fsck doesn't complain). However os-prober fails to mount the root partition of the foreign OS. To reproduce the bug, you will have to reboot Kubuntu a couple times. Notice that after you mount the partition once, os-prober should still detect the OS, even if you umount the partition. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c16 --- Comment #16 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-11 18:31:44 UTC --- (In reply to comment #15)
That's one of the problem with this bug: you know that it will happen again some time but it is hard to reproduce.
I did not ask to reproduce. I asked for logs of something that already happened. /var/log/messages is normally stored persistently and is kept for at least some time ... in my case history goes as far as one year. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c17 --- Comment #17 from pierre Labarbe <pierre.5933@gmail.com> 2013-03-12 11:56:39 UTC --- Created an attachment (id=529296) --> (http://bugzilla.novell.com/attachment.cgi?id=529296) compressed fles of messages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c18 --- Comment #18 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-12 15:29:27 UTC --- (In reply to comment #17)
Created an attachment (id=529296) --> (http://bugzilla.novell.com/attachment.cgi?id=529296) [details] compressed fles of messages
Hmm ... bor@opensuse:~/tmp/bnc/767272> unxz messages-20130* unxz: messages-20130211.xz: File format not recognized unxz: messages-20130224.xz: File format not recognized unxz: messages-20130307.xz: File format not recognized -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c19 --- Comment #19 from pierre Labarbe <pierre.5933@gmail.com> 2013-03-12 17:10:19 UTC --- Created an attachment (id=529366) --> (http://bugzilla.novell.com/attachment.cgi?id=529366) logdirectorycompressed I dont know what you need all the files messages seem to beestange , I prefer to compress the directory /var/log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c20 --- Comment #20 from pierre Labarbe <pierre.5933@gmail.com> 2013-03-12 17:22:55 UTC --- Created an attachment (id=529368) --> (http://bugzilla.novell.com/attachment.cgi?id=529368) The directory log compressed , with rights modified This file is perhaps best , I have modified right, if it is necessary -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c21 --- Comment #21 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-12 17:26:22 UTC --- (In reply to comment #20)
Created an attachment (id=529368) --> (http://bugzilla.novell.com/attachment.cgi?id=529368) [details] The directory log compressed
Thank you, but it does not contain messages, and files you attached the first time are all zeros. So it looks like logs are lost. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c22 --- Comment #22 from pierre Labarbe <pierre.5933@gmail.com> 2013-03-13 07:50:19 UTC --- it is what I understood, The files for mee whas empty sorry , but why are they ? Is it normal ? what can I doo? Thanks Pierre -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c23 --- Comment #23 from pierre Labarbe <pierre.5933@gmail.com> 2013-03-14 08:55:52 UTC --- To day after update bubuntu in suse 12.2 kde I have done this in a terminal pierre@linux-ftyb:~$ sudo os-prober root's password: No volume groups found /dev/sda1:Windows NT/2000/XP:Windows:chain /dev/sda5:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux /dev/sda9:openSUSE 12.3 (x86_64):SUSE:linux pierre@linux-ftyb:~$ sudo mount /dev/sda7 /mnt pierre@linux-ftyb:~$ sudo os-prober No volume groups found /dev/sda1:Windows NT/2000/XP:Windows:chain /dev/sda5:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux /dev/sda7:Ubuntu 12.10 (12.10):Ubuntu1:linux /dev/sda9:openSUSE 12.3 (x86_64):SUSE:linux pierre@linux-ftyb:~$ What can i do to help to solve this problem, as you can see, on an other directory ( sda9) Suse 12.3 is installed since yesterday I will repeat the operation on suse 12.3 Pierre -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c24 --- Comment #24 from pierre Labarbe <pierre.5933@gmail.com> 2013-03-14 08:56:12 UTC --- To day after update bubuntu in suse 12.2 kde I have done this in a terminal pierre@linux-ftyb:~$ sudo os-prober root's password: No volume groups found /dev/sda1:Windows NT/2000/XP:Windows:chain /dev/sda5:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux /dev/sda9:openSUSE 12.3 (x86_64):SUSE:linux pierre@linux-ftyb:~$ sudo mount /dev/sda7 /mnt pierre@linux-ftyb:~$ sudo os-prober No volume groups found /dev/sda1:Windows NT/2000/XP:Windows:chain /dev/sda5:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux /dev/sda7:Ubuntu 12.10 (12.10):Ubuntu1:linux /dev/sda9:openSUSE 12.3 (x86_64):SUSE:linux pierre@linux-ftyb:~$ What can i do to help to solve this problem, as you can see, on an other directory ( sda9) Suse 12.3 is installed since yesterday I will repeat the operation on suse 12.3 Pierre -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c25 --- Comment #25 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-14 09:00:58 UTC --- (In reply to comment #23)
To day after update bubuntu in suse 12.2 kde I have done this in a terminal Please attach current /var/log/messages
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c26 --- Comment #26 from pierre Labarbe <pierre.5933@gmail.com> 2013-03-14 09:03:42 UTC --- I have try to do the same thing but it seems that , at the moment, some os are not lost pierre@linux-zo9y:~> sudo os-prober root's password: /dev/sdc: open failed: Aucun medium trouvé No volume groups found /dev/sda1:Windows NT/2000/XP:Windows:chain /dev/sda2:openSUSE 12.2 (x86_64):SUSE:linux /dev/sda5:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux /dev/sda7:Ubuntu 12.10 (12.10):Ubuntu1:linux pierre@linux-zo9y:~> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c27 --- Comment #27 from pierre Labarbe <pierre.5933@gmail.com> 2013-03-14 09:39:07 UTC --- Created an attachment (id=529665) --> (http://bugzilla.novell.com/attachment.cgi?id=529665) last messagesfrom var/log I houpe taht you will bee able to resad this file and find the solution regards Pierre -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c28 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|pierre.5933@gmail.com | --- Comment #28 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-14 10:14:15 UTC --- (In reply to comment #27)
Created an attachment (id=529665) --> (http://bugzilla.novell.com/attachment.cgi?id=529665) [details] last messagesfrom var/log
I houpe taht you will bee able to resad this file and find the solution
Well, this is the same well known issue Mar 7 19:10:38 linux-ftyb os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda7 Mar 7 19:10:38 linux-ftyb kernel: [ 6652.325506] EXT4-fs (sda7): INFO: recovery required on readonly filesystem Mar 7 19:10:38 linux-ftyb kernel: [ 6652.325511] EXT4-fs (sda7): write access unavailable, cannot proceed os-prober in 12.3 is using grub2-mount so it /may/ cope better with such condition. grub2-mount has its share of problems too, but it is what upstream is using, so hopefully we may profit from it. I'm reluctant to backport it to 12.2 though. It needs changes in grub2 too and it is still not sufficiently tested for stable update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c29 ahlner ahlner <ahlner3@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ahlner3@gmail.com --- Comment #29 from ahlner ahlner <ahlner3@gmail.com> 2013-03-19 17:40:38 UTC --- I've same problems after many tests, so add a section based in /etc/grub.d/40_custom : menuentry 'Xubuntu 12.10' { set root='(hd1,1)' chainloader +1 } Finally, with "update-bootloader" and its options, I've add successfully as root : update-bootloader --add --name Xubuntu 12.10 --image /dev/sdb1/vmlinuz --initrd /dev/sdb1/initrd.img It's also possible to set as default the last added section by this field at end of the command line : --default Then also as root : update-bootloader --refresh -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c30 --- Comment #30 from ahlner ahlner <ahlner3@gmail.com> 2013-03-23 17:00:17 UTC --- update-bootloader and its options works (well) only for Linux distributions. /etc/grub.d/40_custom is general use, but its effects don't modify grub.cfg On my pc64, NetBSD is missing in grub.cfg and was missing on my pc32. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c31 --- Comment #31 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-23 17:17:05 UTC --- (In reply to comment #30)
On my pc64, NetBSD is missing in grub.cfg and was missing on my pc32.
Please open separate bug report so it can be properly tracked. It is unrelated to this problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c32 --- Comment #32 from ahlner ahlner <ahlner3@gmail.com> 2013-03-24 14:58:55 UTC --- Sorry : grub2 does not detect all OS of a machine. My English is poor and I don't know how to say to you what I think. There is a correlation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c33 --- Comment #33 from Agnelo de la Crotche <hippolyte@shaw.ca> 2013-03-24 21:12:13 UTC --- (In reply to comment #31)
(In reply to comment #30)
On my pc64, NetBSD is missing in grub.cfg and was missing on my pc32.
Please open separate bug report so it can be properly tracked. It is unrelated to this problem.
There is already a bug report about missing ufs support in os-prober, but I can not find it right now. I'm sure you will find it, Andrey. See this bug report about this issue and how I addressed it in my port of os-prober (1.56). os-prober treated ufs2 as ufs1 and failed to mount the slices. Further there wasn't code in Grub2 scripts to handle BSD detection output and create boot entries (I added some in my updateGrub2). I read (io some Changelog) that ufs support had been added and withdrawn in os-prober upstream. I have no idea why. I haven't seen the old code. Thus my patches are probably completely different. To fix this bug you need two things: . make os-prober aware of ufs1 and ufs2 file systems, so that it can mount them properly and tell it where to look for the different BSD kernels (I did that in my patches for NetBSD, OpenBSD and FreeBSD - not for DragonFly though) . add code in Grub2 scripts to deal with this output and write the boot entries. It's a while ago, I know. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c34 --- Comment #34 from Agnelo de la Crotche <hippolyte@shaw.ca> 2013-03-24 21:29:34 UTC --- (In reply to comment #32)
Sorry : grub2 does not detect all OS of a machine. My English is poor and I don't know how to say to you what I think. There is a correlation.
Both bugs have the consequence that the boot entries for foreign operating systems are missing, but there is no other correlation. The Linux bug discussed here is related to the ext2 file system and journaling at a pretty low level, I think. IMO, only a ext2 expert will be able to sort it (without using hacks). The BSD bug is either ignoring ufs partitions or failing to mount them properly, due to a syntax error (wrong mount option: 44bsd vs ufs2) in os-prober scripts. This bug will be easy to fix, as soon as maintainers are interested in fixing it (I fixed it a long time ago). Further you'll have to add a script in Grub2 to write NetBSD or other BSD entries, but this is not difficult. Whether they will effectively boot BSD kernels is another problem. In the past (with legacy Grub), it used to work or not. In any case, chainloading - as you already mentioned - is always possible, but it's a work around to a specific problem in a given situation, and not a bugfix. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c35 --- Comment #35 from Agnelo de la Crotche <hippolyte@shaw.ca> 2013-03-24 21:33:00 UTC --- (In reply to comment #33)
(In reply to comment #31)
(In reply to comment #30)
On my pc64, NetBSD is missing in grub.cfg and was missing on my pc32.
Please open separate bug report so it can be properly tracked. It is unrelated to this problem.
There is already a bug report about missing ufs support in os-prober, but I can not find it right now.
Here is it: https://bugzilla.novell.com/show_bug.cgi?id=759635 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767272 https://bugzilla.novell.com/show_bug.cgi?id=767272#c36 Jeffrey Cheung <jcheung@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |jcheung@suse.com Resolution| |WONTFIX --- Comment #36 from Jeffrey Cheung <jcheung@suse.com> 2014-02-10 07:43:39 UTC --- With the release of the gnumeric on January 27th, 2014 the SUSE sponsored maintenance of openSUSE 12.2 has ended. openSUSE 12.2 is now officially discontinued and out of support by SUSE. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com