0.8.8 (3/??/2015):
------------------
+- The mkrlconf.sh script now checks the OS on which it's running, which
+ should help avoid confusion or problems by users who mistakenly run it
+ under OS X.
+
+- rEFInd now skips checking for various BIOS-mode boot sector signatures
+ when running on a UEFI-based PC; these checks are run only on Macs. This
+ may reduce startup time on systems with many partitions.
+
- Fixed Debian debinstall script to work correctly on IA32 systems. It had
a bug that caused filesystem drivers and gptsync to not be packaged for
IA32.
# Revision history:
#
+# 0.8.8 -- Added check for OS type, to keep from running pointlessly on OS X
# 0.7.7 -- Fixed bug that caused stray PARTUUID= and line breaks in generated file
# 0.5.1 -- Initial release
#
RLConfFile="/boot/refind_linux.conf"
+if [[ `uname -s` != "Linux" ]] ; then
+ echo "This script is intended to be run from Linux. Aborting!"
+ echo ""
+ exit 1
+fi
+
if [[ ! -f $RLConfFile || $1 == "--force" ]] ; then
if [[ -f /etc/default/grub ]] ; then
# We want the default options used by the distribution, stored here....
} // if
} // search for FAT and NTFS magic
+ // If no other filesystem is identified and block size is right, assume
+ // it's ISO-9660....
+ if (Volume->BlockIO->Media->BlockSize == 2048) {
+ Volume->FSType = FS_TYPE_ISO9660;
+ return;
+ }
+
} // if ((Buffer != NULL) && (Volume != NULL))
} // UINT32 SetFilesystemData()
Volume->BlockIO, Volume->BlockIO->Media->MediaId,
Volume->BlockIOOffset, SAMPLE_SIZE, Buffer);
if (!EFI_ERROR(Status)) {
-
SetFilesystemData(Buffer, SAMPLE_SIZE, Volume);
+ }
+ if ((Status == EFI_SUCCESS) && (GlobalConfig.LegacyType == LEGACY_TYPE_MAC)) {
if ((*((UINT16 *)(Buffer + 510)) == 0xaa55 && Buffer[0] != 0) && (FindMem(Buffer, 512, "EXFAT", 5) == -1)) {
*Bootable = TRUE;
Volume->HasBootCode = TRUE;
Volume->OSIconName = L"grub,linux";
Volume->OSName = L"Linux";
-// // Below doesn't produce a bootable entry, so commented out for the moment....
-// // GRUB in BIOS boot partition:
-// } else if (FindMem(Buffer, 512, "Geom\0Read\0 Error", 16) >= 0) {
-// Volume->HasBootCode = TRUE;
-// Volume->OSIconName = L"grub,linux";
-// Volume->OSName = L"Linux";
-// Volume->VolName = L"BIOS Boot Partition";
-// *Bootable = TRUE;
-
} else if ((*((UINT32 *)(Buffer + 502)) == 0 &&
*((UINT32 *)(Buffer + 506)) == 50000 &&
*((UINT16 *)(Buffer + 510)) == 0xaa55) ||
if (AboutMenu.EntryCount == 0) {
AboutMenu.TitleImage = BuiltinIcon(BUILTIN_ICON_FUNC_ABOUT);
- AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.8.7");
+ AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.8.7.3");
AddMenuInfoLine(&AboutMenu, L"");
AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2006-2010 Christoph Pfisterer");
AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2012-2015 Roderick W. Smith");