Академический Документы
Профессиональный Документы
Культура Документы
6 (2/8/2016):
----------------- Removed special case of ignoring an HFS+ name of "HFS+ volume", since the
old rEFInd HFS+ driver that produced this name for all HFS+ volumes has
long since been updated to deliver a real name.
- Addition of new Windows 8 OS icon. On Macs and for BIOS/legacy boots, the
new icon is now used for Windows Vista, 7, and 8, while the old one is
used for earlier versions of Windows. For EFI-mode boots, the new icon is
used universally.
- If the NTFS driver is loaded, rEFInd now scans NTFS volumes on Macs for
the presence of Windows boot files, and removes any NTFS volume that
lacks such files from the BIOS/legacy boot list. This should help
unclutter the display on Macs that contain NTFS data partitions.
- Fixed bug that caused misidentification of both whole disks and NTFS
volumes as being FAT. (This bug affected the identification of devices
and locations in the rEFInd menu, not actual access to devices.)
- Code refactoring to clear out legacy-boot functions from the
ever-expanding refind/main.c file.
- Added new "badges" option to the "hideui" token in refind.conf. This
option hides the device-type badges associated with the OS boot options.
- Reverted rEFIt commit r472, introduced in rEFInd 0.8.5 to support more
BMP images because I've received bug reports that it's causing existing
selection images to fail to load.
- Fixed install.sh bug that caused misidentification of installation
directory under OS X if an already-mounted ESP has spaces in its path.
- Fixed Mac-specific install.sh bug that could cause misidentification of
the ESP on disks with partition numbers of 10 or above.
0.8.5 (2/1/2015):
----------------- Added NTFS EFI filesystem driver.
- Minor improvements to filesystem driver framework code.
- Changes to
- Fixed bug in Btrfs driver's address reference.
- Improved install.sh to make it smarter about figuring out where to
install on Macs. Specifically, this version now upgrades existing
installations, if found (as it always has under Linux), rather than
blindly install to EFI/BOOT; it installs to EFI/refind if not existing
installation is found; it installs using the --shortform option to bless,
which seems to eliminate the 30-second delay problem; and it can handle
an HFS+ ESP, which it treats as a separate HFS+ volume (as if the user
had used --ownhfs). These changes do not affect behavior under Linux.
- Added missing check of architecture type for several tools.
- Applied rEFIt commit r472, which adds support for BMP images with negative
height fields, indicating that the image is NOT vertically flipped. This
commit and r467 were not incorporated in the original rEFInd because I
forked it from a Debian rEFIt package that had been patched to build
under GNU-EFI, and was apparently based on a slightly earlier version.
- Applied rEFIt commit r467, which improves Mac handling of legacy boots
from other than the first hard disk.
0.8.4 (12/8/2014):
------------------ Tweaked default for dont_scan_volumes: Removed "Recovery HD". This change
better suits the needs of OS X 10.10 ("Yosemite") installations, but may
result in some stray Recovery HD entries on some Macs.
- Updated icons for Fedora and Ubuntu and added an icon for Xubuntu.
- Added new configuration option, "enable_and_lock_vmx", which sets an
Intel CPU feature that's required for some types of virtualization to
work. Most EFIs enable setting this feature in their own setup utilities,
but some (such as most Macs) don't.
- If rEFInd can't locate an icons directory (either the default or one
specified by the icons_dir token), the program switches to text-only
mode.
- If a loader contains the string "grub" and no other clue to the loader's
OS association exists, search for os_grub.{png|icns} (which is not
provided with rEFInd) or os_linux.{png|icns}. (Previous versions provided
a generic loader icon for GRUB.)
- Fixed bug that caused dont_scan_files to not work with special-case
boot loaders (for OS X and Windows) when specifying the complete path to
the loader (e.g., EFI/Microsoft/Boot/bootmgfw.efi).
- Added support for the iPXE network boot tool (see BUILDING.txt for
building and basic use instructions).
0.8.3 (7/6/2014):
----------------- Added new feature: Setting "timeout = -1" in refind.conf causes rEFInd to
immediately boot the default option UNLESS a keypress is in the buffer
when rEFInd launches. In that case, if the keypress corresponds to a
shortcut key, the associated boot loader is launched; or if not, the menu
is displayed.
- Added new icons for Clover boot loader and for Mythbuntu Linux
distribution.
- rEFInd now displays the partition's label, when one is available, when
offering a BIOS-mode boot option for a partition with no filesystem
driver. This works only on Macs doing BIOS-mode booting.
- Removed GPLv2 code from the FSW core files. This was done because the
Btrfs driver is derived from the GRUB Btrfs driver, which is licensed
under the GPLv3. Ironically, the GPLv2 and GPLv3 are incompatible
licenses, so ensuring that the Btrfs driver doesn't rely on GPLv2 code
- Added two new bitmap fonts to those distributed with rEFInd: Ubuntu Mono
and Nimbus Mono. Both come in 12-, 14-, 16-, and 24-point sizes.
- Messages about pauses for scanning and re-scanning of boot loaders are
now suppressed when doing an initial delayed scan when scan_delay is 1
second.
- Improved centering of legacy boot option descriptions on some systems'
screens.
- Fixed bug that could cause a BIOS-mode boot to boot from an inappropriate
device if that device had an innately high boot priority (as set by the
firmware).
- Changed icons from ICNS to PNG form. There are several reasons to do
this, all of them minor; but together they're enough to warrant a change.
PNG is more common, and therefore more accessible to most users -particularly those who don't use OS X. The PNG files are smaller than
their ICNS equivalents. PNG supports a wider range of sizes (although I'm
not now using anything that ICNS doesn't support, I might in the future).
The icon-scaling support added a few versions ago makes ICNS's support
for multiple icon sizes relatively unimportant.
- Reversed order of search for icons by extension: rEFInd now searches
for PNG files before ICNS files, rather than the other way around. This
makes it possible to override a volume icon for rEFInd by giving it the
name .VolumeIcon.png, even when a .VolumeIcon.icns file exists on the
volume and is used by OS X.
- Fixed bug that caused .VolumeIcon.icns to take higher-than-intended
precedence in icon setting for OS X.
- Chainloading to BIOS-mode boot loaders now works on UEFI-based PCs when
rEFInd is built with GNU-EFI, not just when built with Tianocore.
0.8.0 (5/4/2014):
----------------- The "dont_scan_volumes" parameter now also works with legacy-boot
volumes. Unlike with EFI volumes, where the option you pass must exactly
match an entire volume name, when applied to legacy-boot volumes, it
matches any part of the description that appears beneath the item when
you select it in the rEFInd main menu.
- Can now boot in legacy mode from second (and probably later) hard disks!
- rEFInd now limits the length of the firmware name string shown in the
system information screen to 65 characters. This is done because at least
one EFI presents a longer string by default, and this causes the entire
information display to come up empty on 800x600 displays.
- rEFInd now uses the partition's name (as stored in the GPT data
structures) as a fallback for the filesystem's name if the latter can't
be found. Exceptions are if the partition name is one of three generic
names used by GPT fdisk: "Microsoft basic data", "Linux filesystem", or
"Apple HFS/HFS+". These are ignored in favor of the descriptive fallback
(e.g., "20 GiB Btrfs volume")
- It's now possible to specify a volume by partition GUID number in a
manual boot stanza. This should be more reliable (albeit also more
awkward) than using a filesystem number (such as fs0: or fs1:).
- Fixed memory-allocation bug that could cause error message displays,
and possibly hangs, when re-scanning boot loaders.
0.7.9 (4/20/2014):
------------------ Attempt to fix rEFInd perpetually re-scanning after ejecting a disc on
some Macs.
- Added check to remove redundant (or non-functional if Secure Boot is
active) kernel entries for Ubuntu, which is now including two versions of
kernels, one signed and the other unsigned.
- Fixed bug in install.sh that could cause it to display error messages
if the dmraid utility was not installed.
- The HFS+ driver now reports a correct volume name.
- Fixed some EFI filesystem driver bugs that could cause lockups under
some circumstances. These bugs could affect any of the filesystem
drivers.
- Added "gdisk" option to the "showtools" configuration file token. When
active, this adds gdisk.efi or gdisk_{arch}.efi, if present in the
EFI\tools directory, to the tools row.
- Fixed mistaken identification of the MOK utility as the "MOK utility
utility."
0.7.8 (3/9/2014):
----------------- Added "debian" directory to source, which facilitates creation of Debian
packages. Packages built in this way are built with GNU-EFI and don't run
any post-installation script, so although the rEFInd binaries are on the
hard disk, they aren't installed to be bootable; you must manually run
install.sh. Also, at least on Ubuntu, the Make.common file's /usr/lib64
references must be changed to /usr/lib. This is more of a proof of
concept and a "leg up" for distribution maintainers than anything else.
- Two new options, big_icon_size and small_icon_size, set the size of
the first-row OS icons and of the second-row tool icons, respectively.
The big_icon_size option also indirectly sets the size of disk-type
badges; they're 1/4 the size of the big icons. Default values are 128 and
48, respectively, to match the actual icon files provided with rEFInd. If
the icon you're using is of a different size than you've specified,
rEFInd scales it. For best quality, you should both provide icons drawn
to the right size and set the icon sizes in refind.conf.
- rEFInd now automatically scales icons to fit the standard icon sizes.
This won't have any effect with the icons that come with rEFInd, but it
can help if you want to use another icon, since you needn't scale it in a
graphics program before using it. Note that rEFInd uses bitmap icons, so
scaling by a huge amount (say, a 16x16 icon to fit the standard 128x128
OS icon) is not likely to look good.
- Added new option, banner_scale, that tells rEFInd how to handle banners:
Set to "noscale" (the default), banners are not scaled, although they'll
be cropped if they're too big for the display. This is the same as the
behavior in previous versions. Set to "fillscreen", rEFInd now scales the
banner image (larger or smaller) to fill the display.
- Adjusted the post-installation script in refind.spec (used to generate
RPMs, and therefore also indirectly Debian packages) to search for
existing shim program files under the filesnames shim.efi and shimx64.efi
rather than just shim.efi. Ubuntu uses shimx64.efi, so Debian packages
were failing to detect Ubuntu's shim in previous versions. (Note,
however, that Ubuntu's early shim 0.1 is unsuitable for use with rEFInd
The newer 0.4 version that's in the repositories now should work fine;
it's only when installing on an older system that's NOT been updated that
problems might arise.
0.7.7 (1/3/2014):
----------------- Can now specify complete paths, optionally including volumes, in
dont_scan_files.
- Added shimx64.efi to the default dont_scan_files list.
- Added windows_recovery_files token, to specify what program(s) launch a
Windows recovery utility; and the "windows_recovery" option to
"showtools," to control whether or not to display the Windows recovery
utility on the second row of icons.
- The use_graphics_for, also_scan_dirs, dont_scan_dirs, dont_scan_files,
and scan_driver_dirs tokens in refind.conf now support "+" as the first
option, which causes the remaining options to be added to the default
value rather than replacing that value. (This has no practical effect for
scan_driver_dirs, though, since it has a null default value.)
- Added support for specifying the configuration file at program launch,
via the "-c" parameter, as in "refind_x64.efi -c foo.conf" to use the
foo.conf file as the main configuration file.
- Scans of ext2/3/4fs and ReiserFS partitions now omit partitions with
duplicate filesystem UUIDs. These are likely parts of RAID arrays and so
would have the same boot loaders or kernels as the first one with a given
UUID.
- Added feature in install.sh: Script now tries to locate and mount an ESP
in Linux, if it's currently unmounted.
- Fixed bug in mkrlconf.sh and install.sh that caused a stray line break
and PARTUUID= specification to appear in generated refind_linux.conf file
under some circumstances.
0.7.6 (12/15/2013):
------------------- Added support for multiple "default_selection" targets. These MUST be
comma-separated AND enclosed in quotes, as in:
default_selection "fred,ginger"
This example will launch "fred" by default if it's available; and if
it's not, rEFInd will attempt to launch "ginger" as the default.
0.7.0 (6/27/2013):
------------------ Added Btrfs signature to rEFInd, so that it can identify the filesystem
type for volumes that lack labels.
- Changed some critical filesystem driver pointers from 32-bit to 64-bit.
This *SHOULD* enable use of over-2TiB filesystems (for those filesystems
that support such large volumes). This capability is largely untested,
though.
- Added a cache to the filesystem driver core, and therefore to all the
filesystem drivers. This cache greatly improves performance in
VirtualBox, and offers modest performance improvements on a few "real"
computers. The most dramatic improvement is on ext2/3fs under VirtualBox:
Loading a kernel and initrd used to take ~200 seconds on my system, but
now takes ~3 seconds! On most "real" hardware, the improvement is much
less dramatic -- an improvement of a second or less, presumably because
of cacheing within the EFI or on the hard disk itself.
- Filter boot loaders based on a test of their validity; keeps out Linux
kernels without EFI stub loader code, loaders for the wrong architecture,
non-EFI loaders, etc.
- New Btrfs driver, contributed by Samuel Liao based on GRUB 2.00 Btrfs
code.
0.6.12 (6/18/2013):
------------------- Changed the 64-bit EFI shell included in the CD-R and USB flash drive
images to a version 2 shell that should support the "bcfg" command.
- Added support for PreBootloader to refind.spec's built-in installation
script.
- Added support for the Linux Foundation's PreLoader to install.sh. It's
treated just like shim, including using the --shim option (or, now,
--preloader); but it searches for and copies HashTool.efi rather than
MokManager.efi, and filenames are adjusted appropriately.
- Added code to determine Linux root filesystem from /etc/fstab file, if
it's on the same partition as the kernel and if the refind_linux.conf
file is not available. This enables rEFInd to boot Linux without any
rEFInd-specific configuration files on some (but not all) systems.
0.6.11 (5/13/2013):
------------------- New feature: rEFInd now ignores symbolic links to files on filesystems
that support them. This prevents the "vmlinuz" symbolic link that some
distributions create in the root directory from appearing in the loader
list. Note that this does NOT affect symbolic links to directories.
- Added icons for Lubuntu and Kubuntu.
- Improved the install.sh script so that it does a better job dealing with
directory names that contain spaces.
- rEFInd now tries to guess the Linux distribution type based on the kernel
filename (Fedora and RHEL only) or the "ID" or "NAME" variables in
/etc/os-release on the kernel's partition. None of these is guaranteed to
work. A fallback of the Tux penguin icon remains in place in case rEFInd
can't find anything substantive enough for a guess.
- Added "EFI\opensuse" to the locations searched for MOK utilities, since
OpenSUSE now uses that name.
- Renamed "Reboot to Firmware User Interface" to "Reboot to Computer Setup
Utility" in menu.
- Fixed bug in gptsync that caused it to hang if the disk had too few GPT
partitions to fill the MBR.
0.6.10 (5/5/2013):
------------------ Added support for "screensaver" token. If set to a positive integer, this
causes the screen to blank after the specified number of seconds of
inactivity. Pressing most keys (unfortunately NOT including Shift, Alt,
or Ctrl) will restore the display and restart the screen saver timeout.
- Added icon for ChromeOS (os_chrome.icns in the icons subdirectory).
ChromeBooks reportedly boots using the fallback filename, but if a user
wants to install rEFInd on a ChromeBook, renaming the original EFI/BOOT
directory to EFI/chrome and then installing rEFInd in the fallback
filename will bring up this new icon for ChromeOS.
- Added new option to reboot the computer into the firmware's user
interface. This option is active by default, or can be set via the
"firmware" option to the "showtools" token in refind.conf. It works
on only some computers, though; older computers lack this feature, and
when rEFInd is told to use this feature on such computers, the directive
is quietly ignored.
- Upgraded LodePNG library from version 20121216 to 20130415 and
restructured rEFInd-specific modifications to simplify future upgrades.
- Replaced hexadecimal error code with description if an error is
encountered when saving a screen shot.
- Enable multiple screen shots: Rather than naming all screen shots
"screenshot.bmp", the name is now "screenshot_###.bmp", where "###" is a
sequence number, starting with "001".
0.6.9 (4/25/2013):
------------------ Modified default banner to include the new rEFInd icon, provided by Erik
Kemperman.
- Worked around a suspected firmware bug that caused rEFInd 0.6.6 to 0.6.8
to hang at startup on some systems (DUET and some Macs).
- Modified rEFInd to search for gptsync under the names gptsync.efi and
gptsync_{arch}.efi, where {arch} is ia32 or x64. (Previous versions
searched only for gptsync.efi.)
- Added gptsync program from rEFIt project, but with some changes to
improve flexibility and make it less likely that UEFI users will
accidentally trash their systems.
- Changed timeout code so that the timeout continues if the keyboard is
disconnected. This can help in booting a headless server or a system with
a bluetooth or other keyboard that's not recognized by the EFI.
0.6.8 (3/18/2013):
------------------ Added workaround for presumed EFI bug that was causing "Invalid
Parameter" errors when scanning for boot loaders on some computers.
- Added search for an EFI shell called shell.efi in the root directory
(previously this name was only accepted in EFI\tools).
- Fixed bug in install.sh that caused it to fail on some systems (Fedora
18, for instance) because of a problem identifying the ESP.
- Fixed bug that caused icons named after boot loaders to not be used.
0.6.7 (2/3/2013):
----------------- Added a more explicit error message summarizing options when a launch of
a program results in a Secure Boot failure.
- Changed MOK tool detection to scan all volumes, not just the rEFInd
home volume. This is desirable because the Linux Foundation's HashTool
can only scan its own volume, making it desirable to place copies of this
program on every volume that holds EFI boot loader binaries.
- Added support for launching the Linux Foundation HashTool as a means of
managing MOKs (or MOK hashes, at any rate).
- Fixed bug that caused rEFInd to present an entry for itself as a
Microsoft OS if it was launched as EFI/Microsoft/Boot/bootmgfw.efi.
- Fixed bug that caused dont_scan_volumes option to be added to
also_scan_dirs list.
- Fixed dont_scan_volumes so that it works with OS X boot loaders.
- Fixed broken mixing of PNG and ICNS icons when using a user-specified
icons directory -- previously, an ICNS file in the default directory
would override a PNG file in the user-specified directory.
0.6.6 (1/26/2013):
------------------ rEFInd now ignores the fallback boot loader (EFI/BOOT/bootx64.efi or
EFI/BOOT/bootia32.efi) if it's identical to another boot loader on
the same volume. This is intended to help unclutter the display on
systems that run Windows, since Windows tends to duplicate its own boot
loader under the fallback name.
- Added new "font" token to refind.conf, which enables specifying a font in
the form of a PNG file. This file must contain monospace glyphs for the
95 characters from ASCII 32 to 126 (space through tilde), inclusive, plus
a glyph to be displayed for characters outside of this range, for a total
of 96 glyphs.
- Replaced the old font (inherited from rEFInd) with an anti-aliased
version of Luxi Mono Regular 14 point.
- Fixed bug that caused rEFInd to ignore manual boot stanzas in files
included via the "include" token in refind.conf.
- Fixed bug that caused ASSERT error on some systems (and conceivably a
crash on startup on some) when default_selection line in refind.conf was
commented out or empty.
- Fixed bug that caused "Binary is whitelisted" message to persist on
screen after loading MOK-signed drivers in Secure Boot mode.
- Fixed bug that caused rEFInd to ignore the "icon" token in refind.conf
manual boot stanzas.
- Fixed bug in install.sh that caused the script to fail to update
drivers when rEFInd was installed in EFI/BOOT/.
0.6.5 (1/16/2013):
------------------ Improved text color support: rEFInd now uses black text against light
backgrounds and white text against dark backgrounds.
- Added support for PNGs as banners, icons, and selectors.
- Added icon for ALT Linux.
- Added "safemode" option to "hideui" token, to hide option to boot into
safe mode for OS X ("-v -x" option to boot.efi).
- Added icon for Haiku (os_haiku.icns).
- Enable transparency of icons & main-menu text when the banner icon is
sized to cover these areas.
- Fixed bug that could cause rEFInd to crash if fed a banner image that's
too big. Note that "too big" can be substantially smaller than the screen
resolution!
0.6.4 (1/8/2013):
----------------- Revised install.sh to copy ext2fs driver, rather than ext4fs driver, for
ext2/3 filesystems. This can help keep non-functional entries from links
from /vmlinuz to /boot/vmlinuz out of the menu if the system uses ext4fs
on root and ext2fs or ext3fs on /boot.
- Fixed a couple of memory management bugs that cause rEFInd to hang at
startup on some systems.
0.6.3 (1/6/2013):
----------------- Added the ability to specify a volume name or number in the
"dont_scan_dirs" and "also_scan_dirs" tokens.
- Fixed a bug that caused removable EFI media to not appear in scan lists
if rEFInd was installed as EFI/BOOT/boot{arch}.efi on a hard disk.
- Modified ISO-9660 driver so that it can handle discs with other than
2048-byte sectors. This makes it useful for reading "hybrid ISO" images
burned to USB flash disks.
- New mvrefind.sh script to move a rEFInd installation between a standard
location (typically EFI/refind) and one of the fallback locations
(EFI/BOOT or EFI/Microsoft/Boot). It can also do more exotic locations.
- The install.sh script now installs to EFI/BOOT/bootx64.efi or
EFI/Microsoft/Boot/bootmgfw.efi if it's run in BIOS mode. This is
intended to give some chance of producing a bootable installation should
a user accidentally install Linux in EFI mode and then install rEFInd
from that installation.
- The install.sh script now tries to find an existing rEFInd installation
and upgrade it, even if it's in EFI/BOOT or EFI/Microsoft/Boot rather
than in EFI/refind.
- New "--yes" option to install.sh to help with unattended or automated
installations (as from an RPM or Debian package).
0.6.2 (12/30/2012):
------------------- Inclusion of a sample refind.spec file for the benefit of RPM
distribution maintainers who might want to include rEFInd. It's a bit
rough, but it gets you a good chunk of the way there....
- The EFI filesystem drivers can now be built with the GNU-EFI toolkit as
well as with the TianoCore EDK2. See the BUILDING.txt file for details on
how to build them with either toolkit. This improvement doesn't affect
users of my binary packages, but it should make it easier for Linux
distributions to adopt rEFInd into their package systems.
- Tweaked refind.inf file for better build results using "native" TianoCore
EDK2 build process (vs. the Makefile-based build process that I use under
Linux). This won't affect those who use my binary builds or build under
Linux with the "make" command.
- Fixed bug that prevented Secure Boot launches from working when rEFInd
was built with GNU-EFI rather than the TianoCore EDK2.
- Substantial reworking of Secure Boot code, based on James Bottomley's
PreLoader program. This new code eliminates the limitation of launching
just one driver in Secure Boot mode and is likely to be more reliable
with future or obscure boot loaders. It should also work with non-x86-64
systems, although this relies on a platform-specific shim program, which
to date exists only for x86-64. The basic features are the same as before
-- rEFInd relies on shim for authentication functions and will launch
programs that are signed by Secure Boot keys, shim keys, or MOKs.
- Altered default for "textmode" option (when it's commented out) to not
adjust the text mode at all. (Prior versions set it to mode 0 by
default.)
0.6.1 (12/21/2012):
-------------------
LVM.)
- Added --shim and --localkeys options to install.sh to help simplify setup
on systems with Secure Boot active.
- Fixed (maybe) bug that caused resolution options to not be displayed on
recent Macs with GOP graphics when specifying an invalid resolution in
refind.conf.
- Fixed bug that caused some programs (EFI shells, in particular) to hang
when launching on some systems (DUET, in particular).
- Implemented a fix to enable ELILO to launch with Secure Boot active.
This fix might help with some other boot loaders in Secure Boot mode,
too, but I don't know of any specifics.
0.5.0 (12/6/2012):
------------------ Added the ability to include quote marks ('"') in refind.conf and
refind_linux.conf tokens by doubling them up, as in:
"ro root=/dev/sda4 some_value=""this is it"""
This example results in the following string being passed as an
option:
ro root=/dev/sda4 some_value="this is it"
- Changed refind.conf-sample to uncomment the scan_all_linux_kernels
option by default. If this option is deleted or commented out, the
program default remains to not scan all Linux kernels; but with
increasing numbers of distributions shipping with kernels that include
EFI stub loader support, setting the configuration file default to scan
for them makes sense.
- Modified the "resolution" token so that it affects text mode as well
as graphics mode. On my systems, though, the actual text area is still
restricted to an 80x25 area. (This seems to be a firmware limitation; my
EFI shells are also so limited.)
- Fixed a bug that caused the options line editor to blank out lines that
were not actually edited.
- Added support for using Matthew Garrett's Shim program and its Machine
Owner Keys (MOKs) to extend Secure Boot capabilities. If rEFInd is
launched from Shim on a computer with Secure Boot active, rEFInd will
launch programs signed with either a standard UEFI Secure Boot key or a
MOK. For the moment, this feature works only on x86-64 systems.
- Added new "dont_scan_files" (aka "don't_scan_files") token for
refind.conf. The effect is similar to dont_scan_dirs, but it creates a
blacklist of filenames within directories rather than directory names.
I'm initially using it to place shim.efi and MokManager.efi in the
blacklist to keep these programs out of the OS list. (MokManager.efi is
scanned separately as a tool; see below.) I've moved checks for
ebounce.efi, GraphicsConsole.efi, and TextMode.efi to this list. (These
three had previously been blacklisted by hard-coding in ScanLoaderDir().)
- Added the directory from which rEFInd launched to dont_scan_dirs. This
works around a bug in which rEFInd would show itself as a bogus Windows
entry if it's installed as EFI/Microsoft/boot/bootmgfw.efi.
- Added support for launching MokManager.efi for managing the Machine Owner
Keys (MOKs) maintained by the shim boot loader developed by Fedora and
SUSE. This program is scanned and presented as a second-row tool.
- Added support for Apple's Recovery HD partition: If it's detected, a new
icon appears on the second row. This icon can be removed by explicitly
setting the "showtools" option in refind.conf and excluding the
"apple_recovery" option from that line.
- Fixed bug that caused text-mode ("textonly" refind.conf option enabled)
menu entries to be right-aligned rather than left-aligned when rEFInd was
compiled with the TianoCore EDK2.
- Added "--usedefault {devicename}" and "--drivers" options to the
install.sh script and changed the "esp" option to "--esp".
0.4.7 (11/6/2012):
------------------ Added an icon for gummiboot.
- Added a boot option editor: Pressing the Insert or F2 key from a boot
tag's options menu opens a simple text-mode line editor on which the boot
options may be edited for a one-time boot with altered options.
- Modified the "scan_delay" feature to delay and then perform a re-scan,
which may work better than the first attempt at this feature (which I'm
told isn't working as planned).
- Modified rEFInd to add a space after the command-line options only when
launching Mac OS X. On some early Macs, the extra space (which had been
present by default, as a carryover from rEFIt) causes problems when
booting Linux kernels from FAT partitions.
0.4.6 (10/6/2012):
------------------ Fixed some minor memory management issues.
- Added new "scan_delay" feature to impose a delay before scanning
for disks.
- Changed default "scanfor" option from internal-external-optical to either
internal-external-optical-manual (for non-Macs) or
internal-hdbios-external-biosexternal-optical-cd-manual (for Macs). I've
done this for two reasons:
- Many Mac users have been confused by the fact that rEFInd needs
reconfiguration to detect Windows (or Linux installed in BIOS mode),
since rEFIt scans BIOS devices by default. Adding the BIOS options as
default for them should help them.
- Adding the "manual" option enables users to simply add manual boot
stanzas and have them work, which is more intuitive. Adding the
"manual" option will have no effect unless manual stanzas are created
or uncommented, so this part of the change won't affect users' working
default configurations.
- Added new legacy (BIOS) boot support for UEFI-based PCs.
0.4.5 (8/12/2012):
------------------
0.3.1 (4/27/2012):
------------------ Fixed bug that caused spurious "Unsupported while scanning the root
directory" messages under some conitions on Macs.
- Modified loader scanning code to sort boot loader entries within a
directory by modification time, so that the most recently-modified loader
is first among those in a given directory. Thus, if you specify a
directory name (or volume name, for loaders stored in the root directory
of a volume) as the default_selection, the most recent of those loaders
will be the default. This is intended to help with Linux kernel
maintenance when using the EFI stub loader; set up this way, the most
recent kernel copied to your kernel directory will be the default,
obviating the need to adjust the refind.conf file when adding a new
kernel. If you want to change the default among those in the default
directory, you can use "touch" to adjust the modification timestamp.
- Tweaked code to find loader-specific .icns file so
for Linux kernels without .efi extensions. In this
named the same as the kernels they match, but with
instance, bzImage-3.3.2 should have an icon called
(The old code would have looked for an icon called
- Eliminated bogus OS loader tags for filenames that end in ".icns" when
the scan_all_linux_kernels option is set.
0.3.0 (4/22/2012):
------------------ I'm officially upgrading this project's status from "alpha" to "beta" and
giving it a bump from 0.2.x to 0.3.0. This doesn't reflect any major
milestone with this version; rather, it reflects my sense that rEFInd has
been "out there" for a while, and although I've gotten bug reports,
they've been minor and/or have been fixed. The program still has known
bugs, but my impression is that it is, overall, usable by ordinary users.
- Added "resolution" option to refind.conf, which enables setting the video
resolution. To use it, pass two numeric values, as in "resolution 1024
768" to use a 1024x768 video mode. Note that not all modes are supported.
If you specify a non-supported video mode on a UEFI system, a message
appears listing the supported video modes and you must then press a key
to continue, using the default video mode (usually 800x600).
Unfortunately, I don't know the calls to get a list of supported video
modes on older EFI 1.x systems (including Macs), so on Macs setting an
incorrect video mode silently fails (you keep using the default mode).
This makes changing your video mode a hit-or-miss proposition on Macs.
CAUTION: It's possible to set a legal video mode that your monitor can't
handle, in which case you'll get a blank display until you boot an OS
that resets the video mode.
- Fixed (maybe) a bug that caused rEFInd to crash when returning from an
EFI shell or other programs on Macs, particularly when rEFInd used
graphical mode. I'm not 100% sure this bug is squashed because I still
don't understand the cause and I only have one Mac for testing. See
comments in the ReinitRefitLib() function in refit/lib.c for more
details.
- Added new refind.conf option: scan_all_linux_kernels, which causes Linux
kernels that lack ".efi" extensions to be included in scans for EFI boot
loaders. This may help integration with Linux distributions that don't
give their kernels such names by default. Beware, though: It can detect
unwanted files, such as older non-stub-loader kernels or .icns files used
to give kernels with .efi extensions custom icons.
- Improved EFI boot loader detection on boards with Gigabyte's Hybrid EFI,
and perhaps other EFIs with a buggy StriCmp() function. Files with both
".efi" and ".EFI" extensions should now be detected as boot loaders.
- Fixed a bug that caused rEFInd to fail to scan for drivers if the
filesystem driver didn't set a volume name (that is, if the relevant
field was set to NULL rather than even an empty string). In such
situations, rEFInd now reports the volume name as "Unknown".
0.2.7 (4/19/2012):
------------------ After much trial and tribulation, I've overcome a GNU-EFI limitation and
enabled rEFInd to load EFI drivers. This feature was present in the
original build of rEFIt but was removed in the versions that could
compile under Linux, but now it's back -- and still being compiled under
Linux! To use it, you should place your drivers in a convenient directory
on the ESP (or whatever partition you use to launch rEFInd) and add a
"scan_driver_dirs" entry to refind.conf to tell rEFInd where to look. (As
always, you should specify the driver directory relative to the root of
the filesystem.) Note that you can't launch drivers from another
filesystem; they must be on the same volume that holds rEFInd. Those who
compile from source code should note that implementing this feature
necessitated using a more recent version of the GNU-EFI library. I'm
currently using version 3.0p, and version 3.0i does NOT work. I don't
know where the change occurred, but you may need to upgrade your GNU-EFI
installation.
- Fixed bug that caused rEFInd to show up in its own menu sometimes.
- Added new refind.conf token: also_scan_dirs. When scanning volumes for
EFI boot loaders, rEFInd always scans the root directory and every
subdirectory of the /EFI directory, but it doesn't recurse into these
directories. The also_scan_dirs token adds more directories to the scan
list. It defaults to "elilo,boot", but you can set it to any directory or
directories you like.
0.2.6 (4/14/2012):
------------------ Added "volume" keyword to configuration file's stanza options. This
option changes the volume from which subsequent files (specified by
"loader" and "icon") are loaded. You pass "volume" the name/label of the
FILESYSTEM you want to use (not the GPT partition name), or a number
followed by a colon (e.g., "1:"). The former should reliably identify a
filesystem, assuming the name is unique. The latter assigns numbers based
on the order in which they're scanned, which may not be as reliable but
should work when a volume is unnamed.
- Fixed bug in 0.2.5 that caused failure of Linux initial RAM disk
mapping on some (but not all) systems. Affected computers include at
least some Intel motherboards, maybe others.
0.2.5 (4/9/2012):
----------------- Fixed bug that caused an inability to associate initial RAM disks with
Linux kernels stored in a volume's root directory.
- Volume badges (that override default badges) are now stored in
.VolumeBadge.icns. Although undocumented, rEFInd formerly loaded custom
volume badges from .VolumeIcon.icns. This carryover from rEFIt was a
confusing name, given the next (new) feature, so I've changed and
documented the name....
- Added ability to set a default icon for a loader stored in the root
directory of a volume: The icon is stored in .VolumeIcon.icns. This icon
is also used for Mac OS X volumes booted from the standard location.
- Fixed bug that caused icons to drop back to generic icons when rEFInd
was launched in certain ways (such as from an EFI shell in rEFInd's
directory) on certain systems.
- Fixed bug that caused "unknown disable flag" to be shown (very briefly)
instead of "unknown hideui flag" when an improper hideui flag was set.
0.2.4 (4/5/2012):
----------------- Created new refind.conf entry: "showtools". This entry takes options of
"shell", "gptsync", "about", "exit", "reboot", and "shutdown". This
option is in some respects an affirmative version of portions of the old
"disable" and "hideui" options; however, it enables users to specify the
order in which these options appear on the screen. Also, the "exit"
option is new; it terminates the program. The effect is usually to return
to whatever tool launched it or to launch a default OS; however, this is
somewhat unpredictable. The default therefore omits the "exit" option, as
well as "gptsync", which has always been dangerous (but necessary on most
MacOS/Windows dual-boot setups on Macs). As part of this reconfiguration,
I've eliminated the "rescue Linux" option, which always seemed pointless
to me.
- Folded "disable" and "hideui" refind.conf entries into one ("disable"),
and reduced the number of options to six: "banner", "label",
"singleuser", "hwtest", "arrows", and "all". ("arrows" is new and
disables the scroll arrows when a system has too many tags to display
simultaneously.)
- Added max_tags option to the refind.conf file, enabling users to reduce
the maximum number of OS loader tags that can be displayed at once.
- Updated rEFIt icon, based on the 128x128 volume label from the rEFIt CD
image.
- Added x86 and x86-64 EFI shells to the CD image version of the binary,
but NOT to the binary zip file. The logic is that the CD image is more
likely to be used directly as an emergency disc and so may need this
feature, even though the source isn't part of the rEFInd project. (The
source is readily available from the TianoCore project.)
- EFI shells may now be stored at /shellx64.efi for x86-64 systems or at
/shellia32.efi for x86 systems. The /EFI/tools/shell.efi name is also
recognized; however, if both files are present, two EFI shell icons will
appear on the main menu. The /efi/{refind-path/apps/shell.efi filename,