
GRUB2 Editor
Source (link to git-repo or to original if based on someone elses unmodified work): https://cgit.kde.org/kcm-grub2.git/
A KDE Control Module for configuring the GRUB2 bootloader.
Smoothly integrated in KDE System Settings, it is the central place for managing your GRUB2 configuration. Supports many GRUB2 configuration options, most notably:
* Manage default boot entry
* Manage boot timeout
* Manage boot resolutions
* Manage boot menu colors
* Manage boot menu theme
* Manage linux kernel arguments
* Save and update the configuration files of GRUB2
Extra features include:
* Recover GRUB2
* Remove old entries
* Create and preview GRUB2 splash images
Related Blog: http://ksmanis.wordpress.com/category/grub2-editor/
SourceForge Page: https://sourceforge.net/projects/kcm-grub2/
KDE-Apps.org Page: http://kde-apps.org/content/show.php?content=139643
KDE Extragear Page: https://projects.kde.org/projects/extragear/sysadmin/kcm-grub2
For installation instructions see the INSTALL file.
Release Announcement:
Version 0.6.4: http://ksmanis.wordpress.com/2013/10/12/grub2-editor-v0-6-4/
Katzefu
9 years ago
I will post an update next time I boot ubuntu. :)
Another small thing:
I recall, when I first installed v3.x
on first run, the module could not find any /etc/default/grub, since it does not exist by default on a fresh gentoo install.
Don't know it that little one was fixed in the updates with "if not exists then create default" ...
Report
Katzefu
9 years ago
I will post an update next time I boot ubuntu. :)
Another small thing:
I recall, when I first installed v3.x
on first run, the module could not find any /etc/default/grub, since it does not exist by default on a fresh gentoo install.
Don't know it that little one was fixed in the updates with "if not exists then create default" ...
Report
artemisfowl2007
9 years ago
Report
Katzefu
9 years ago
I mean, it'd be nice if the core checked for and created a default file, similar call as saving the file to /etc/default/grub.
No problem to create one manually, but as for a gui, it should do that for that user in my view.
The wrapper script is similar to the ubuntu update-grub in /usr/sbin
So thats the script:
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "[email protected]"
My guess, it has something to do with my partitioning.
Anyway, nice work so far. :)
Report
Katzefu
9 years ago
Report
artemisfowl2007
9 years ago
Report
Katzefu
9 years ago
Report
artemisfowl2007
9 years ago
Report
Katzefu
9 years ago
I mean, it'd be nice if the core checked for and created a default file, similar call as saving the file to /etc/default/grub.
No problem to create one manually, but as for a gui, it should do that for that user in my view.
The wrapper script is similar to the ubuntu update-grub in /usr/sbin
So thats the script:
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "[email protected]"
My guess, it has something to do with my partitioning.
Anyway, nice work so far. :)
Report
artemisfowl2007
9 years ago
Report
Katzefu
9 years ago
I am running on Gentoo, and it seems from a first rough look at the code that the os-prober does not get triggered properly.
My setup:
multiboot system
1 gentoo
1 ubuntu natty
1 windows
both linux systems are partitioned, with separate /usr, /var, /boot partitions.
If I hit apply, so mkgrub-config gets called, only entries for the gentoo system are generateded, no other OS will be found.
If I run my wrapper script from console, containing the mkgrub-config command, everything will get detected.
I am trying to track down this behavior atm in a debug session.
It works on Ubuntu.
Is there any dependency missing?
Report
artemisfowl2007
9 years ago
Report
nowardev
9 years ago
on kubuntu 11.04 you can't use it
`lsb_release
so if it generate grub... :) you have bad stuff on grub
as usual sudo update-grub2
fix the situation
Report
artemisfowl2007
9 years ago
If this is reproducible to you, can you please post your /etc/default/grub and /boot/grub/grub.cfg (using http://paste.kde.org would be nice). Also mention your kcm-grub2 version and installation source.
Thanks!
Report
nowardev
9 years ago
http://paste.ubuntu.com/605669
mm i have seen in the first file one thing...
GRUB_DISTRIBUTOR='`lsb_release'
let me test maybe i have to fix this :S ?
wtf i never edited thsi file before
Report
nowardev
9 years ago
i have the latest version download from this page kubuntu11.04
Report
artemisfowl2007
9 years ago
If the problem persists let me know.
Report
dequire
9 years ago
Report
artemisfowl2007
9 years ago
Report
dequire
9 years ago
Report
brianzion
9 years ago
Report
Eol
9 years ago
And one more thing: is it possible to add something like "Expert mode" with ability to add/modify/disable (I mean, remove executable bit) files in "/etc/grub.d/" (and, maybe, /etc/default/grub) using the GUI?
And thanks for the work. I use good old console + VIM to configure grub2, but it is great for the new Linux users to have such a thing in systemsettings :)
Report
artemisfowl2007
9 years ago
Regarding the second question, what would be the use of such a feature? Other than disabling memtest on Kubuntu I can't think of anything else.
Report
Eol
9 years ago
Well, for example I had to edit these files to add some "915resolution" related lines (it's some intel-bios hack to use specific resolution in grub, I used it to set the 1366x768x32 resolution :P)
Another purpose is to modify the "/etc/grub.d/40_custom" file - it is obvious that someone may need it.
On the other hand, those who need to edit these files may be good in linux enough to edit it manually.
Report
artemisfowl2007
9 years ago
I too am making use of 40_custom but adding custom entries from within the UI won't be implemented any time soon. Other features are more important at the moment.
Report