GRUB2 GUI?

11 risposte [Ultimo contenuto]
oysterboy

I am a member!

I am a translator!

Offline
Iscritto: 02/01/2011

Is there a GUI utility somewhere that will help me edit my GRUB2 entries? I dare not edit the files in /etc/grub.d ;).

bodhi.zazen
Offline
Iscritto: 04/19/2012

There are several.

Grub-customizer is popular

https://launchpad.net/grub-customizer

Additional tools listed on the arch wiki page

https://wiki.archlinux.org/index.php/GRUB2#GUI_configuration_tools

See also https://help.ubuntu.com/community/Grub2

oysterboy

I am a member!

I am a translator!

Offline
Iscritto: 02/01/2011

Cool, thanks!

oysterboy

I am a member!

I am a translator!

Offline
Iscritto: 02/01/2011

--- dup ---

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

Notice that the most common things you want to change are not in
/etc/grub.d/*. They are in /etc/default/grub. This file, whose content is
commented, is pretty easy to change. It simply is a list of Shell of
variables to instantiate. As for listing the installed operating systems,
'sudo update-grub' does a good job (at least it has always worked for me)...
and it does not write in /etc/grub.d/* either. It writes in
/boot/grub/grub.cfg.

lembas
Offline
Iscritto: 05/13/2010

And remember to have a livecd or liveusb at hand in case you happen to break
your boot. It happens every now and then to me but isn't hard to fix as long
as you have something that boots.

oysterboy

I am a member!

I am a translator!

Offline
Iscritto: 02/01/2011

grub-customizer totally did the trick, excellent!

lembas, do you have a simple procedure (or a link to such information) for restoring grub from a livecd or liveusb? Thanks.

lembas
Offline
Iscritto: 05/13/2010

The process is relatively straight forward. It's not really restoring grub, just fixing its configuration.

In case of trouble you must first boot a live media and then mount the harddisk and proceed to directly edit /boot/grub/grub.cfg (on the harddisk, naturally, instead of on the live media). Just undo the changes that caused the problem. You could make a backup copy of the file when it still works for reference.

lembas
Offline
Iscritto: 05/13/2010

The process is relatively straight forward. It's not really restoring grub,
just fixing its configuration.

In case of trouble you must first boot a live media and then mount the
harddisk and proceed to directly edit /boot/grub/grub.cfg (on the harddisk,
naturally, instead of on the live media). Just undo the changes that caused
the problem. You could make a backup copy of the file when it still works for
reference.

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

Notice that the most common things you want to change are not in /etc/grub.d/*. They are in /etc/default/grub. This file, whose content is commented, is pretty easy to change. It simply is a list of Shell of variables to instantiate. As for listing the installed operating systems, 'sudo update-grub' does a good job (at least it has always worked for me)... and it does not write in /etc/grub.d/* either. It writes in /boot/grub/grub.cfg.

lembas
Offline
Iscritto: 05/13/2010

And remember to have a livecd or liveusb at hand in case you happen to break your boot. It happens every now and then to me but isn't hard to fix as long as you have something that boots.

oysterboy

I am a member!

I am a translator!

Offline
Iscritto: 02/01/2011

--- duplication craziness ---