Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139603 - KDM: Select grub menu entry on reboot fails
Summary: KDM: Select grub menu entry on reboot fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 143051 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-07 14:14 UTC by Gert Menke
Modified: 2006-09-08 04:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for KDM to use grub-set-default (kdm-3.5.3-grub-set-default.patch,864 bytes, patch)
2006-07-07 14:16 UTC, Gert Menke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gert Menke 2006-07-07 14:14:36 UTC
When I select a grub menu entry from kdm's reboot button, kdm tries to open a grub shell and use the command "setdefault", which does not exist. Probably there is a distro that patches grub to have that option, but in gentoo that is not the case. I have made a patch so kdm uses "grub-set-default" instead, and submitted it on bugs.kde.org. Until it eventually makes its way into a KDE release, it is probably a good thing to add the patch to portage.
You can find it here: http://bugs.kde.org/show_bug.cgi?id=63800#c8
Comment 1 Gert Menke 2006-07-07 14:16:03 UTC
Created attachment 91166 [details, diff]
Patch for KDM to use grub-set-default
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-07-07 17:12:38 UTC
Whoever takes a look at this, please take also 

https://bugs.kde.org/show_bug.cgi?id=127045

into account. /me is lilo only, so...
Comment 3 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-30 08:18:57 UTC
I'll try to do something with this.
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-30 08:30:13 UTC
Note to self: both patches need to be applied to kde-base/kdebase and kde-base/kdm
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-30 08:38:32 UTC
It might be smart to add the following einfo:

   First, modify your configuration file. Here is an example:

     default saved        # This is important!!!
     timeout 10

     title the old kernel
     root (hd0,0)
     kernel /old_kernel
     savedefault

     title the new kernel
     root (hd0,0)
     kernel /new_kernel
     savedefault 0         # This is important!!!
Comment 6 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-30 08:46:05 UTC
I notice that the patches are in fact 3 and not 2. I'll add them to kde-base/kdm only for now. Once it gets tested enough we can move the patches to kde-base/kdebase.
Comment 7 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-30 08:48:24 UTC
My bad, the patches are 2 definitely. 
Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-30 09:10:29 UTC
kde-base/kdm fixed in CVS

Proceeding with kde-base/kdebase
Comment 9 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-30 09:54:23 UTC
Patch for kde-base/kdebase will be added by carlo together with another patch set. Marking as fixed.
Comment 10 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-08 04:19:14 UTC
*** Bug 143051 has been marked as a duplicate of this bug. ***