GRUB2 Editor

System Software

Source (link to git-repo or to original if based on someone elses unmodified work): https://cgit.kde.org/kcm-grub2.git/

15
7.5
Description:

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

8 years ago

Sorry, I forgot, I will check on ubuntu again to make sure, which I am not anymore about ubuntu after the post. Ubuntu is only my "back up" system.
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

C

artemisfowl2007

8 years ago

I am afraid I didn't get you. If the default configuration file is missing you are presented with the option to manually browse for it.

Report

Katzefu

8 years ago

The browsing for the default file is useless if there does not exist /etc/default/grub

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 "$@"

My guess, it has something to do with my partitioning.

Anyway, nice work so far. :)

Report

Katzefu

8 years ago

Yes, I just checked on Ubuntu, it works there as intended with all the partitons, finding all OSes.

Report

C

artemisfowl2007

8 years ago

Actually I can reproduce your bug on Arch: my Windows installation is not found. Nice catch! I'll take care of this too..

Report

Katzefu

8 years ago

I also forgot to mention, but I don't know if you guys with the two grub2 projects merged, but the same bug appears on the other kcmgrub2 module build from vcs source.

Report

C

artemisfowl2007

8 years ago

No, no merge. I guess it has something to do with kdelibs.

Report

Katzefu

8 years ago

The browsing for the default file is useless if there does not exist /etc/default/grub

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 "$@"

My guess, it has something to do with my partitioning.

Anyway, nice work so far. :)

Report

C

artemisfowl2007

8 years ago

Ah, good to know. The fix will be available in the next version.

Report

Katzefu

8 years ago

Hi, I encountered a strange thing.
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

C

artemisfowl2007

8 years ago

The os-prober is not part of this software. You say you are using a custom wrapper script. Can you post it somewhere so that I can get a better understanding of what is going wrong? You may use http://paste.kde.org so that the comments section is not polluted with large pastes.

Report

nowardev

8 years ago

the same bug of before....

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

C

artemisfowl2007

8 years ago

Sorry, I can't reproduce it this time. Tried both Kubuntu 10.10 and 11.04 and I get the proper string: Ubuntu.

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

8 years ago

http://paste.ubuntu.com/605666

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

8 years ago

ok no , i have tested on your software and it puttin `` doesn't work

i have the latest version download from this page kubuntu11.04

Report

C

artemisfowl2007

8 years ago

Try downloading the package once again and do the following: launch kcm-grub2, copy/paste `lsb_release -i -s 2> /dev/null || echo Debian` at the Distributor field replacing the existing contents (note that it has to start and end with ` not ') and apply. There is something wrong with your setup, GRUB_DEFAULT should be automatically set to "saved"; this is the expected behaviour from v0.4.5 and on.

If the problem persists let me know.

Report

dequire

8 years ago

Very nice and useful program! also, thanks to all the packagers who made this easily available for distributions. I wish all KDE-apps devs did this!

Report

C

artemisfowl2007

8 years ago

You should thank the openSUSE Build Service. I made all packages using this great web service. Packages are essential for the product to get to the end users ;)

Report

dequire

8 years ago

Yepp I figured so. I wish it was a requirement to use this service in order to publish apps here, in addition to the source code. At lease for the current and LTS versions of Kubuntu and also for the last few SUSE releases. It really is appreciated =)

Report

brianzion

8 years ago

thanks this is working ok so far on kubuntu 11.04 i like the gui and its easy to get round the settings i was previously using the start-up manager that's been around for a while but im glad i have tried this for KDE it makes it easy to handle duel booting

Report

Eol

8 years ago

First of all, what is the "Distributor" for in this KCM? (yeah, I know, it appends to the beginning of Linux entries found for current running Linux) I mean, why do somebody want to change this string?

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

C

artemisfowl2007

8 years ago

For the first question don't ask me, ask the GRUB developers, it is them who put this option ;)

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

8 years ago

I guess they left it for distributors and package maintainers, to simple don't hardcode the distribution name in code, so I don't think it will be used by any user :)

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

C

artemisfowl2007

8 years ago

Well, yeah that's the point. I will add an option to remove the executable bit from memtest but for the other files it won't make much sense, any user that knows such stuff can manually edit these files.

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

nowardev

8 years ago

http://dl.dropbox.com/u/4127065/debian%20package/natty/kcm_grub2/kcm-grub2-0.4.5.deb

Report

12345678910
231
product-maker sync1211 Jul 06 2018 8 great
+
product-maker vikiyou Apr 30 2014 8 great
product-maker tobaj Apr 08 2014 8 great
product-maker bmbeverst Sep 19 2013 8 great
product-maker step-2 Aug 23 2012 8 great
product-maker zuargo Aug 04 2012 8 great
product-maker kraftor Jul 13 2012 8 great
product-maker ObiWahn Jun 18 2012 8 great
product-maker posixru Jun 18 2012 8 great
product-maker KDesk Feb 09 2012 8 great
product-maker J0nas Jan 24 2012 8 great
product-maker Schiwi Jan 09 2012 8 great
product-maker tuxvoytec Jan 09 2012 8 great
product-maker nikore90 Jan 09 2012 8 great
product-maker HATRED Oct 25 2011 8 great
product-maker damienflament Jul 11 2011 3 bad
product-maker losty May 16 2011 8 great
product-maker KFreakz May 10 2011 8 great
product-maker MoonBlossom May 10 2011 8 great
product-maker 442206 May 09 2011 8 great
product-maker BluePeril May 02 2011 8 great
product-maker Genserowski Apr 30 2011 8 great
product-maker opaflamme Apr 30 2011 8 great
product-maker Brutus180 Apr 25 2011 8 great
product-maker ocirne94 Apr 09 2011 3 bad
product-maker alltiptop Apr 03 2011 8 great
product-maker unikum111 Apr 01 2011 8 great
product-maker deabru Mar 21 2011 8 great
product-maker nowardev Mar 11 2011 8 great
product-maker janet Mar 11 2011 8 great
product-maker jmunin Mar 11 2011 8 great
product-maker YAFU Mar 10 2011 8 great
product-maker oldfield Mar 09 2011 8 great
product-maker Count:2 Rating: 5.00
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
GPLv3
version
0.6.4
updated Jul 25 2018
added Mar 07 2011
downloads today
1
page views today 20
+