PDA

View Full Version : Ubuntu - GrubEd in Gutsy


Gina
9th December 2007, 00:40
GrubEd is a graphical editor for the Grub boot menu used in Ubuntu (and some other Linux distros). It allows the user to edit the boot menu easily without resorting to command line and directly editing the configuration file. This controls the way Ubuntu (or Windows) boots by default and the way the menu is displayed, and various other options.

This works fine in earlier versions but fails in the latest version of Ubuntu (7.10 called Gutsy Gibbon). Most of the menu options work but crucially the option to set which OS boots by default causes a fatal error. The author is currently working on a fix for this but has limited time.

Meanwhile, I have been looking at GrubEd with a view to debugging it myself. I have little knowledge of programming in LInux but learning fast :lol GrubEd is written in a script rather like we used to do in DOS and has all the standard programming constructs. I have now produced a script which works in Gutsy (though maybe slightly less elegant). I have also added a couple of extra functions which I personally consider worthwhile.

The original main menu options are :-
Help
Change Default OS
Set Timeout
Enable / Disable Timeout
Hide / Unhide Grub
Colour Settings
Splash Settings
Enable / Disable memtest86
Change Number of Kernels
Direct Edit
Update Grub
Reboot
Backup
Restore

I have added :-
Switch Default OS to Windows or Switch Default OS to Ubuntu - depending on the current default and Windows found
Edit an OS title - Add your own comments, which will appear in the boot menu

I'm hoping to wrap all this in an installation package that can be easily used by newbies. Meanwhile if anyone would like the script, let me know.

Gina
9th December 2007, 11:05
Here is link to original GrubEd thread in Ubuntu Forums including my bit to get Change Default OS working in Gutsy (post no. 216 - near the end) :- HERE (http://ubuntuforums.org/showthread.php?t=228104)