You are not logged in.
Hello, I need to change the grub2 background and I can't seem to find the place where I can change it.
Thanks.
Last edited by DeepDayze (2017-08-01 11:07:07)
Real Men Use Linux
Offline
Menu>System>Edit Debian Alternatives>desktop-grub
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Menu>System>Edit Debian Alternatives>desktop-grub
Ahh thanks and didn't see that one obviously.
Real Men Use Linux
Offline
OK can I add an alternative which has a different path than the default?
Real Men Use Linux
Offline
OK can I add an alternative which has a different path than the default?
Just click on the "Add" button, and choose the path. Or use 'update-alternatives' directly, in a terminal.
Or edit '/etc/default/grub' and add
GRUB_BACKGROUND=/path_to_image/filename
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
However, the rule is that the image at boot time must be accessible to Grub.
Online
I just copied the image I wanted to /usr/share/images/bunsen/grub and renamed it to default.png. I first renamed the image already in that directory to default.bak. And that worked.
Real Men Use Linux
Offline
please edit the title of your original post and add "[SOLVED]" to it.
thanks.
Offline
I just copied the image I wanted to /usr/share/images/bunsen/grub and renamed it to default.png. I first renamed the image already in that directory to default.bak. And that worked.
The problem with this solution is that the next upgrade of bunsen-images will overwrite your default.png with the BL file. If you add a personal custom file (eg grub-bg.png), and select it with the Debian alternatives system, it will stay selected.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
DeepDayze wrote:I just copied the image I wanted to /usr/share/images/bunsen/grub and renamed it to default.png. I first renamed the image already in that directory to default.bak. And that worked.
The problem with this solution is that the next upgrade of bunsen-images will overwrite your default.png with the BL file. If you add a personal custom file (eg grub-bg.png), and select it with the Debian alternatives system, it will stay selected.
OK thanks for that tip...will do that
Real Men Use Linux
Offline
question:
is update-alternatives really needed here? especially since it's a custom image, not part of any debian package?
in this particular case, is there any reason why update-alternatives would be better than adding the path to the image in question to /etc/default/grub (GRUB_BACKGROUND="/root/readable/path/to/image")?
Offline
is there any reason why update-alternatives would be better than adding the path to the image in question to /etc/default/grub (GRUB_BACKGROUND="/root/readable/path/to/image")?
The image can be changed with one command rather than two.
Offline
^ isn't a "sudo update-grub" necessary regardless of the method used?
Offline
I don't know actually
If so then I withdraw my support 8)
Offline
^^ Nope. Update-grub is not needed, when altering the /usr/share/images/bunsen/grub/default.png or creating another sym-/hard-link to it. You can stay with us H_o_a_S!
naik --greetz
"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen Codeberg
Offline
question:
is update-alternatives really needed here? especially since it's a custom image, not part of any debian package?
in this particular case, is there any reason why update-alternatives would be better than adding the path to the image in question to /etc/default/grub (GRUB_BACKGROUND="/root/readable/path/to/image")?
Debian is already using the alternatives system to set "desktop-grub". We just set it to our own image. If that mechanism wasn't already in place we might have thought longer before choosing to use it, though it does allow more flexibility.
Without checking right now, I don't think update-grub is needed when switching the desktop-grub alternative because grub continues to see the same image path, via symlinks. Editing /etc/default/grub would require that though.
EDIT: My statement here is wrong. If the real image path changes then update-grub is always needed, even if the symlink path stays the same.
Last edited by johnraff (2017-09-15 09:21:39)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
^ 'k, thanks for bearing with me debian-illiterate ...
Offline