First of all...
* What are we going to do?
We are going to set some configurations, so our bootscreen will look pretty.
Here is some exemple:
* What do we need?
I will start assuming that you already have your bootable thing (HardDrive, USB Stick, External HD, SD Card) with the needed files, such as a menu.lst entry.
You'll need the following:
- Bottable thing
- Source Files - Mediafire
* How we do this?
Its quite simple.
First of all, download the Source File, wich is a .rar file, and extract it to your "C:" local driver.
You are going to have 2 folders and 2 files inside it.
- Folder "cpio": needed files to pack and unpack our configuration file
- Folder "files": configuration files, wich we are going to change and do it at our own style
- File "unpack.cmd": executable batch file, to unpack our configuration file
- File "repack.cmd": executable batch file, to repack our configuration file
Lets now work inside our FILES folder.
There are 2 main files we need to play with inside here.
Lets start with our background file, its named "back.jpg" and should remain with that name, all you have to do to change the background on your bootscreen, is replace it witi your own JPG 800x600 file. Later we are going to see how to change the resolution of the screen.
Now that you're done replacing it, its time to make the screen look like you want it to do:
Lets play with the "gfxboot.cfg" file, the one carring all information about our stylish menu:
All entries are binaries, so... 0 means ON and 1 means OFF.
welcome=1 # Shows the welcome message on the screen (0=on, 1=off)
boot_show=0 # Show boot options, not supported anyway, so better leave it alone
xmenu_hide_current=0 # if set to 1, hide the current selection item below the bottom menu.
menu_start_x=450 # Horizontal position of the menu
menu_start_y=105 # Vertical position of the menu
menu_max_entries=10 # Number of entries on the panel to select, if you have more, it will scroll down
menu_bar_min_width=1 # The minimum width of menu select bar.
menu_text_normal=0x4AC950 #Normal text color, use RGB value such as 0xffffff.
menu_text_select=0x000000 #Color of selected item
boot_text_options=0xffffff #Color of boot options label
boot_text_normal=0xffffff #Color of boot options text
infobox_bg=0xd8deed #Background color of info box
infobox_text_normal=0 #Text color of info box
menu_bar_color=0xffffff #Color of menu bar
loading_color=0x295202 #Color of load bar
title_bg=0x4f9805 #Background color of dialog background
hide_reboot=0 #If set to 1, hide the reboot button (F9)
hide_poweroff=0 If set to 1, hide the poweroff button (F10)
disable_num_key=1 #This message file has added keyboard shortcut function, for example, pressing '1' would choose the first menu item. If you don't want it, set this variable to 1.
hide_help=1 #If set to 1, hide the help button (F1)
hide_lang=1 #If set to 1, hide the language button (F2)
custom_width=800 #By default, the screen resolution is 800x600x16, if you want a higher resolution, set these three variables, for example:
custom_height=600 #custom_width=1024; custom_height=768; custom_depth=16
custom_depth=16 #The mode must be supported by bios, otherwise, it just fallback to default.
panel_normal=0xffffff #Color of panel text
panel_title=0xffffff #Color of panel title
panel_high=0xffe050 #Color of panel hotkey (Fn)
panel_bg=0xd8deed #Background color of panel pop-up box
panel_border=0xeff2f6 #Border color of panel pop-up box
Make your own configuration, as you wish, and if something goes wrong, post it here, so i or any other member can help you.
Now that you have it all done, all you have to do, is to run the "repack.cmd" file.
It will create a file called "message".
This file is holding all your configuration, font and background file.
To use it properly, copy it, and paste it to the same place where your menu.lst file is located.
Now to finish thing up, open your menu.lst file, and it should look something like this:
color NORMAL HIGHLIGHT HELPTEXT HEADING
timeout 30
default 0
title WinPE 1.0 /nWindows XP Lite
find --set-root --ignore-floppies /_Imagens/xp_lite.ISO
map /_Imagens/xp_lite.ISO (hd32)
map --hook
root (hd32)
chainloader (hd32)
All you have to do, is to set the gfxmenu parameter inside the file, so it will look something like this:
color NORMAL HIGHLIGHT HELPTEXT HEADING
timeout 30
default 0
gfxmenu /message
title KbBoot XP Lite\nInicia o Disco de Inicializacao da KB Informatica com base em Windows XP.\nMinimo de 128MB de RAM.
find --set-root --ignore-floppies /_Imagens/xp_lite.ISO
map /_Imagens/xp_lite.ISO (hd32)
map --hook
root (hd32)
chainloader (hd32)
With this, when you enter in your boot screen, instead of all those letter and stuff, you gonna see your own background, and with some sytilish menu.
Hope it helps someone.
I used the files and information in here, so i have no credits at all... i just re-wrote in some place easier for people to find.
Thanks Diddy, and a hug to Nuno Brito... luv ya bro.