Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 21-04-2005, 07:26 PM   #1 (permalink)
In The Zone
 
cool_dude_prav's Avatar
 
Join Date: Sep 2004
Location: Chennai
Posts: 353
Default Playing around with "Pretty Colors" in GRUB...


Hi ppl,

I was trying to play around with GRUB and I found out the "pretty colors" part.

I thought maybe I could try out some cool combos with it...

It doesn't support colors like Grey(or is it Gray?) and so on...

So, here's the big Questions...

What colors are supported on GRUB's menu.lst?

How to use "other" colors - can RGB colors be used as in HTML?

This sure will make some heads ponder :roll:
__________________
The Bloglines of an Angry Indian -
www.angry-indian.com

If only life were as easy as Ctrl+Z (undo) and F4/Ctrl+Y (redo)...
cool_dude_prav is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 05-05-2005, 10:18 AM   #2 (permalink)
In The Zone
 
cool_dude_prav's Avatar
 
Join Date: Sep 2004
Location: Chennai
Posts: 353
Default

Come on ppl..

Even after sooo many days and abt 20+ views, no one seems to reply...

Atleast someone temme, on what colors are accepted in Shell Scripting, and what do I do for other colors???
__________________
The Bloglines of an Angry Indian -
www.angry-indian.com

If only life were as easy as Ctrl+Z (undo) and F4/Ctrl+Y (redo)...
cool_dude_prav is offline  
Old 23-08-2005, 08:05 AM   #3 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default

I am using the Ubuntu 5.04`s grub.There is an option color to change the color and it has only 4 colors.I gave the command color = cyan.But no change in the grub color on bootup.
vignesh is offline  
Old 23-08-2005, 06:49 PM   #4 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default

Hmm, found this Splash images support for GRUB...
http://ruslug.rutgers.edu/~mcgrof/grub-images/
Also , found this at gnu.org
13.2.2 color
— Command: color normal [highlight]

Change the menu colors. The color normal is used for most lines in the menu (see Menu interface), and the color highlight is used to highlight the line where the cursor points. If you omit highlight, then the inverted color of normal is used for the highlighted line. The format of a color is foreground/background. foreground and background are symbolic color names. A symbolic color name must be one of these:

* black
* blue
* green
* cyan
* red
* magenta
* brown
* light-gray

These below can be specified only for the foreground.
* dark-gray
* light-blue
* light-green
* light-cyan
* light-red
* light-magenta
* yellow
* white

But only the first eight names can be used for background. You can prefix blink- to foreground if you want a blinking foreground color.

This command can be used in the configuration file and on the command line, so you may write something like this in your configuration file:

# Set default colors.
color light-gray/blue black/light-gray

# Change the colors.
title OS-BS like
color magenta/blue black/magenta
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 23-08-2005, 08:54 PM   #5 (permalink)
In The Zone
 
cool_dude_prav's Avatar
 
Join Date: Sep 2004
Location: Chennai
Posts: 353
Default

Good post there...

Great find!!!

Prav.
__________________
The Bloglines of an Angry Indian -
www.angry-indian.com

If only life were as easy as Ctrl+Z (undo) and F4/Ctrl+Y (redo)...
cool_dude_prav is offline  
Old 23-08-2005, 09:59 PM   #6 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default

Also, get the new GRUB loader for more colors...
http://lists.debian.org/debian-hurd/.../msg00275.html
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 24-08-2005, 06:59 AM   #7 (permalink)
Broken In
 
gauravnawani's Avatar
 
Join Date: Sep 2004
Location: Bangalore, India
Posts: 154
Default

Thats a pretty limiting colours, you can use actual images for the splash too.

WARNING if you dont know what you are doing dont mess with it, you could mess up your system. First locate this entry in your /boot/grub/grub.conf or menu.lst (you will need to be root).

splashimage=(hd1,0)/boot/grub/splash.xpm.gz

If its there then good if not then make one just at the top of some commands. Make sure you are not breaking any continued command on the grub list.

1. The Splash.xpm is 'bmp' of Linux an INDEX(16Colour) image format(No transparency).
2. Copy the file from /boot/grub/splash.xpm.gz (If it exsits).
3. Make a seperate copy for backup.
4. Fire up GIMP and open that splash.xmp.gz file. (Note you can append .gz to any file while you are saving it from gimp even .bz2)
5. Copy another splash or make your own and paste it into the splash.xpm.gz file. Save it.
6. Go to Image>> Flatten.
7. Go to Image>>Mode>>Index.
Here change the colour from 256 to 16.
8. Replace the old new splash.xpm.gz with the new one.

(NOTE if that file dosent extsts then simply save any file in the same format .xpm.gz)

Restart and watch a vibrant boot up screen.

Cheers!

UPDATED: A Minor mistake
__________________
----------------------------------------------------
Blender India forums
http://www.bestfreeforums.com/forums/blenderindia.html
gauravnawani is offline  
Old 24-08-2005, 06:03 PM   #8 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default

Tis what i posted above dude...the link...

also, i dont like the splashies much coz i want linux to look as a nerd and not as a multimedia alternative...

But good tutorial....
plain and good language too...
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 25-08-2005, 07:02 PM   #9 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default

I am using redhat bootloader.Can I change that ?
vignesh is offline  
Old 25-08-2005, 07:05 PM   #10 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default

yes, as the link states that redhat supports the image function...
also, isnt that the reason we see FEDORA in the GRUB ?
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 01:19 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2