Difference between revisions of "GRUB"

From Christoph's Personal Wiki
Jump to: navigation, search
(Grub splash images)
(External links)
 
Line 33: Line 33:
 
*[http://supergrub.forjamari.linex.org Super Grub Disk] Cdrom or floppy used for restoring grub to the mbr and much more.
 
*[http://supergrub.forjamari.linex.org Super Grub Disk] Cdrom or floppy used for restoring grub to the mbr and much more.
 
*[[wikipedia:GNU GRUB]]
 
*[[wikipedia:GNU GRUB]]
 +
 +
===Examples===
 +
*[http://www.askapache.com/linux/advanced-linux-grub.html Advanced Linux Debugging using a Bootloader (GRUB)] — by AskApache
  
 
[[Category:Linux Command Line Tools]]
 
[[Category:Linux Command Line Tools]]

Latest revision as of 23:30, 30 May 2012

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

Examples