Jump to content











Photo
- - - - -

grub4dos cosmutize menu.lst (working with WinSetupFromUSB)


  • Please log in to reply
5 replies to this topic

#1 linuxgrub

linuxgrub
  • Members
  • 3 posts
  •  
    France

Posted 10 July 2016 - 08:47 PM

Hi there,

 

I have created a multiboot USB using WinSetupFromUSB.

 

Is there a way to add a background image to make the menu look more pleasant? 



#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 11 July 2016 - 08:50 AM

Hi there,

 

I have created a multiboot USB using WinSetupFromUSB.

 

Is there a way to add a background image to make the menu look more pleasant? 

Sure, there are several ways.

You can use a static image (that has a number of limitations in size and format), or higher resolution ones with a GFX menu and even animated images, start here:

http://www.rmprepusb...orials/grub4dos

http://www.rmprepusb...ackground-image

http://www.rmprepusb...ion-backgrounds

 

:duff:

Wonko



#3 linuxgrub

linuxgrub
  • Members
  • 3 posts
  •  
    France

Posted 12 July 2016 - 02:26 PM

Hi there,

 

Thank your for the guide.

 

I cannot find the command on the menu.lst which show the splashimage or background, here is the code:

 

color black/cyan yellow/cyan
timeout 10
 
#graphicsmode 0x6A
graphicsmode -1 640 480:800 24:32 || graphicsmode -1
## Menu AutoNumber
write 0x8274 0x2001
 
#graphicsmode -1 800:640 -1 24:32 || graphicsmode -1
#font /unifont.hex.gz
 
 
#clear mappings and set root in case we return from bootmgr
map --unmap=0:0xff
map --unhook
map --rehook
ls /usbdrive.tag > nul || find --set-root --devices=hf /usbdrive.tag > nul
ls /default > nul && default /default
 
Can you tell me what do I need to add (or change) in order to add my own image?


#4 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 12 July 2016 - 02:56 PM

Here (already given link):

http://www.rmprepusb...ion-backgrounds

 

Command:

splashimage <path to the image file>

Example:

 

 

3. Add the file to your menu.lst entry together with the correct graphicsmode command (the graphicsmode command is optional, the splashimage command will automatically try to set the correct resolution if the image is a standard size such as 800x600, 1024x768, etc.) - e.g.
 
#for an 800 x 600 24 bit colour background
graphicsmode -1 800 100:1000 24
splashimage /nice800.bmp.gz
 

 

Here (also already given link):
http://www.rmprepusb...ackground-image

 

 

Low Resolution 14 colour 640x480 bitmaps
Note that the menu example above has a 'splashimage' statement. For older versions of grub4dos this command can only use a 14 colour 640x480pixel image to use as a background image (if you do not change the graphicsmode and leave it set to the default mode). For your 14-colour splashscreen image (if you have used a splashimage command), by default, the foreground colour (all of the menu text and the highlight for the currently selected option) will be white, and thebackground colour (the highlighted text within the currently selected option) will be black. This menu text will be laid over the background image.

 

What is the problem? :unsure:

 

:duff:

Wonko



#5 linuxgrub

linuxgrub
  • Members
  • 3 posts
  •  
    France

Posted 14 July 2016 - 02:39 PM

All good, thank you!



#6 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 14 July 2016 - 05:27 PM

All good, thank you!

All is well that ends well. :)

 

:duff:

Wonko






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users