gfxmenu on grub4dos - tutorials - reboot.pro

Upload: alfredo-gutierrez

Post on 12-Oct-2015

491 views

Category:

Documents


33 download

TRANSCRIPT

  • reboot.pro Boot methods & tools Boot from USB / Boot anywhere Grub4dos Tutorials

    Page 1 of 2

    GFXMenu on Grub4DosStarted by Shibby , Sep 12 2011 02:50 AM

    set configs to boot screensset configs to boot screens,,

    Sign In Create Account

    POPULAR

    Shibby

    Hello everyone, this is my first tutorial, and as it was a hard time to me to gather all information to make

    this, i'll share with you guys.

    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 (http://www.mediafire.com/?ed91bjnnpw74188)

    * 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:

    Posted 12 September 2011 - 02:50 AM

    GFXMenu on Grub4Dos - Tutorials - reboot.pro http://reboot.pro/topic/15416-gfxmenu-on-grub4dos/

    1 de 7 16/03/2013 20:13

  • All entries are binaries, so... 0 means ON and 1 means OFF.

    Quote

    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:

    Quote

    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:

    Quote

    color NORMAL HIGHLIGHT HELPTEXT HEADING

    timeout 30

    default 0

    GFXMenu on Grub4Dos - Tutorials - reboot.pro http://reboot.pro/topic/15416-gfxmenu-on-grub4dos/

    2 de 7 16/03/2013 20:13

  • 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 (http://diddy.boot-land.net/grub4dos/files/gfxmenu.htm#menu) , 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.

    floppy disk recoverywww.HandyRecovery.com

    Undelete Data with Handy Recovery All FAT/NTFS drives. Free Download.

    tgs2010

    Thank you for this tutorial.

    Posted 27 September 2011 - 01:00 AM

    Shibby

    No problem dude... i'm glad i helped u out.

    Posted 27 September 2011 - 01:59 AM

    steve6375

    Users may also find my grub4dos tutorial at http://www.rmprepusb...orials/grub4dos (http://www.rmprepusb.com

    /tutorials/grub4dos) useful - Part 3 is about gxfmenu

    Posted 27 November 2011 - 09:48 AM

    Husain-The New Rookie

    i already knew about it but coldnt find time to make a tutorial for others

    thanks for the tutorial bro

    Posted 08 December 2011 - 07:36 AM

    Eng Mohamed

    Dear Shibby,

    I'm facing some problems during prepare my multiboot USB like change color bar menu

    to transparent and also I want to add label above the menu (I need the codes for that to

    add it in file gfxboot.cfg)

    Thanks alot for your efforts.

    Posted 02 January 2012 - 01:43 PM

    GFXMenu on Grub4Dos - Tutorials - reboot.pro http://reboot.pro/topic/15416-gfxmenu-on-grub4dos/

    3 de 7 16/03/2013 20:13

  • patsch

    perhaps you should have a look at this thread:

    http://reboot.pro/15689/ (http://reboot.pro/15689/)

    Posted 02 January 2012 - 01:49 PM

    Eng Mohamed

    My Friend Patsch,

    Thanks for your quick responce, I believe this issue is different than my request.

    Posted 02 January 2012 - 01:56 PM

    Shibby

    Eng Mohamed (http://reboot.pro/user/54094-eng-mohamed/) ,

    I understood your issue.

    To put the label in, i would recomend you to edit the jpg background picture, and put it in there, this way, you can use

    any font/effects you wish, and the regular "DOS" font from grub.

    To change the selected text background color, you should play with this variable inside your gfxboot.cfg: menu_bar_colors

    I'm not 100% sure, a'm at work i can't tell you 100% sure right now. You could comment the line too, or delete the line regarding this option to test it.

    as soon as i get home, i can take a look at it for you.

    Posted 02 January 2012 - 02:05 PM

    patsch

    really? Sorry then I misunderstood your post ...

    your request was to set the select bar to transparent and to add an info line, or not?

    I use Ripper-GFX for my own customized boot menu and with that program I can set color/transpareny of the select bar

    and I also set a info line (you called it label) and much more. After watching the tutorials linked in that thread it took

    me 10 minutes to create my own personalized grub4dos boot menu with my own background image, size/position of the

    menu entries, info line etc.

    Posted 02 January 2012 - 02:07 PM

    Shibby

    You can do it using this meethod too, i just don't have access to the files atm.

    It may be easier or harder, depending on how much you know of each tool.

    'patsch', on 02 Jan 2012 - 15:07, said:

    Posted 02 January 2012 - 02:14 PM

    GFXMenu on Grub4Dos - Tutorials - reboot.pro http://reboot.pro/topic/15416-gfxmenu-on-grub4dos/

    4 de 7 16/03/2013 20:13

  • really? Sorry then I misunderstood your post ...

    your request was to set the select bar to transparent and to add an info line, or not?

    I use Ripper-GFX for my own customized boot menu and with that program I can set color/transpareny of the select bar and I also set a info line (you

    called it label) and much more. After watching the tutorials linked in that thread it took me 10 minutes to create my own personalized grub4dos boot

    menu with my own background image, size/position of the menu entries, info line etc.

    Shibby

    Well... i'm gonna be at work for more 7hrs, so if your problem is not solved till then, or you decided to not follow on

    patsch tip... i'll take a look and run some tests when i get back to home.

    Just let me know it its needed ok?

    Posted 02 January 2012 - 02:29 PM

    Eng Mohamed

    Guys,

    Thanks for your co-operation but, I am still confused.

    Shippy,

    Regarding the bar color issue I was attempting to remove the value and sometimes replaced it

    (menu_bar_color=0xeeeeee) without any responce.[Could you please try again to solve this issue with me]

    Regarding the label, I know its easy to do it in photoshop as example but I prefer to make it with code

    in file gfxboot.cfg or in menu.lst and I have added the following code in menu.lst but it didn't appear.

    code:

    write (md)0x220+1 !BATnecho -n -P:0000 $[0107] AIO Bootable USB 0 initscript (md)0x220+1

    Is that possible or not?

    Posted 02 January 2012 - 02:59 PM

    Shibby

    mainmenu.bar.transparency=100

    Try doing this my friend

    Posted 02 January 2012 - 03:16 PM

    Eng Mohamed

    I have tried that before, incorrect code and I did this code menu_bar_color=transparent no result till

    now.

    Posted 02 January 2012 - 03:58 PM

    Eng Mohamed

    Shibby,

    I am waiting your help

    Thanks

    Posted 03 January 2012 - 12:48 PM

    yangjh

    See here (http://bbs.wuyou.com/viewthread.php?tid=180085) ......

    Edited by yangjh, 06 January 2012 - 08:54 AM.

    Posted 06 January 2012 - 08:47 AM

    Shibby

    Today is the day... got back home... so i'll look at your problem... sorry bro, i've been busy

    Posted 06 January 2012 - 09:45 AM

    Shibby

    Dude.. it may be simple, the first line where you define the basics...

    color NORMAL HIGHLIGHT HELPTEXT HEADING

    Rip off the HIGHLIGHT?

    I was just reading my post.... and it seems to work... i'll try now

    Posted 06 January 2012 - 09:50 AM

    Eng MohamedPosted 06 January 2012 - 05:51 PM

    GFXMenu on Grub4Dos - Tutorials - reboot.pro http://reboot.pro/topic/15416-gfxmenu-on-grub4dos/

    5 de 7 16/03/2013 20:13

  • 'yangjh', on 06 Jan 2012 - 09:47, said:

    See here (http://bbs.wuyou.com/viewthread.php?tid=180085) ......

    Yangjh,

    Thanks for your help.

    But I can't read china language, so can you explain by english if possible? and I have download MsgDiyer file but if you

    have english version it will be better and I faced a problem during open this file with antiviruse AVG please advice me

    my friend.

    Eng Mohamed

    'Shibby', on 06 Jan 2012 - 10:50, said:

    Dude.. it may be simple, the first line where you define the basics...

    color NORMAL HIGHLIGHT HELPTEXT HEADING

    Rip off the HIGHLIGHT?

    I was just reading my post.... and it seems to work... i'll try now

    Sorry, I can't get your point.

    Posted 06 January 2012 - 05:55 PM

    yangjh

    'Eng Mohamed', on 06 Jan 2012 - 18:51, said:

    Yangjh,

    Thanks for your help.

    But I can't read china language, so can you explain by english if possible? and I have download MsgDiyer file but if you have english version it will be

    better and I faced a problem during open this file with antiviruse AVG please advice me my friend.

    Hello Eng Mohamed

    About AVGPlease see here (http://r.virscan.org/836df07c6eaca7d7558c274a6ba1400b) ;About English version...The

    authors say..My English is very poor.. .. so sorry

    reference (http://bbs.wuyou.com/viewthread.php?tid=181274&highlight=MsgDiyer)

    Posted 09 January 2012 - 01:04 AM

    Shibby

    I managed it to work in my example... but first off all, sorry for taking so long... its been a busy week.

    So... grub understands black as transparent, as it looked like im my example... so...

    Set

    menu_bar_color=0x000000

    and

    menu_text_select=0xffffff

    This way, there was no bar for me, just the text changed color when i selected it.

    It worked for me now... and i'm using it... it looks better than that line across the screen.

    xD

    I hope it helped you.. i didnt know how to do this, but hey... it worked xD

    Posted 09 January 2012 - 03:01 AM

    Shibby

    And about that another question about you wanting to add a title...

    That way you tried, would word if you were in text mode... not loading a gfxmenu with a picture as background.

    So... in the normal menu, it would work...

    The best way to add a title, would be to edit in some image editor, like photoshop... but i'lll do some research and tell

    you my founds ok?

    So far... i didnt manage do make it work... but i'll try.

    Posted 09 January 2012 - 03:13 AM

    Eng MohamedPosted 09 January 2012 - 05:54 AM

    GFXMenu on Grub4Dos - Tutorials - reboot.pro http://reboot.pro/topic/15416-gfxmenu-on-grub4dos/

    6 de 7 16/03/2013 20:13

  • Page 1 of 2 Back to Tutorials

    reboot.pro Boot methods & tools Boot from USB / Boot anywhere Grub4dos Tutorials

    Boot methods & tools | Groups | International | Developer notes | x64 | NativeEx | Tftpd32 | Win8PE | Win7PE | VistaPE | LiveXP | Development | MultiPE | Support | Projects | Bug Tracker | Tutorials | Requests | Forensics | WinBuilder | Grub4Dos | Boot from anywhere | Security | Windows support | Hardware | Software | P | Malay | Serbian | Portugus | Espanol | Arabic | Romanian | Greek | Polish | Alberich | NaughtyPE | Hello world! | Screenshots | Websites | News | Museum | Vote! | Site feedback | IT World News | Blogs | Tutorials | Windows Extreme | Antivirus & malware protection | Project forge | Downloads | Community forum | Hardware | ImDisk | Winimize | bearwindows | LODR Universal & Portable Apps | UNetbootin | FileDisks/RamDisks: Firadisk,etc. | USB FORMATTING utilities: RMprepUSB, fbinst, etc. | SARDU - Multi Boot Builder USB/DVD | FireSage applications | XBOOT | LinuxLive USB Creator (a.k.a"LiLi") | Hiren's Boot CD | Tutorials | Grub4dos | The Syslinux Project | AeroStudio | Tutorials | Lost & Found | Request new features | Volunteers wanted | Onprogress | WinBeta | FreeDos and Dos | Windows PE | Unattended Installs | Windows 8 | Windows 7 | Windows Vista / 2008 | Windows 2K/XP/2003 | Windows3x/9x | Hardware compatibility / drivers | Tutorials | Forensics | Tutorials | Team Reboot | Bugs on the latest stable edition of WinBuilder.exe | Bugs found in betaversions of WinBuilder.exe | Wishlist and Requests | App Scripts | Requests | Tutorials | WinFE | Questions | HQ | ISOstick | Requests | DeutschsprachigesForum | Franais | Trk | | Italiano | Worldwide | Boot from USB / Boot anywhere | Boot Linux and other OS flavours | Boot virtual machines | Boot fromLAN | WinBuilder |

    'yangjh', on 09 Jan 2012 - 02:04, said:

    Hello Eng Mohamed

    About AVGPlease see here (http://r.virscan.org/836df07c6eaca7d7558c274a6ba1400b) ;About English version...The authors say..My English is

    very poor.. .. so sorry

    reference (http://bbs.wuyou.com/viewthread.php?tid=181274&highlight=MsgDiyer)

    No problem and alot of thanks.

    'Shibby', on 09 Jan 2012 - 04:01, said:

    I managed it to work in my example... but first off all, sorry for taking so long... its been a busy week.

    So... grub understands black as transparent, as it looked like im my example... so...

    Set

    menu_bar_color=0x000000

    and

    menu_text_select=0xffffff

    This way, there was no bar for me, just the text changed color when i selected it.

    It worked for me now... and i'm using it... it looks better than that line across the screen.

    xD

    I hope it helped you.. i didnt know how to do this, but hey... it worked xD

    Sibby,

    I'll try do that and inform you by result soon, many of thanks ... my friend.

    'Shibby', on 09 Jan 2012 - 04:13, said:

    And about that another question about you wanting to add a title...

    That way you tried, would word if you were in text mode... not loading a gfxmenu with a picture as background.

    So... in the normal menu, it would work...

    The best way to add a title, would be to edit in some image editor, like photoshop... but i'lll do some research and tell you my founds ok?

    So far... i didnt manage do make it work... but i'll try.

    Really I appreciate your cooperation and sorry to disturb you.

    Bootable CDwww.spotmau.com

    Boot Up Any Computer, Fix & Install Windows Easy!

    GFXMenu on Grub4Dos - Tutorials - reboot.pro http://reboot.pro/topic/15416-gfxmenu-on-grub4dos/

    7 de 7 16/03/2013 20:13