Difference between revisions of "GRUB"

From Christoph's Personal Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
'''GNU GRUB''' ("'''GRUB'''" for short) is a boot loader package from the [[List of GNU packages|GNU Project]].
 
'''GNU GRUB''' ("'''GRUB'''" for short) is a boot loader package from the [[List of GNU packages|GNU Project]].
 +
 +
==Grub interface==
 +
grub
 +
grub> find /boot/grub/stage1
 +
(hd1,4)
 +
grub> root (hd1,4)
 +
grub> setup (hd1)
 +
grub> quit
  
 
==Grub splash images==
 
==Grub splash images==

Revision as of 04:40, 13 April 2009

GNU GRUB ("GRUB" for short) is a boot loader package from the GNU Project.

Grub interface

grub
grub> find /boot/grub/stage1
(hd1,4)
grub> root (hd1,4)
grub> setup (hd1)
grub> quit

Grub splash images

  • Find gzipped, 640x480, 14 colour only, xpm images (like the ones here).
  • Put the images in /boot/grub/splashimages/.
  • Rename the image you wish to use to 'splash.xpm.gz'.
  • Make a link to /boot/grub/splashimages/splash.xpm.gz and put it in /boot/grub/.
  • Open /boot/grub/menu.lst and below the 'Pretty colours' section add a third line as below:
# Pretty colours
# color cyan/blue white/blue
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

(Note: The hd0,1 refers to hard drive 1 partition 2 where, for an example, a file system could be installed. You'll need to change those numbers if yours differs.)

External links