You are not logged in.

#1 2016-01-24 05:27:40

Meurer
Member
Registered: 2015-12-01
Posts: 18

GRUB Theme Not Working

I'm trying to set up this theme on my BIOS/MBR based system but I've been having some trouble.
I've placed the files in their respective locations, but when I try to run grub-mkconfig I get the following:

meurer@MAINFRAME ~> sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub/themes/Dharma/theme.txt
Found Windows 10 (loader) on /dev/sda1
done

Perfect, right? Except that upon boot there is no theme and nothing is changed; am I doing something wrong?

My /etc/default/grub

meurer@MAINFRAME ~> cat /etc/default/grub 
GRUB_DEFAULT="0"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT="5"
#GRUB_HIDDEN_TIMEOUT_QUIET="true"

# Uncomment to use basic console
GRUB_TERMINAL_INPUT="console"

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT="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=1360x768

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX="keep"

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter 
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" 
#GRUB_DISABLE_LINUX_UUID="true"

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

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper 
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
GRUB_THEME="/boot/grub/themes/Dharma/theme.txt"

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

GRUB_SAVEDEFAULT="true"

Last edited by Meurer (2016-01-24 05:33:17)

Offline

#2 2016-01-24 19:29:56

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: GRUB Theme Not Working

I've never added a supplemental theme before, but do you have to re-run

grub-install {options}

as described at...
https://wiki.archlinux.org/index.php/GR … ll_to_disk

edit: probably not answering my own question to the above.

I've found this...
https://wiki.archlinux.org/index.php/GR … icks#Theme

but at the end of that section, it says "Your splash image will usually not be displayed when using a theme." Perhaps have a full read of that page?

Last edited by paulkerry (2016-01-24 19:59:15)

Offline

#3 2016-01-24 20:03:31

michis
Member
Registered: 2015-12-12
Posts: 77

Re: GRUB Theme Not Working

@paulkerry
Regenerating the grub.cfg should be enough, no need to reinstall grub.

@Meurer
Does it work if you create the grub.cfg with

GRUB_GFXMODE=auto

in your /etc/default/grub ?

Offline

#4 2016-01-24 20:24:27

michis
Member
Registered: 2015-12-12
Posts: 77

Re: GRUB Theme Not Working

Meurer wrote:
meurer@MAINFRAME ~> sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub/themes/Dharma/theme.txt
Found Windows 10 (loader) on /dev/sda1
done

Perfect, right?

Yes looks good, but have you shortened the output? I'm missing:

Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img

Offline

#5 2016-01-24 20:46:24

Meurer
Member
Registered: 2015-12-01
Posts: 18

Re: GRUB Theme Not Working

@michis
Before specifying the resolution I had it set to auto; I'm not currently home but I can try again later today.

And  I did not shorten the output; weirdly enough linux images aren't being shown as found. I tried using grub-customizer and there also I could only see the Windows boot option, no Linux. All this with grub working perfectly, but vanilla style.

Offline

#6 2016-01-25 01:52:33

Meurer
Member
Registered: 2015-12-01
Posts: 18

Re: GRUB Theme Not Working

What's in my /boot

meurer@MAINFRAME ~> tree /boot
/boot
└── grub
    ├── grub.cfg
    ├── themes
    │   └── Dharma
    │       ├── background.png
    │       ├── dejavu_mono_14.pf2
    │       ├── dejavu_sans_10.pf2
    │       ├── dejavu_sans_12.pf2
    │       ├── dejavu_sans_bold_14.pf2
    │       ├── drive.png
    │       ├── icons
    │       │   ├── arch.png
    │       │   ├── centos.png
    │       │   ├── chakra.png
    │       │   ├── debian.png
    │       │   ├── fedora.png
    │       │   ├── freebsd.png
    │       │   ├── gentoo.png
    │       │   ├── gnu-linux.png
    │       │   ├── illumos.png
    │       │   ├── kubuntu.png
    │       │   ├── linuxmint.png
    │       │   ├── macosx.png
    │       │   ├── mageia.png
    │       │   ├── mandriva.png
    │       │   ├── mepis.png
    │       │   ├── netbsd.png
    │       │   ├── openbsd.png
    │       │   ├── opensuse.png
    │       │   ├── os.png
    │       │   ├── osx.png
    │       │   ├── pardus.png
    │       │   ├── pclinuxos.png
    │       │   ├── recovery.png
    │       │   ├── redhat.png
    │       │   ├── sabayon.png
    │       │   ├── slackware.png
    │       │   ├── suse.png
    │       │   ├── ubuntu.png
    │       │   ├── unknown.png
    │       │   └── windows.png
    │       ├── LICENSE
    │       ├── progress_bar_c.png
    │       ├── progress_highlight_c.png
    │       ├── select_bkg_c.png
    │       └── theme.txt
    └── unicode.pf2

Last edited by Meurer (2016-01-25 01:53:26)

Offline

#7 2016-01-25 12:35:10

michis
Member
Registered: 2015-12-12
Posts: 77

Re: GRUB Theme Not Working

I tested the theme here and it works fine. Please post the output of

ls -l /etc/grub.d/

You could also try to deinstall grub-customizer and grub and then reinstall grub only.
I think that will revert the changes grub-customizer makes in the /etc/grub.d/ directory

edit:
No idea why the grub-mkconfig scrpit does not detect your kernel.
A guess: /etc/grub.d/10_linux is not executable, but that wouldn't explain why you have entries for arch linux in the generated grub.cfg.

You don't have any other linux distribution (with it's own grub) installed, right?

Last edited by michis (2016-01-25 12:44:49)

Offline

#8 2016-01-25 23:20:19

Meurer
Member
Registered: 2015-12-01
Posts: 18

Re: GRUB Theme Not Working

@michis, here is what that command resulted

meurer@MAINFRAME ~> ls -l /etc/grub.d/
total 64
-rwxr-xr-x 1 root root  8875 Dec 15 12:36 00_header*
-rwxr-xr-x 1 root root  9867 Dec 15 12:36 10_linux*
-rwxr-xr-x 1 root root 10250 Dec 15 12:36 20_linux_xen*
-rwxr-xr-x 1 root root 10883 Dec 15 12:36 30_os-prober*
-rwxr-xr-x 1 root root   214 Dec 15 12:36 40_custom*
-rwxr-xr-x 1 root root   216 Dec 15 12:36 41_custom*
-rwxr-xr-x 1 root root  1219 Dec 15 12:36 60_memtest86+*
-rw-r--r-- 1 root root   483 Dec 15 12:36 README

I had Antergos installed before Arch, but then I deleted it and got Arch instead. Here are my current connected drives

meurer@MAINFRAME ~> lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk 
├─sda1   8:1    0   100M  0 part 
├─sda2   8:2    0   326G  0 part 
├─sda3   8:3    0   450M  0 part 
└─sda4   8:4    0 139.3G  0 part /
sdb      8:16   0 298.1G  0 disk 
└─sdb1   8:17   0 298.1G  0 part /run/media/meurer/Media
sdc      8:32   0 931.5G  0 disk 
└─sdc1   8:33   0 931.5G  0 part 

sdc is an external drive, sdb is a media internal drive, sda 1 through 3 are windows partitions as far as I'm aware.

Offline

#9 2016-01-25 23:29:52

michis
Member
Registered: 2015-12-12
Posts: 77

Re: GRUB Theme Not Working

So, if it's a clean Arch installation on sda4 with grub installed to MBR of sda I don't know why it's not working...

EDIT: .. and sda1, sda2, sda3 are windows partitions.

Last edited by michis (2016-01-25 23:41:59)

Offline

Board footer

Powered by FluxBB