меню
# This is a sample menu.lst file. You should make some changes to it.
# It must be UTF-8 encoding to support multiple languages.
# The font should be in unifont.hex format.
#Set countdown (seconds)
timeout 30
#Set the first item as the default value
default 1
#Set the character color (the upper 32 bits are the background color, and the lower 32 bits are the foreground color. Run on the command line: echo -rrggbb to view the corresponding color.)
#color normal=0xff9933 highlight=0xffff00 helptext=0xff00ff heading=0x66ff00
#Set the graphics mode (you can use graphicsmode to detect the graphics mode supported by the system)
#graphicsmode -1 800(Horizontal pixels)
#Load background image
#splashimage /efi/grub/splashimage.jpg || splashimage /boot/grub/splashimage.bmp
#Load unifont font (if it is not a 16*16 font, add parameters, such as --font-high=24)
#font /efi/grub/unifont.hex.gz
#Set menu box
#setmenu --box x=4 w=60 y=6 h=9 l=2
#Set English menu button help
#setmenu --lang=en
#Set automatic menu number
#setmenu --auto-num-on
#Set string information
#setmenu --string=x=y=color="string"
#Set date and time
#setmenu --string=x=y=color="date&time=yyyy-MM-dd HH:mm:ss"
#Set countdown
#setmenu --timeout=x=y=color
#For more menu editing functions, animations, image menus, etc., please refer to http://bbs.wuyou.net/forum.php?mod=viewthread&tid=369720&extra=page%3D3
title Boot efi file
chainloader /efi/boot/grub2x64.efi
title Boot virtual disc
find --set-root /cdrom.iso
map /cdrom.iso (0xff)
chainloader (0xff)
title Boot virtual disc(Load into memory)
find --set-root /cdrom.iso
map --mem /cdrom.iso (0xff)
chainloader (0xff)
title Boot existing CDROM(cd0)
chainloader (cd0)
title Start virtual hard disk
find --set-root /boot/hdd.img
map /boot/hdd.img (hd)
chainloader (hd-1)
title Start virtual hard disk(Load into memory)
find --set-root /boot/hdd.img
map --mem /boot/hdd.img (hd)
chainloader (hd-1)
title Boot existing hard drive(hd0)
chainloader (hd0)
title Launch other menus
configfile /efi/grub/menu2.lst
title Boot Linux Porteus 5.0 x86_64 openbox
kernel /porteus/vmlinuz copy2ram
initrd /porteus/initrd.xz
title Commandline
commandline
title Exit grub4dos
exit_g4d
title Reboot
reboot
title Shutdown
halt