https://bugzilla.novell.com/show_bug.cgi?id=224476
Summary: ERROR: Core::SplidDevPath: Cannot get device for (hd0,20)/boot/grub/stage1 Product: openSUSE 10.2 Version: RC 1 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: mrmazda@ij.net QAContact: qa@suse.de CC: aj@novell.com
ERROR: Core::SplidDevPath: Cannot get device for (hd0,20)/boot/grub/stage1 ERROR: Core::SplidDevPath: Cannot get device for (hd0,20)/boot/grub/stage2
These messages happened at the conclusion of using rpm -ivh on the latest kernel yesterday, after the bootsplash messages from mkinitrd. The initial installation was ftp from the beta2 mirror state to hda21.
Before upgrading with YaST2 to RC1, I had rearranged my partitioning, and factory was successfully moved to hda10. Afterwards, hda21 no longer existed. At the conclusion of the update to RC1, /etc/grub.conf remained as beta2 installation initially created it, with the obsolete target partition.
Either the upgrade process or the kernel installer or both should check to be sure /etc/grub.conf is valid before using it.
https://bugzilla.novell.com/show_bug.cgi?id=224476
gregkh@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |bnc-team-screening@forge.provo.novell.com |maintainers@forge.provo.nove| |ll.com | Component|Kernel |Installation QAContact|qa@suse.de |jsrain@novell.com
https://bugzilla.novell.com/show_bug.cgi?id=224476
mhorvath@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kernel-maintainers@forge.provo.novell.com |screening@forge.provo.novell| |.com |
------- Comment #1 from mhorvath@novell.com 2006-12-15 07:47 MST ------- According to the yast maintainers the grub check is handled by the kernel package scripts, so I'm going to reassign it to the kernel maintainers.
https://bugzilla.novell.com/show_bug.cgi?id=224476
gregkh@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |agruen@novell.com |maintainers@forge.provo.nove| |ll.com |
https://bugzilla.novell.com/show_bug.cgi?id=224476
agruen@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|agruen@novell.com |jplack@novell.com
------- Comment #2 from agruen@novell.com 2006-12-22 01:12 MST ------- This is a perl-Bootloader bug.
https://bugzilla.novell.com/show_bug.cgi?id=224476
jplack@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mrmazda@ij.net
------- Comment #3 from jplack@novell.com 2006-12-22 04:28 MST ------- Well honestly the user is the only one to check for his bootloader configuration _semantic_. Things like this never can be done automatically in a way to please all or mostly all users. But I agree that there could be done more for the user to understand what he could/should do. Nevertheless the error message above does not stop the kernel install, I think it leaves you with a broken bootloader configuration as you had it before ...
Please attach the full yast logs (/var/log/YaST2/* /etc/grub.conf /boot/grub/menu.lst /boot/grub/device.map) so that I can see what I can do.
https://bugzilla.novell.com/show_bug.cgi?id=224476
------- Comment #4 from mrmazda@ij.net 2006-12-22 08:51 MST ------- Created an attachment (id=110934) --> (https://bugzilla.novell.com/attachment.cgi?id=110934&action=view) /boot/grub/menu.lst as last modified prior to filing this bug
https://bugzilla.novell.com/show_bug.cgi?id=224476
------- Comment #5 from mrmazda@ij.net 2006-12-22 08:51 MST ------- Created an attachment (id=110935) --> (https://bugzilla.novell.com/attachment.cgi?id=110935&action=view) /boot/grub/device.map
https://bugzilla.novell.com/show_bug.cgi?id=224476
------- Comment #6 from mrmazda@ij.net 2006-12-22 08:51 MST ------- Created an attachment (id=110936) --> (https://bugzilla.novell.com/attachment.cgi?id=110936&action=view) /etc/grub.conf created on original installation
https://bugzilla.novell.com/show_bug.cgi?id=224476
------- Comment #7 from mrmazda@ij.net 2006-12-22 08:51 MST ------- Created an attachment (id=110937) --> (https://bugzilla.novell.com/attachment.cgi?id=110937&action=view) /etc/grub.conf - current
https://bugzilla.novell.com/show_bug.cgi?id=224476
------- Comment #8 from mrmazda@ij.net 2006-12-22 08:51 MST ------- Created an attachment (id=110938) --> (https://bugzilla.novell.com/attachment.cgi?id=110938&action=view) /boot/grub/menu.lst - current
https://bugzilla.novell.com/show_bug.cgi?id=224476
mrmazda@ij.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mrmazda@ij.net |
------- Comment #9 from mrmazda@ij.net 2006-12-22 09:16 MST ------- Created an attachment (id=110941) --> (https://bugzilla.novell.com/attachment.cgi?id=110941&action=view) zip of /var/log/YaST2/*
http://lists.opensuse.org/opensuse/2006-11/msg04247.html starts the mailing list thread where I initially described the problem. I only filed a bug because AJ asked me to.
After moving my partition, I thought I had done all the configuring that needed doing. Prior to encountering this problem, I had no idea there was such a file as /etc/grub.conf, except for on some versions Fedora, where it exists as a symlink to /boot/grub/grub.conf, which Fedora's Grub uses instead of /boot/grub/menu.lst.
https://bugzilla.novell.com/show_bug.cgi?id=224476
jplack@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
------- Comment #10 from jplack@novell.com 2007-01-12 08:50 MST ------- investigating
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jplack@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c11
Joachim Plack jplack@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |LATER
--- Comment #11 from Joachim Plack jplack@novell.com 2007-12-12 13:04:12 MST --- No ressources assigned here right now, will address problem later
https://bugzilla.novell.com/show_bug.cgi?id=224476
User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c12
--- Comment #12 from Felix Miata mrmazda@ij.net 2007-12-12 16:15:12 MST --- Nothing has been resolved except no immediate plans to fix, so why not simply leave it as it was? It will be a long time until 11.0 is released.
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jplack@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c13
Joachim Plack jplack@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jplack@novell.com Status|RESOLVED |REOPENED Resolution|LATER |
--- Comment #13 from Joachim Plack jplack@novell.com 2008-03-19 22:14:03 MST --- reevaluate for SLE11
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jplack@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c14
Joachim Plack jplack@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jplack@novell.com |jreidinger@novell.com Status|REOPENED |NEW
--- Comment #14 from Joachim Plack jplack@novell.com 2008-07-15 05:26:03 MDT --- assign to perl-bootloader maintainer
https://bugzilla.novell.com/show_bug.cgi?id=224476
Josef Reidinger jreidinger@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Priority|P5 - None |P4 - Low
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c15
Josef Reidinger jreidinger@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |mrmazda@ij.net
--- Comment #15 from Josef Reidinger jreidinger@novell.com 2008-08-15 07:57:48 MDT --- I look at logs and can you please specify how you resetup your menu.lst??? Because only default opensuse is changed, failsafe option still have hda21 and during kernel upgrade perl-Bootloader upgrade both, normal boot and also failsafe and during try to update failsafe entry in menu this error show.
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c16
Josef Reidinger jreidinger@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|mrmazda@ij.net | Resolution| |NORESPONSE
--- Comment #16 from Josef Reidinger jreidinger@novell.com 2008-09-16 02:30:33 MDT --- no response for month
https://bugzilla.novell.com/show_bug.cgi?id=224476
User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c17
--- Comment #17 from Felix Miata mrmazda@ij.net 2008-09-16 06:42:42 MDT --- Sorry for oversight. I'm not so good at following up on bugs left fallow for more than a year after I file them, *python* I think in this case.
https://bugzilla.novell.com/show_bug.cgi?id=224476
User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c18
Felix Miata mrmazda@ij.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|NORESPONSE |
--- Comment #18 from Felix Miata mrmazda@ij.net 2008-09-16 06:43:12 MDT --- .
https://bugzilla.novell.com/show_bug.cgi?id=224476
User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c19
--- Comment #19 from Felix Miata mrmazda@ij.net 2008-09-16 06:43:47 MDT --- Created an attachment (id=239819) --> (https://bugzilla.novell.com/attachment.cgi?id=239819) last menu.lst created by YaST
https://bugzilla.novell.com/show_bug.cgi?id=224476
User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c20
--- Comment #20 from Felix Miata mrmazda@ij.net 2008-09-16 06:43:54 MDT --- Created an attachment (id=239820) --> (https://bugzilla.novell.com/attachment.cgi?id=239820) menu.lst as modified by me after previous YaST modification
I tried to do another update of kernel, mkinitrd & related files before responding here now, but failed, as some packages required by the latest mkinitrd apparently depend on other not yet updated packages that I cannot update because they require removal of smart.
https://bugzilla.novell.com/show_bug.cgi?id=224476
User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c21
--- Comment #21 from Felix Miata mrmazda@ij.net 2008-09-16 06:45:19 MDT --- ", *python* I think in this case" was supposed to be appended to comment 20 rather than 17.
https://bugzilla.novell.com/show_bug.cgi?id=224476
Josef Reidinger jreidinger@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c22
Josef Reidinger jreidinger@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |aschnell@novell.com
--- Comment #22 from Josef Reidinger jreidinger@novell.com 2008-09-23 07:20:39 MDT --- Arvin, please can you explain me how partitioner (if somehow) get info to bootloader, that partitions is changed?
https://bugzilla.novell.com/show_bug.cgi?id=224476
User aschnell@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c23
Arvin Schnell aschnell@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|aschnell@novell.com |
--- Comment #23 from Arvin Schnell aschnell@novell.com 2008-09-23 07:54:58 MDT --- YaST does not support moving of partitions (e.g. hda21 to hda10). If other tools are used the user has to take care of configs on his/her own.
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c24
Josef Reidinger jreidinger@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX
--- Comment #24 from Josef Reidinger jreidinger@novell.com 2008-09-23 08:18:17 MDT --- thanks for your answer, resolved as won't fix, user must check booting settings after partition moving (e.g. propose new in yast bootloader).
https://bugzilla.novell.com/show_bug.cgi?id=224476
User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c25
Felix Miata mrmazda@ij.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX |
--- Comment #25 from Felix Miata mrmazda@ij.net 2008-09-23 08:59:52 MDT --- Other distros don't depend on /etc/grub.conf, so average users don't know when they "check booting settings" that it exists and should look at or change it. mkinitrd and/or YaST if they insist to use this file should either perform a sanity check on it before using it, (comment 0) or issue a warning so the user can discover this file exists and may need modification.
I don't know what you mean by "propose new in yast bootloader". All I did was rpm -ivh a kernel. That followed a typical upgrade that followed an (atypical) partition move accompanied by manually and successfully reconfiguring the standard boot config files fstab and menu.lst.
Would it be so hard to add a sanity check of grub.conf before using it?
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c26
Josef Reidinger jreidinger@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |mrmazda@ij.net
--- Comment #26 from Josef Reidinger jreidinger@novell.com 2008-09-26 02:22:14 MDT --- (In reply to comment #25 from Felix Miata)
Other distros don't depend on /etc/grub.conf, so average users don't know when they "check booting settings" that it exists and should look at or change it. mkinitrd and/or YaST if they insist to use this file should either perform a sanity check on it before using it, (comment 0) or issue a warning so the user can discover this file exists and may need modification.
I don't know what you mean by "propose new in yast bootloader". All I did was rpm -ivh a kernel. That followed a typical upgrade that followed an (atypical) partition move accompanied by manually and successfully reconfiguring the standard boot config files fstab and menu.lst.
Would it be so hard to add a sanity check of grub.conf before using it?
Yes, it is quite problem, because during kernel upgrade you don't touch it (don't change it). Perl-Bootloader only use it as grub --batch < /etc/grub.conf. But you are right, that it need to be documented. Where you expect this documentation?
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c27
--- Comment #27 from Josef Reidinger jreidinger@novell.com 2008-09-26 04:26:06 MDT --- Created an attachment (id=241908) --> (https://bugzilla.novell.com/attachment.cgi?id=241908) patch for update-bootloader
this do something as your skip, only you must set none to LOADER_TYPE
https://bugzilla.novell.com/show_bug.cgi?id=224476
Stanislav Visnovsky visnov@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com Component|Installation |Bootloader
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c29
Josef Reidinger jreidinger@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|mrmazda@ij.net | Resolution| |NORESPONSE
--- Comment #29 from Josef Reidinger jreidinger@novell.com 2008-11-06 01:01:48 MST --- no response more then month. If you have idea where document grub.conf file, then please reopen it.
https://bugzilla.novell.com/show_bug.cgi?id=224476
User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c30
Felix Miata mrmazda@ij.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|NORESPONSE |
--- Comment #30 from Felix Miata mrmazda@ij.net 2008-11-06 06:57:37 MST --- Just because I have no idea where best place to document is not reason to close bug. I always have trouble finding proper docs, because they are not always in same place or in same form. Ask others on factory mailing list for ideas, then decide best place.
At the very least, put a comment in the file, so that someone who opens it wondering what's in it can discover that way.
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c31
Josef Reidinger jreidinger@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED
--- Comment #31 from Josef Reidinger jreidinger@novell.com 2008-11-06 07:06:55 MST --- What file you think? menu.lst?
Other solution can be manpage for update-kernel script...I ask on factory.
https://bugzilla.novell.com/show_bug.cgi?id=224476
User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c32
--- Comment #32 from Felix Miata mrmazda@ij.net 2008-11-06 07:20:58 MST --- I often see installation scripts that affect configs display messages onscreen during script execution, such as those for fonts complaining CJK fonts are not installed. Maybe kernel/initrd or bootloader update scripts could mention this file during execution.
Maybe this begs the question why other distros don't require this file? How do they manage without it, e.g. Mandriva, Ubuntu, Fedora?
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c33
--- Comment #33 from Josef Reidinger jreidinger@novell.com 2008-11-06 07:27:36 MST --- ubuntu and debian uses all in one. They have every grub settings in one file - menu.lst. This file have over four pages and is very unreadable (more then half is magic comments which have special meaning). In gentoo you manage it by hand so it needn't it. Other distribution I don't try, so I cannot answer.
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c34
--- Comment #34 from Josef Reidinger jreidinger@novell.com 2008-11-11 09:28:32 MST --- OK, in svn I add boot.readme to /boot directory. If you miss something in this howto, then please open separate bug.
https://bugzilla.novell.com/show_bug.cgi?id=224476
User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=224476#c35
Josef Reidinger jreidinger@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #35 from Josef Reidinger jreidinger@novell.com 2008-11-18 12:34:43 MST --- release as perl-Bootloader 0.4.78. Please reopen if your problems still occur.