Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Unable to launch Grub-Customizer

Started by Slyvester, April 23, 2015, 03:36:14 PM

Previous topic - Next topic

Slyvester

Hi everyone,

Everytime I try to launch grub-customizer via terminal : sudo grub-customizer,  I get no result but this weard message in terminal :

slyvester@slyvester-desktop:~$ sudo grub-customizer

(grub-customizer:1606): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2:19: Theming engine 'adwaita' not found

(grub-customizer:1606): Gtk-WARNING **: Invalid input string

I know I'm just a click away to the solution .. I've tried to find an answer on the web, but no dice ! Any help would be highly appreciated !
Slyvester

pavroo

Did you try to launch it from menu?
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

Slyvester

Yes idead Pavroo. The password is requested and then ... nothing !
Slyvester

pavroo

I don't know the app at all, couse I never use it.
I suggest to report it to:
https://bugs.launchpad.net/grub-customizer

Everything what you need to do with grub, can be done via a terminal emulator.
What exactly you'd like to do?
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

Slyvester

#4
My grub-customizer is there somewhere - hidden I guess - because when I type : sudo leafpad /etc/default/grub in terminal, I get this :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="Options avancées pour Debian GNU/Linux>Debian GNU/Linux, avec Linux 3.16-2-686"
GRUB_TIMEOUT="-1"
GRUB_DISTRIBUTOR="`lsb_release -d -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="640x480"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="false"

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="false"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

export GRUB_COLOR_NORMAL="white/dark-gray"
export GRUB_COLOR_HIGHLIGHT="white/dark-gray"
GRUB_DISABLE_OS_PROBER="false"
GRUB_SAVEDEFAULT="false"

One thing I forget to tell you is that I use a MultiBoot with three different OS on this computer : Sparkylinux + Watt OS R8 + Lubuntu 14.04.2. I don't know if this is matters or not ...
Slyvester

pavroo

It looks ok, the question is: what you need to do/change in grub settings?
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

Slyvester

#6
i'm just trying to get to the Main-Screen of Grub-Customizer and get to the general settings of grub-customizer. From there I can/could tweak the different kernels of my three different OS. Check out this please : http://www.linuxcore.fr/2013/06/grub-customizer/
(see Interface de grub-customizer).

I've done this many times on other different distros and this in order to manage the kernels and the distros themselves. I'm working my way to find the path via sudo leafpad /... If you 've got an idea ?
Slyvester

Slyvester

Of course, I could try to change my settings via /boot/grub/grub.cfg .. Crazy, isn't it ? Now you understand why i want to use the graphical tool : Grub-Customizer, its General settings thanks to the Main Sreen.
Slyvester

pavroo

Ok, I get it.
Managing all the Linux distros in grub list can be done editing the file:
/etc/grub.d/10_linux
But it is not recommended to edit it manually.
It's better to add your changes to file:
/etc/grub.d/40_custom
Anyway, the grub-customizer deb package has been built for Ubuntu not Debian and I suggest to report it to the app developer.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

GeneC

#9
Grub customizer works fine here, and has for many months..?
Where did you get yours from?

Mine
gene@sparky:~$  apt-cache policy grub-customizer
grub-customizer:
  Installed: 4.0.6-0ubuntu1~ppa1u
  Candidate: 4.0.6-0ubuntu1~ppa1u
  Version table:
*** 4.0.6-0ubuntu1~ppa1u 0
        500 http://sparkylinux.org/repo/ testing/main amd64 Packages
        100 /var/lib/dpkg/status




(Deleted link.  Its in the repo).!
GeneC

Slyvester

#10
Hi GeneC,

I'm back only now because I first wanted to update & upgrade (sudo apt-get update && sudo apt-get dist-upgrade = sudo update-grub) my two other distros (Lubuntu 14.01.1 + Watt OS R-8). By the way, I tried via terminal : sudo grub-customizer which launched twice the graphical-tool on the two of them. Now I'm back to back to Sparkylinux, but again no dice. I just uninstalled & reinstalled - via Synaptic - Grub-Customizer but I still get the same message on the terminal:
slyvester@slyvester-desktop:~$ sudo grub-customizer

(grub-customizer:8609): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2:19: Theming engine 'adwaita' not found

(grub-customizer:8609): Gtk-WARNING **: Invalid input string

@GeneC : thanks a lot, but I've got exactly the same apt-cache policy as you ...

@Pavroo :  yes, I can manage my Linux distros in grub list by editing the file: sudo leafpad /etc/grub.d/10_linux but this is too dangerous. One mistake in that file can cause a disaster : no more boot at all !
You asked me : what you need to do/change in grub settings? Well, I kinda get to thinking that I don't need Grub-Customizer so bad.
If I really need it, I can always change the major boot from another distro Linux with : sudo os-prober. I'll be then able to launch Grub-Customizer from that new "os-prober distro". I must say that using too many diferent Linux distributions (7 or 8?) can only lead to problems. I get telling myself I should delete a few of them but ...
I was wondering Pavroo, are you the only one who takes care of SparkyLinux ? Because if it is so, let me tell you that I respect you and admire you for all the things you do. This particular SparkyLinux distribution is simply great and remains one of my beloved ones if not my favourite among all others. Thanks again to you !


Slyvester

GeneC

Quote from: Slyvester on April 24, 2015, 03:36:54 PM
[...]
If I really need it, I can always change the major boot from another distro Linux .....

Actually this is what I do.  I  presently have a 3 distro multi-boot and have grub-customizer only on one.  I always boot from that distro, and dont need it on others.

To boot from that distro (and use its grub and grub-customizer) run this command from that distro.

sudo grub-install /dev/sda

PS:
I did not realize that  grub-customizer in the repo..  Please disregard my link...;)
GeneC

Slyvester

#12
I just tried the command : "sudo grub-install /dev/sda" but again no change because that's the way it was supposed to be. Now, you should use : sudo os-prober on any distro to make "grub-customizer" the ruler of your Multiboot from the distribution of your choice.
The only thing that still puzzles me is the version of my grub-customizer that I just reinstalled : GNU grub version 2.02 beta 2-22 ...
Slyvester

pavroo

QuoteGNU grub version 2.02 beta 2-22
It's the latest version now in Debian repos.
Debian Jessie become stable tomorrow (hope so) and the beta version of Grub will be installed as default, I think.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

Slyvester

Hello Pavroo,

Did you read what I wrote yesterday ? It's all about you !

QuoteI was wondering Pavroo, are you the only one who takes care of SparkyLinux ? Because if it is so, let me tell you that I respect you and admire you for all the things you do. This particular SparkyLinux distribution is simply great and remains one of my beloved ones if not my favourite among all others. Thanks again to you !
Slyvester

View the most recent posts on the forum