无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 26705|回复: 15
打印 上一主题 下一主题

[讨论] refind启动菜单共同讨论

  [复制链接]
跳转到指定楼层
1#
发表于 2015-6-27 23:41:06 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
refind启动菜单共同讨论

维修站工作,上面经常发一些软件测试,dos下的 win下的 pe下的 还有efi下面的
一个软件就一个u盘 麻烦 dos下和pe的 都好合并在一起  efi下的本人还不会合并
所以捣鼓了2天 grub2  winly refind 苹果的那个引导没见过
人太笨 grub2和winly 都没捣鼓成功(虚拟机测试的) refind到时能成功引导三星的硬盘测试软件
但还有很多不懂 现拿出来和大家共同讨论讨论


准备:
软件refind  http://sourceforge.net/projects/refind/ 最新版0.8.7
Qemu启动测试器  链接: http://pan.baidu.com/s/1gdvJUQR 密码: wngl 或支持efi启动的电脑
记事本或notepad2 记事本高级软件 http://www.xiazaiba.com/html/434.html 编辑配置文件使用
win8pe大 我就不上传了
部分软件可以在这下载 http://pan.baidu.com/s/1kT3TVKV

U盘一个 格式化为fat16

复制refind下的refind_ia32.efi 和refind_x64.efi以及refind.conf-sample 到u盘efi\boot下
并更改文件名
          refind_ia32.efi为bootia32.efi   注:这是32位efi启动
          refind_x64.efi为bootx64.efi      注:这是64位efi启动
           refind.conf-sample为refind.conf   注:这是refind配置文件
           
           图1
           
修改配置文件refind.conf
建议用notepad2等记事本软件修改
# 号 表示是注解
分界线下是我改的配置文件(英语水平太差只了理解怎么多) 大家共同来讨论指点一下 进一步完善
-------------------------------------------------------------------
#
# refind.conf
# Configuration file for the rEFInd boot menu
#

# Timeout in seconds for the main menu screen. Setting the timeout to 0
# disables automatic booting (i.e., no timeout). Setting it to -1 causes
# an immediate boot to the default OS *UNLESS* a keypress is in the buffer
# when rEFInd launches, in which case that keypress is interpreted as a
# shortcut key. If no matching shortcut is found, rEFInd displays its
# menu with no timeout.
#设置默认时间 0表示一直等待
timeout 20

# Screen saver timeout; the screen blanks after the specified number of
# seconds with no keyboard input. The screen returns after most keypresses
# (unfortunately, not including modifier keys such as Shift, Control, Alt,
# or Option). Setting a value of "-1" causes rEFInd to start up with its
# screen saver active. The default is 0, which disables the screen saver.
#设置引导前屏保时间 建议关闭
#screensaver 300

# Hide user interface elements for personal preference or to increase
#安全 什么意思 不懂哦
# security:
#banner 就是logo图标
#  banner      - the rEFInd title banner (built-in or loaded via "banner")
#这个理解为标题
#  label       - boot option text label in the menu
#  singleuser  - remove the submenu options to boot Mac OS X in single-user
#                or verbose modes; affects ONLY MacOS X
#苹果的安全模式
#  safemode    - remove the submenu option to boot Mac OS X in "safe mode"
#硬件测试
#  hwtest      - the submenu option to run Apple's hardware test
#这个不懂
#  arrows      - scroll arrows on the OS selection tag line
#命令行之类的吧
#  hints       - brief command summary in the menu
#  editor      - the options editor (+, F2, or Insert on boot options menu)
#  all         - all of the above
# Default is none of these (all elements active)
#隐藏界面 苹果系统子菜单用户选项
#hideui singleuser
#隐藏所有界面
#hideui all
#hideui arrows

# Set the name of a subdirectory in which icons are stored. Icons must
# have the same names they have in the standard directory. The directory
# name is specified relative to the main rEFInd binary's directory. If
# an icon can't be found in the specified directory, an attempt is made
# to load it from the default directory; thus, you can replace just some
# icons in your own directory and rely on the default for others.
# Default is "icons".
#指定图片目录 如果要那种图标样子的 就在这指定图标目录 如果文本格式的话可以不要
#我用了图标格式的 所以指定了一下 就要建立icons文件夹,并把图标放进去
#我是直接把refind中的icons目录复制到u盘efi\boot下
icons_dir EFI\boot\icons

# Use a custom title banner instead of the rEFInd icon and name. The file
# path is relative to the directory where refind.efi is located. The color
# in the top left corner of the image is used as the background color
# for the menu screens. Currently uncompressed BMP images with color
# depths of 24, 8, 4 or 1 bits are supported, as well as PNG images.
#标识图 这个干什么用我没有试
#banner hostname.bmp
#logo图标 应该是背景图标吧  自己改一个漂亮的吧
banner \EFI\boot\icons\logo.png
# Specify how to handle banners that aren't exactly the same as the screen
# size:
#  noscale     - Crop if too big, show with border if too small
#  fillscreen  - Fill the screen
#下句就是说不指定的情况下 默认的是那中 其他好多地方都这样写的
# Default is noscale
#图片全屏
#banner_scale fillscreen
#图片自动缩放
banner_scale noscale
# Icon sizes. All icons are square, so just one value is specified. The
# big icons are used for OS selectors in the first row and the small
# icons are used for tools on the second row. Drive-type badges are 1/4
# the size of the big icons. Legal values are 32 and above. If the icon
# files do not hold icons of the proper size, the icons are scaled to
# the specified size. The default values are 48 and 128 for small and
# big icons, respectively.
#指定小图标大小
#small_icon_size 96
#指定大图标大小
#big_icon_size 256

# Custom images for the selection background. There is a big one (144 x 144)
# for the OS icons, and a small one (64 x 64) for the function icons in the
# second row. If only a small image is given, that one is also used for
# the big icons by stretching it in the middle. If only a big one is given,
# the built-in default will be used for the small icons.
#
# Like the banner option above, these options take a filename of an
# uncompressed BMP image file with a color depth of 24, 8, 4, or 1 bits,
# or a PNG image. The PNG format is required if you need transparency
# support (to let you "see through" to a full-screen banner).
#
#selection_big   selection-big.bmp
#selection_small selection-small.bmp

# Set the font to be used for all textual displays in graphics mode.
# The font must be a PNG file with alpha channel transparency. It must
# contain ASCII characters 32-126 (space through tilde), inclusive, plus
# a glyph to be displayed in place of characters outside of this range,
# for a total of 96 glyphs. Only monospaced fonts are supported. Fonts
# may be of any size, although large fonts can produce display
# irregularities.
# The default is rEFInd's built-in font, Luxi Mono Regular 12 point.
#指定字体  这个就不会了 怎么改成中文呢?
#font myfont.png

# Use text mode only. When enabled, this option forces rEFInd into text mode.
# Passing this option a "0" value causes graphics mode to be used. Pasing
# it no value or any non-0 value causes text mode to be used.
# Default is to use graphics mode.
#仅文本模式 如果不要图标格式只用文本 把这个启用就可以了
#textonly

# Set the EFI text mode to be used for textual displays. This option
# takes a single digit that refers to a mode number. Mode 0 is normally
# 80x25, 1 is sometimes 80x50, and higher numbers are system-specific
# modes. Mode 1024 is a special code that tells rEFInd to not set the
# text mode; it uses whatever was in use when the program was launched.
# If you specify an invalid mode, rEFInd pauses during boot to inform
# you of valid modes.
# CAUTION: On VirtualBox, and perhaps on some real computers, specifying
# a text mode and uncommenting the "textonly" option while NOT specifying
# a resolution can result in an unusable display in the booted OS.
# Default is 1024 (no change)
#文本模式 2是什么意思 不懂
#textmode 2

# Set the screen's video resolution. Pass this option either:
#  * two values, corresponding to the X and Y resolutions
#  * one value, corresponding to a GOP (UEFI) video mode
# Note that not all resolutions are supported. On UEFI systems, passing
# an incorrect value results in a message being shown on the screen to
# that effect, along with a list of supported modes. On EFI 1.x systems
# (e.g., Macintoshes), setting an incorrect mode silently fails. On both
# types of systems, setting an incorrect resolution results in the default
# resolution being used. A resolution of 1024x768 usually works, but higher
# values often don't.
# Default is "0 0" (use the system default resolution, usually 800x600).
#设置分辨术 默认是800x600
#resolution 1024 768
#resolution 3

# Launch specified OSes in graphics mode. By default, rEFInd switches
# to text mode and displays basic pre-launch information when launching
# all OSes except OS X. Using graphics mode can produce a more seamless
# transition, but displays no information, which can make matters
# difficult if you must debug a problem. Also, on at least one known
# computer, using graphics mode prevents a crash when using the Linux
# kernel's EFI stub loader. You can specify an empty list to boot all
# OSes in text mode.
# Valid options:
#   osx     - Mac OS X
#   linux   - A Linux kernel with EFI stub loader
#   elilo   - The ELILO boot loader
#   grub    - The GRUB (Legacy or 2) boot loader
#   windows - Microsoft Windows
# Default value: osx
#这个不懂 用户使用图标格式的系统?
#use_graphics_for osx,linux

# Which non-bootloader tools to show on the tools line, and in what
# order to display them:
#就是shell啦
#  shell            - the EFI shell (requires external program; see rEFInd
#                     documentation for details)
#内存测试
#  memtest          - the memtest86 program, in EFI/tools, EFI/memtest86,
#                     EFI/memtest, EFI/tools/memtest86, or EFI/tools/memtest
#不懂
#  gptsync          - the (dangerous) gptsync.efi utility (requires external
#                     program; see rEFInd documentation for details)
#分区
#  gdisk            - the gdisk partitioning program
#苹果的还原
#  apple_recovery   - boots the Apple Recovery HD partition, if present
#win还原
#  windows_recovery - boots an OEM Windows recovery tool, if present
#                     (see also the windows_recovery_files option)
#不懂
#  mok_tool         - makes available the Machine Owner Key (MOK) maintenance
#                     tool, MokManager.efi, used on Secure Boot systems
#关于
#  about            - an "about this program" option
#退出
#  exit             - a tag to exit from rEFInd
#关机
#  shutdown         - shuts down the computer (a bug causes this to reboot
#                     many UEFI systems)
#重启
#  reboot           - a tag to reboot the computer
#重启到固件 是不是重启到efibios设置啊
#  firmware         - a tag to reboot the computer into the firmware's
#                     user interface (ignored on older computers)
# Default is shell,memtest,gdisk,apple_recovery,windows_recovery,mok_tool,about,shutdown,reboot,firmware
#下面一条的显示工具  显示工具 不要什么就自己去掉 没有的它也不显示
showtools shell, gdisk, memtest, mok_tool, about, reboot, exit, firmware

# Boot loaders that can launch a Windows restore or emergency system.
# These tend to be OEM-specific.
# Default is LRS_ESP:/EFI/Microsoft/Boot/LrsBootmgr.efi
#
#windows_recovery_files LRS_ESP:/EFI/Microsoft/Boot/LrsBootmgr.efi

# Directories in which to search for EFI drivers. These drivers can
# provide filesystem support, give access to hard disks on plug-in
# controllers, etc. In most cases none are needed, but if you add
# EFI drivers and you want rEFInd to automatically load them, you
# should specify one or more paths here. rEFInd always scans the
# "drivers" and "drivers_{arch}" subdirectories of its own installation
# directory (where "{arch}" is your architecture code); this option
# specifies ADDITIONAL directories to scan.
# Default is to scan no additional directories for EFI drivers
#扫描驱动目录 不知道驱动干什么的 我是关闭的
#scan_driver_dirs EFI/tools/drivers,drivers

# Which types of boot loaders to search, and in what order to display them:
#  internal      - internal EFI disk-based boot loaders
#  external      - external EFI disk-based boot loaders
#  optical       - EFI optical discs (CD, DVD, etc.)
#  hdbios        - BIOS disk-based boot loaders
#  biosexternal  - BIOS external boot loaders (USB, eSATA, etc.)
#  cd            - BIOS optical-disc boot loaders
#  manual        - use stanzas later in this configuration file
# Note that the legacy BIOS options require firmware support, which is
# not present on all computers.
# On UEFI PCs, default is internal,external,optical,manual
# On Macs, default is internal,hdbios,external,biosexternal,optical,cd,manual
#这个scanfor是我屏蔽掉的 不然有错误提示 大楷意思是扫描哪些驱动器
#scanfor hdbios,biosexternal,cd
scanfor internal,external,optical,manual
# By default, rEFInd relies on the UEFI firmware to detect BIOS-mode boot
# devices. This sometimes doesn't detect all the available devices, though.
# For these cases, uefi_deep_legacy_scan results in a forced scan and
# modification of NVRAM variables on each boot. Adding "0", "off", or
# "false" resets to the default value. This token has no effect on Macs or
# when no BIOS-mode options are set via scanfor.
# Default is unset (or "uefi_deep_legacy_scan true")
#
#下面一条我关看看什么效果
#应该是bios兼容模式之类的
uefi_deep_legacy_scan true
#uefi_deep_legacy_scan false
# Delay for the specified number of seconds before scanning disks.
# This can help some users who find that some of their disks
# (usually external or optical discs) aren't detected initially,
# but are detected after pressing Esc.
# The default is 0.
#什么意思?
#scan_delay 5

# When scanning volumes for EFI boot loaders, rEFInd always looks for
# Mac OS X's and Microsoft Windows' boot loaders in their normal locations,
# and scans the root directory and every subdirectory of the /EFI directory
# for additional boot loaders, but it doesn't recurse into these directories.
# The also_scan_dirs token adds more directories to the scan list.
# Directories are specified relative to the volume's root directory. This
# option applies to ALL the volumes that rEFInd scans UNLESS you include
# a volume name and colon before the directory name, as in "myvol:/somedir"
# to scan the somedir directory only on the filesystem named myvol. If a
# specified directory doesn't exist, it's ignored (no error condition
# results). The default is to scan the "boot" directory in addition to
# various hard-coded directories.
#不懂哦 是不是总是扫描那些目录
#also_scan_dirs boot,ESP2:EFI/linux/kernels

# Partitions (or whole disks, for legacy-mode boots) to omit from scans.
# For EFI-mode scans, you must specify a volume by its label, which you
# can obtain in an EFI shell by typing "vol", from Linux by typing
# "blkid /dev/{devicename}", or by examining the disk's label in various
# OSes' file browsers.
# For legacy-mode scans, you can specify any subset of the boot loader
# description shown when you highlight the option in rEFInd.
# The default is "Recovery HD,LRS_ESP".
#不扫描那些驱动器?
#dont_scan_volumes

# Directories that should NOT be scanned for boot loaders. By default,
# rEFInd doesn't scan its own directory, the EFI/tools directory, the
# EFI/memtest directory, or the EFI/memtest86 directory. Using the
# dont_scan_dirs option enables you to "blacklist" other directories;
# but note that using this option removes the EFI/memtest and
# EFI/memtest86 directories, so if you don't want them scanned, be
# sure to include them in your new list. You might use this token to
# keep EFI/boot/bootx64.efi out of the menu if that's a duplicate of
# another boot loader or to exclude a directory that holds drivers
# or non-bootloader utilities provided by a hardware manufacturer. If
# a directory is listed both here and in also_scan_dirs, dont_scan_dirs
# takes precedence. Note that this blacklist applies to ALL the
# filesystems that rEFInd scans, not just the ESP, unless you precede
# the directory name by a filesystem name, as in "myvol:EFI/somedir"
# to exclude EFI/somedir from the scan on the myvol volume but not on
# other volumes.
#不要扫描那个目录 我加了些目录 不想扫描出来就添加进来了 好像换个电脑了就
#不起作用了
dont_scan_dirs efi/tool,efi/svc_dmi,SvcTool,efi/32bit,efi/64bit
#dont_scan_dirs ESP:/EFI/boot,EFI/Dell,EFI/memtest86

# Files that should NOT be included as EFI boot loaders (on the
# first line of the display). If you're using a boot loader that
# relies on support programs or drivers that are installed alongside
# the main binary or if you want to "blacklist" certain loaders by
# name rather than location, use this option. Note that this will
# NOT prevent certain binaries from showing up in the second-row
# set of tools. Most notably, various Secure Boot and recovery
# tools are present in this list, but may appear as second-row
# items.
# The file may be specified as a bare name (e.g., "notme.efi"), as
# a complete filename (e.g., "/EFI/somedir/notme.efi"), or as a
# complete filename with volume (e.g., "SOMEDISK:/EFI/somedir/notme.efi").
# The default is shim.efi,shim-fedora.efi,shimx64.efi,PreLoader.efi,
# TextMode.efi,ebounce.efi,GraphicsConsole.efi,MokManager.efi,HashTool.efi,
# HashTool-signed.efi,bootmgr.efi
#不扫描那个文件
#dont_scan_files shim.efi,MokManager.efi

# Scan for Linux kernels that lack a ".efi" filename extension. This is
# useful for better integration with Linux distributions that provide
# kernels with EFI stub loaders but that don't give those kernels filenames
# that end in ".efi", particularly if the kernels are stored on a
# filesystem that the EFI can read. When set to "1", "true", or "on", this
# option causes all files in scanned directories with names that begin with
# "vmlinuz" or "bzImage" to be included as loaders, even if they lack ".efi"
# extensions. Passing this option a "0", "false", or "off" value causes
# kernels without ".efi" extensions to NOT be scanned.
# Default is "true" -- to scan for kernels without ".efi" extensions.
#和linux有关的
#scan_all_linux_kernels false

# Set the maximum number of tags that can be displayed on the screen at
# any time. If more loaders are discovered than this value, rEFInd shows
# a subset in a scrolling list. If this value is set too high for the
# screen to handle, it's reduced to the value that the screen can manage.
# If this value is set to 0 (the default), it's adjusted to the number
# that the screen can handle.
#什么意思?
max_tags 0

# Set the default menu selection.  The available arguments match the
# keyboard accelerators available within rEFInd.  You may select the
# default loader using:
#  - A digit between 1 and 9, in which case the Nth loader in the menu
#    will be the default.
#  - A "+" symbol at the start of the string, which refers to the most
#    recently booted loader.
#  - Any substring that corresponds to a portion of the loader's title
#    (usually the OS's name or boot loader's path).
# You may also specify multiple selectors by separating them with commas
# and enclosing the list in quotes. (The "+" option is only meaningful in
# this context.)
# If you follow the selector(s) with two times, in 24-hour format, the
# default will apply only between those times. The times are in the
# motherboard's time standard, whether that's UTC or local time, so if
# you use UTC, you'll need to adjust this from local time manually.
# Times may span midnight as in "23:30 00:30", which applies to 11:30 PM
# to 12:30 AM. You may specify multiple default_selection lines, in which
# case the last one to match takes precedence. Thus, you can set a main
# option without a time followed by one or more that include times to
# set different defaults for different times of day.
# The default behavior is to boot the previously-booted OS.
# 不选的话 会自动进哪一个选项
#default_selection 2
#缺省为微软系统
default_selection Microsoft
#default_selection "+,bzImage,vmlinuz"
#default_selection Maintenance 23:30 2:00
#default_selection "Maintenance,OS X" 1:00 2:30

# Include a secondary configuration file within this one. This secondary
# file is loaded as if its options appeared at the point of the "include"
# token itself, so if you want to override a setting in the main file,
# the secondary file must be referenced AFTER the setting you want to
# override. Note that the secondary file may NOT load a tertiary file.
#读取自己的配置 你可以另外写配置文件文件名自己定
#include manual.conf

# Sample manual configuration stanzas. Each begins with the "menuentry"
# keyword followed by a name that's to appear in the menu (use quotes
# if you want the name to contain a space) and an open curly brace
# ("{"). Each entry ends with a close curly brace ("}"). Common
# keywords within each stanza include:
#名字
#  volume    - identifies the filesystem from which subsequent files
#              are loaded. You can specify the volume by label or by
#              a number followed by a colon (as in "0:" for the first
#              filesystem or "1:" for the second).
#引导文件
#  loader    - identifies the boot loader file
#读到内存文件
#  initrd    - Specifies an initial RAM disk file
#图标文件
#  icon      - specifies a custom boot loader icon
#系统类型
#  ostype    - OS type code to determine boot options available by
#              pressing Insert. Valid values are "MacOS", "Linux",
#              "Windows", and "XOM". Case-sensitive.
#显示模式
#  graphics  - set to "on" to enable graphics-mode boot (useful
#              mainly for MacOS) or "off" for text-mode boot.
#              Default is auto-detected from loader filename.
#参数
#  options   - sets options to be passed to the boot loader; use
#              quotes if more than one option should be passed or
#              if any options use characters that might be changed
#              by rEFInd parsing procedures (=, /, #, or tab).
#打开还是关闭
#  disabled  - use alone or set to "yes" to disable this entry.
#
# Note that you can use either DOS/Windows/EFI-style backslashes (\)
# or Unix-style forward slashes (/) as directory separators. Either
# way, all file references are on the ESP from which rEFInd was
# launched.
# Use of quotes around parameters causes them to be interpreted as
# one keyword, and for parsing of special characters (spaces, =, /,
# and #) to be disabled. This is useful mainly with the "options"
# keyword. Use of quotes around parameters that specify filenames is
# permissible, but you must then use backslashes instead of slashes,
# except when you must pass a forward slash to the loader, as when
# passing a root= option to a Linux kernel.

# Below are several sample boot stanzas. All are disabled by default.
# Find one similar to what you need, copy it, remove the "disabled" line,
# and adjust the entries to suit your needs.

# A sample entry for a Linux 3.3 kernel with its new EFI boot stub
# support on a filesystem called "KERNELS". This entry includes
# Linux-specific boot options and specification of an initial RAM disk.
# Note uses of Linux-style forward slashes, even in the initrd
# specification. Also note that a leading slash is optional in file
# specifications.
#这个还没试
#菜单名字
menuentry Linux {
#指定图标
        icon EFI/boot/icons/os_linux.png
        volume KERNELS
        loader bzImage-3.3.0-rc7
        initrd initrd-3.3.0.img
        #设置 这个真心不会
        options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
        #启用或关闭
        disabled
}

# A sample entry for loading Ubuntu using its standard name for
# its GRUB 2 boot loader. Note uses of Linux-style forward slashes
#这个还没试
menuentry Ubuntu {
        loader /EFI/ubuntu/grubx64.efi
        icon /EFI/boot/icons/os_linux.png
        #disabled
        enable
}


# A minimal ELILO entry, which probably offers nothing that
# auto-detection can't accomplish.
#这个是三星的系统测试工具 自己复制过来 写个菜单 就能直接用了
#测试成功
menuentry "samscan64" {
        icon \EFI\boot\icons\os_hwtest.png
        loader \EFI\boot\samscan64.EFI
        #disabled
        enable
}

# Like the ELILO entry, this one offers nothing that auto-detection
# can't do; but you might use it if you want to disable auto-detection
# but still boot Windows....
#这个使用方法是找个能efi启动的win8pe 按pe结构复制过来 但不要复制efi\boot\bootx64.efi
#和bootia32.efi 直接调用就可以了
#测试成功
menuentry "Windows 8pe" {
  icon \EFI\boot\icons\os_win8.png
        loader \EFI\Microsoft\Boot\bootmgfw.efi
        #本来是关闭的我打开了
        #disabled
        enable
}

# EFI shells are programs just like boot loaders, and can be
# launched in the same way. You can pass a shell the name of a
# script that it's to run on the "options" line. The script
# could initialize hardware and then launch an OS, or it could
# do something entirely different.
#这个是网上下的一个shell 好像是win7的 自己按目录调用成功
#测试成功
menuentry "Windows via shell script" {
        icon \EFI\boot\icons\os_win.png
        loader \EFI\tool\shell.efi
        #这个设置是shell自动运行菜单 不会写 也不懂 听说非常强大
        #options "fs0:\EFI\tools\launch_windows.nsh"
        enable
}
#这是win10的内存测试软件  直接调用不成功 但在win8pe下能用
#测试不成功
menuentry "memtest" {
        icon \EFI\boot\icons\os_win.png
        loader \EFI\microsoft\boot\memtest.efi
        #options "fs0:\EFI\tools\launch_windows.nsh"
        disabled
}
#测试能进 不知道成功了没 没efi电脑
menuentry "konbootdxex64" {
        icon \EFI\boot\icons\os_win.png
        loader \EFI\tool\KonBootDxeX64.efi
        #options "fs0:\EFI\tools\launch_windows.nsh"
        enable
}
#测试成功 这是下的memtest86内存测试软件
menuentry "MEMTESTX641" {
        icon \EFI\boot\icons\os_win.png
        loader \EFI\tool\MEMTESTX641.EFI
        #options "fs0:\EFI\tools\launch_windows.nsh"
        enable
}

# Mac OS is normally detected and run automatically; however,
# if you want to do something unusual, a manual boot stanza may
# be the way to do it. This one does nothing very unusual, but
# it may serve as a starting point. Note that you'll almost
# certainly need to change the "volume" line for this example
# to work.
#还没这东西
menuentry "My Mac OS X" {
        icon \EFI\boot\icons\os_mac.png
        volume "OS X boot"
        loader \System\Library\CoreServices\boot.efi
        disabled
}
----------------------------------------------------------------------------------------------

分割线以上是我的配置菜单
请直接把refind中的icons目录复制到u盘efi\boot下 或自己改图标目录和图标
请自己下载要启用的软件 并放在tool目录下 当然自己可以随便改目录地址的
win8pe或其它pe添加方法
找个能efi启动的win8pe 按pe结构复制过来 但不要复制efi\boot\bootx64.efi
和bootia32.efi 直接调用就可以了
请注意bootmgr.efi的位置 \EFI\Microsoft\Boot\bootmgfw.efi 最好这位置
memtest86软件就一个 文件 直接复制的tool下就可以用了
本来有图片的 我就懒的上传了

希望大家都进来研究讨论
想解决几个问题
1 怎么调用img或iso文件
2怎么改成中文
3怎么调用vhd文件
4还没想到

                                   祝福大家在无忧开开心心
                                   yhhxlp 2015 06 27


评分

参与人数 1无忧币 +5 收起 理由
蓝星明月 + 5 很给力!

查看全部评分

2#
 楼主| 发表于 2015-6-27 23:43:51 | 只看该作者

再上传个妹子吧  不看贴 看妹子也可以哦
回复

使用道具 举报

3#
发表于 2015-6-28 01:17:22 | 只看该作者
您很努力.但我卻想建議您...

不寫任何菜單的Refind是最好用的 (除特殊Utility用途外) ^^

Refind SF 首頁也寫上Features

Support for EFI 1.x and UEFI 2.x computers
Support for Mac and PC platforms
Graphical and text-mode boot selector
Auto-detection of available EFI boot loaders
Directly launch Linux 3.3.0 and later kernels with EFI stub loader support
Maintenance-free Linux kernel updates -- boot-time auto-detection means that no configuration file changes are needed after a kernel update
Set boot-time options from a list
Manually edit boot-time options
Launch EFI programs such as an EFI shell (available from third parties)
Launch OS X and Windows recovery tools
Reboot into the firmware setup utility (on some UEFIs)
Try before installation via a CD-R or USB flash drive image
Secure Boot support (requires separate shim or PreLoader program)
Includes EFI drivers for ext2/3fs, ext4fs, ReiserFS, Btrfs, HFS+, and ISO-9660



或許您的Multiboot OSes還不夠多....
所以感受不到Refind自動偵測能力的強大...

Refind真的很強的...而且也能與Clover互相切換來去(某些版本...)
超好用的...



供您參考了^^

点评

自動偵測能力的強大 但是我的efi文件太多了70多个 所以还是写菜单吧!其他功能再慢慢测试!  详情 回复 发表于 2015-6-28 10:05
回复

使用道具 举报

4#
 楼主| 发表于 2015-6-28 10:05:58 | 只看该作者
peterpanheaven 发表于 2015-6-28 01:17
您很努力.但我卻想建議您...

不寫任何菜單的Refind是最好用的 (除特殊Utility用途外) ^^

自動偵測能力的強大 但是我的efi文件太多了70多个  所以还是写菜单吧!其他功能再慢慢测试!
回复

使用道具 举报

5#
发表于 2015-6-28 11:27:23 | 只看该作者
那就支持您...繼續加油了^^
回复

使用道具 举报

6#
发表于 2015-6-28 14:29:38 来自手机 | 只看该作者
楼主70多个EFI?共享一下,让我们也学习一下吧!

点评

我也不知道干什么用的 给你也没用吧[attachimg]219801[/attachimg]还有很多 不会用  详情 回复 发表于 2015-6-28 14:44
回复

使用道具 举报

7#
 楼主| 发表于 2015-6-28 14:44:27 | 只看该作者
shan 发表于 2015-6-28 14:29
楼主70多个EFI?共享一下,让我们也学习一下吧!

我也不知道干什么用的 给你也没用吧 还有很多 不会用

点评

都需要摸索的过程,分享一下吧,兄弟。  详情 回复 发表于 2015-6-28 20:15
回复

使用道具 举报

8#
发表于 2015-6-28 20:15:56 | 只看该作者
yhhxlp 发表于 2015-6-28 14:44
我也不知道干什么用的 给你也没用吧还有很多 不会用

都需要摸索的过程,分享一下吧,兄弟。
回复

使用道具 举报

9#
发表于 2015-6-28 21:17:31 | 只看该作者
1.好像不行
2.没有中文
3.和PE一样用BOOTMGR加载,本论坛有加载当前目录BCD的BOOTMGR;可以直接放在VHD目录下,会自动加载
回复

使用道具 举报

10#
 楼主| 发表于 2015-6-29 09:48:47 | 只看该作者
从很多迹象表明 efi下是能运行dos文件
refind也应该可以编译中文字体的
#!/bin/bash
#
# Program to generate a PNG file suitable for use as a rEFInd font
# To obtain a list of available font names, type:
#
# convert -list font | less
#
# The font used MUST be a monospaced font; searching for the string
# "Mono" will turn up most suitable candidates.
#
# Usage:
# ./mkfont.sh font-name font-size font-Y-offset bitmap-filename.png
#
# This script is part of the rEFInd package. Version numbers refer to
# the rEFInd version with which the script was released.
#
# Version history:
#
#  0.6.6  -  Initial release

详情请看mkfont.sh
这东西我不会编译
回复

使用道具 举报

11#
发表于 2017-4-13 09:14:59 | 只看该作者
楼主给个 WIN10PE 32 和 64 的 EFI boot loader 文件

谢谢
回复

使用道具 举报

12#
发表于 2017-4-13 12:34:36 | 只看该作者
学习一下这个菜单!!!
回复

使用道具 举报

13#
发表于 2017-4-16 21:33:06 来自手机 | 只看该作者
.sh要用Linux或cygwin运行,VMware/VirtualBox也能模拟UEFI,但目前VMware/VirtualBox不能模拟Secure Boot
回复

使用道具 举报

14#
发表于 2020-10-10 13:08:55 | 只看该作者
谢谢!!! 支持!!!  谢谢!!! 支持!!!  谢谢!!! 支持!!!
回复

使用道具 举报

15#
发表于 2022-6-13 15:59:51 | 只看该作者
谢谢发现
回复

使用道具 举报

16#
发表于 2022-7-28 13:05:57 | 只看该作者
谢谢发现
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-11-26 04:38

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表