Friday, July 25, 2008

Ontario Personalized Plate Availabl

beautify GRUB?

As we now know all the "little program" that allows us to choose to leave our beloved distro GNU-Linux or "that 'other OS' is called Gr.UB ( GRand Unified Bootloader ) .

Its operation is very simple but its interface is very simple and merely present a list of kernels on a black background anonymous (you can also change the colors but the background will always uniform) .

to beautify and personalize some of our menu can start with a few commands, change the background by inserting an image to our liking that is called in slang: splashimage . Unfortunately
's image can not be those in high resolution and with millions of colors but MUST necessarily be size, type and number of specific colors Gr.UB otherwise not be able to display it:
  • resolution
  • 14 colors Size 640 x 480
  • format. xpm.gz
It Accordingly, once identified, 'image that we like we should give him some small "aggiustatina" with Gimp (or another graphics program that has the same functions ...) . So

: (*)
  1. Take the 'image of your choice and open it with Gimp
  2. Resize to 640 x 480 pixels
  3. Go to the menu "Image"> "Mode"> "indexed color"
  4. Click "Generate optimum palette" and the "maximum number of colors set 14.
  5. Now do something that almost no one says that but I think it's important darkened and contrast your image quite a bit written otherwise grub will blend with your background.
  6. Now save with the option 'save as "Select the" XPM "
  7. in a shell the following command: sudo gzip vostra_immagine.xpm (**)
  8. take your file and copy it in / boot / grub using this command: sudo cp vostra_immagine.xpm.gz / boot / grub / splash.xpm.gz (change name for convenience).
  9. Now go into / boot / grub where you will find your splash image and open the file menu.lst . To do this you use the buttons Alt + F2 and type: kdesu kate / boot / grub / menu.lst if you have kde, gksu gedit / boot / grub / menu.lst if you gnome
  10. Find the line: comment it out with a (***) # put in front and just below type the following: splashimage = ( hd0, 0 ) / boot / grub / splash.xpm.gz ( ° )
  11. save everything and restart your PC, if all went well you should see something soon Gender:

FACT, HAVE FUN!


(*) use sudo because it is used by ubuntu distro that is more widespread, but those who use debian like me or others not just because it obviously needs to enter as root.
(**) You can also use the command line using the tool convert and avoid having to open gimp:
convert-geometry 640x480-colors 14 vostra_immagine.jpg splash.xpm gzip splash.xpm
(***) So the operating system of choice does not start automatically, but most will wait until you position yourself on the kernel of your choice (with the arrow keys), and give ENTER.
( ° ) Be careful not to leave space between the closed parenthesis and / boot. hd0, 0 supposed to have linux-gnu on the first partition of the first disc if you have your stuff installed on the second partition of the first disc you must write hd0, 1 but if you have your stuff on First partition of second disk write: hd1, 0 and so on, for more info, I refer you to my article on grub on that blog

No comments:

Post a Comment