DeskTux

Linux on Desktops

User Tools

Site Tools


archive:grub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
archive:grub [2023-06-12 17:19] – removed - external edit (Unknown date) 127.0.0.1archive:grub [2023-06-12 17:19] (current) – ↷ Page moved from misc:grub to archive:grub jens
Line 1: Line 1:
 +<WRAP round alert>
 +The content of this page is no longer maintained and could be outdated soon or already is. The reasons could be various, like this information became obsolete or there is by now a better way to handle the information on this page. This page will be retained here for archiving reasons.
 +</WRAP>
  
 +====== GRUB Splashscreen ======
 +
 +These are the [[http://www.gnu.org/software/grub/|GRUB]] boot splashscreens I made. Personally I like them of course. Maybe you like them as well?
 +
 +Most Debian-related themes are blueish (like e.g. 'moreblue-orbit'). I think blue is a very nice colour, but the combination of red, black and white in the Debian logo is also very nice. And because you don't see very much of that, I decided to use those colours for my splashscreens.
 +
 +The logo used comes straight from the [[http://www.debian.org/|Debian]] website and is licensed! Please see the license notice((Copyright (c) 1999 Software in the Public Interest\\ This logo or a modified version may be used by anyone to refer to the Debian project, but does not indicate endorsement by the project.)) and the section //Debian Open Use Logo License// on the [[http://www.debian.org/logos/|Debian logos site]] about that.
 +
 +More splashscreens and other (better than mine I guess) artwork like wallpapers etc. can be found at [[http://www.debianart.org/|debianart.org]].
 +
 +===== GRUB 2 =====
 +{{ wiki:Desktux-boot.png?200|New DeskTux splashscreen for GRUB 2}}
 +GRUB 2 has been around for a while and from version 6.0 (Squeeze) on this is the default bootloader in Debian GNU/Linux. So I made a new splashscreen for GRUB 2. The installation is quite easy. Make sure to follow these steps as root!
 +
 +  * Download the file {{wiki:Desktux-boot.tga|Desktux-boot.tga}} to your computer.
 +
 +  * Put the file in a directory where GRUB can find it; e.g. in ''/boot/grub''.
 +
 +  * Edit the file ''/etc/default/grub'', find the line that contains ''GRUB_GFXMODE'' and edit it with a resolution your videocard and monitor support. For example: <code>GRUB_GFXMODE=1680x1050</code> Maybe you'll have to unncomment that line. If there's a line like ''GRUB_TERMINAL=console'' make sure to comment it!\\ To find out which modes are supported by your card hit ''<c>'' in the GRUB menu and type ''vbeinfo''.((Actually, it doesn't hurt to try your native display resolution even if it isn't listed. On my netbook only 640x480 and 800x600 resolutions are listed, the native resolution 1024x600 works anyway.))\\ Add the following line for your custom background image (just add it anywhere, e.g. beneath the GRUB_GFXMODE row): <code>GRUB_BACKGROUND=/boot/grub/Desktux-boot.tga</code> In this context (but unnecessary for the splashscreen to work) this parameter can be handy. Just add the line (if wanted) and GRUB will try to keep the mode for booting Linux: <code>GRUB_GFXPAYLOAD_LINUX=keep</code>
 +
 +  * That's it already if you just want to set your own wallpaper. But I also want to change the menu colours so it matches the colours in my wallpaper. So edit the file ''/etc/grub.d/05_debian_theme'' and find this line (it's pretty much at the end of the file): <code>set_background_image "${GRUB_BACKGROUND}" || set_default_theme</code> Edit it to match the following line.(('black' as a background colour (2nd colour given) actually means 'transparent'.)) Defining "COLOR_NORMAL" and "COLOR_HIGHLIGHT" in ''/etc/default/grub'' has no effect as these variables get overwritten. <code>set_background_image "${GRUB_BACKGROUND}" "white/black" "light-red/black" || set_default_theme</code>
 +
 +  * Last but not least update the ''grub.cfg'': <code>update-grub</code>
 +
 +All done, enjoy!
 +
 +===== GRUB Legacy =====
 +{{ wiki:Boot.png?300|DeskTux splashscreen for GRUB}}
 +GRUB Legacy is version 1 of the GRUB bootloader and no longer supported!
 +By the way: if you wonder why the [[http://www.freebsd.org/copyright/daemon.html|BSD]] daemon is next to Tux, [[http://www.freebsd.org/|FreeBSD]] is just another OS on my computer.
 +
 +Just {{wiki:Boot.xpm.gz|download the file boot.xpm.gz}} and place it in the directory ''/boot/grub/'' (as root of course).
 +Next, edit the GRUB configuration file (in Debian this is ''/boot/grub/menu.lst''). Make sure the default colors from GRUB are either deleted or commented:
 +
 +  # Pretty colours
 +  #color cyan/blue white/blue
 +
 +Next, add these lines just after the one you just deleted or commented:
 +
 +  # Nice logo
 +  splashimage=(hd0,0)/boot/grub/boot.xpm.gz
 +  foreground=000080
 +  background=efb90e
 +
 +Of course ''hd(0,0)'' is the first partition on the first HDD. You must change this if the directory ''/boot/grub'' is on a different partition on your system.
 +
 +Enjoy!