[Bug 859420] New: Base:System/grub2: Bug - insmod lvm is missing
https://bugzilla.novell.com/show_bug.cgi?id=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c0 Summary: Base:System/grub2: Bug - insmod lvm is missing Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: jslaby@suse.com ReportedBy: scalpel4k@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com CC: mchang@suse.com, arvidjaar@gmail.com Found By: --- Blocker: --- I installed grub2 rev. 67 and subsequently wasn't able to boot anymore. It turned out that the lvm module had not been loaded. -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c1 --- Comment #1 from Andrey Borzenkov <arvidjaar@gmail.com> 2014-01-20 14:10:23 UTC --- Hmm ... I can't reproduce it in 13.1 with latest grub2 package. Could you run https://github.com/arvidjaar/bootinfoscript/raw/master/bootinfoscript and attach result here? Also which openSUSE version are you using? -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c2 --- Comment #2 from Michael Woski <scalpel4k@gmail.com> 2014-01-20 14:22:40 UTC --- Created an attachment (id=574951) --> (http://bugzilla.novell.com/attachment.cgi?id=574951) output from bootinfoscript In RESULTS.txt in line 267 you can see the manually added "insmod lvm" to make the bootloader work. I'm using Factory and Base:System on top. -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c3 --- Comment #3 from Andrey Borzenkov <arvidjaar@gmail.com> 2014-01-20 15:25:45 UTC --- Your configuration does not need lvm module (/boot is not on LVM). Please explain what "does not boot" mean. Describe exactly what output you get and at which moment. -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c4 --- Comment #4 from Michael Woski <scalpel4k@gmail.com> 2014-01-20 20:24:43 UTC --- without even getting to the boot screen I got the following error: grub_disk_write_weak not 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c5 --- Comment #5 from Andrey Borzenkov <arvidjaar@gmail.com> 2014-01-21 02:38:06 UTC --- This would indicate version mismatch between core.img and /boot/grub2. Did you try to reinstall it (grub2-install /dev/sda)? -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c6 --- Comment #6 from Michael Woski <scalpel4k@gmail.com> 2014-01-21 07:19:54 UTC --- (In reply to comment #5)
This would indicate version mismatch between core.img and /boot/grub2. Did you try to reinstall it (grub2-install /dev/sda)?
You seem right, I removed the insmod lvm and I still could boot my system, and I also think that one of the things I did was grub2-install ... remains the question why yast did not do that for me? thx for your help. -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c7 --- Comment #7 from Andrey Borzenkov <arvidjaar@gmail.com> 2014-01-21 07:29:12 UTC --- (In reply to comment #6)
remains the question why yast did not do that for me?
How you performed update? Please also show "rpm -qa --last" which contains grub2 packages you updated. -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c8 --- Comment #8 from Michael Woski <scalpel4k@gmail.com> 2014-01-21 08:25:26 UTC --- (In reply to comment #7)
How you performed update? Please also show "rpm -qa --last" which contains grub2 packages you updated.
$ rpm -qa --last|grep grub2 grub2-i386-pc-2.02~beta2-2.1.x86_64 Sat 18 Jan 2014 18:22:39 CET grub2-2.02~beta2-2.1.x86_64 Sat 18 Jan 2014 18:22:37 CET grub2-branding-openSUSE-13.1-227.125.noarch Sat 18 Jan 2014 10:51:39 CET at 10:51 I was obviously updating all packages from Base:System. Later, after I came back from mountainbiking I tried to install grub2 from factory - all through the yast package manager. After that was also unsuccessful I fiddeled with the configuration .... the rest you 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c9 --- Comment #9 from Andrey Borzenkov <arvidjaar@gmail.com> 2014-01-21 08:30:33 UTC --- (In reply to comment #8)
$ rpm -qa --last|grep grub2 grub2-i386-pc-2.02~beta2-2.1.x86_64 Sat 18 Jan 2014 18:22:39 CET grub2-2.02~beta2-2.1.x86_64 Sat 18 Jan 2014 18:22:37 CET grub2-branding-openSUSE-13.1-227.125.noarch Sat 18 Jan 2014 10:51:39 CET
The order of installation is correct and should have produced working grub2. The only case I can think of is when you happen to have grub2 which is using update-bootloader --reinit but too old perl-Bootloader that does not yet support it. What version of perl-Bootloader you have? -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c10 --- Comment #10 from Michael Woski <scalpel4k@gmail.com> 2014-01-21 08:34:23 UTC --- (In reply to comment #9)
The order of installation is correct and should have produced working grub2. The only case I can think of is when you happen to have grub2 which is using update-bootloader --reinit but too old perl-Bootloader that does not yet support it. What version of perl-Bootloader you have?
$ rpm -qa --last|grep perl-Boot perl-Bootloader-0.802-109.1.x86_64 Sat 18 Jan 2014 17:12:18 CET perl-Bootloader-YAML-0.802-109.1.x86_64 Sat 18 Jan 2014 09:41:45 CET -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c11 --- Comment #11 from Michael Chang <mchang@suse.com> 2014-01-21 08:35:59 UTC --- It will be also helpful to have a look on output of "cat /etc/default/grub_installdevice". -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c12 --- Comment #12 from Michael Woski <scalpel4k@gmail.com> 2014-01-21 08:42:50 UTC --- (In reply to comment #11)
It will be also helpful to have a look on output of "cat /etc/default/grub_installdevice".
I think I found the reason. In an old copy of that file I found /dev/sdb4, which of course was not a valid 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|3rd party software |Bootloader Version|unspecified |13.2 Milestone 0 AssignedTo|jslaby@suse.com |arvidjaar@gmail.com Product|openSUSE.org |openSUSE Factory QAContact|opensuse-communityscreening |jsrain@suse.com |@forge.provo.novell.com | -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|Other |x86-64 -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c13 --- Comment #13 from Michael Chang <mchang@suse.com> 2014-01-21 09:21:50 UTC --- That explains why, update-bootloader --reinit only updates your /dev/sdb4 and your /dev/sda becomes obsoleted after new grub2 version because it was not updated. Maybe you manually do grub2-install /dev/sda and is unaware by yast or perl bootloader. -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c14 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |scalpel4k@gmail.com --- Comment #14 from Michael Chang <mchang@suse.com> 2014-01-21 09:25:48 UTC --- Hi Michael, Can we close this one? 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c15 --- Comment #15 from Michael Woski <scalpel4k@gmail.com> 2014-01-21 09:42:49 UTC --- (In reply to comment #14) Meanwhile I know that really my manual grub2-install put me back on track, so it's working for me. I might have had a messed /etc/default/grub_installdevice file in the first place. I guess you can close this bug. -- 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=859420 https://bugzilla.novell.com/show_bug.cgi?id=859420#c16 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|scalpel4k@gmail.com | Resolution| |FIXED --- Comment #16 from Michael Chang <mchang@suse.com> 2014-01-21 10:02:39 UTC --- Ok. Reopen if you have any other issues. 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.
participants (1)
-
bugzilla_noreply@novell.com