if /etc/fstab lacks an entry for "/".
0.9.1 (?/??/2015):
------------------
+- Improved Freedesktop.org Discoverable Partitions Specification support:
+ Previously, if no refind_linux.conf file was present but an /etc/fstab
+ file was found, rEFInd ignored the Discoverable Partitions Specification
+ filesystem-type codes. This was fine if /etc/fstab contained a valid "/"
+ filesystem specification, but if that was absent, the result was no
+ "root=" specification being present. Under these circumstances
+ (refind_linux.conf absent, /etc/fstab present but lacking a "/" entry),
+ rEFInd now tries to identify a device to specify as "root=" via the
+ Discoverable Partitions Specification.
+
- Fixed bug that caused "Found match!" and a prompt to press a key to
continue to be printed if any partition used the Freedesktop.org
Discoverable Partitions Specification root-partition GUID. (This
FreeTokenLine(&TokenList, &TokenCount);
} // while
- Options->Current8Ptr = (CHAR8 *)Options->Buffer;
- Options->End8Ptr = Options->Current8Ptr + Options->BufferSize;
- Options->Current16Ptr = (CHAR16 *)Options->Buffer;
- Options->End16Ptr = Options->Current16Ptr + (Options->BufferSize >> 1);
+ if (Options->Buffer) {
+ Options->Current8Ptr = (CHAR8 *)Options->Buffer;
+ Options->End8Ptr = Options->Current8Ptr + Options->BufferSize;
+ Options->Current16Ptr = (CHAR16 *)Options->Buffer;
+ Options->End16Ptr = Options->Current16Ptr + (Options->BufferSize >> 1);
+ } else {
+ MyFreePool(Options);
+ Options = NULL;
+ }
MyFreePool(Fstab->Buffer);
MyFreePool(Fstab);
if (AboutMenu.EntryCount == 0) {
AboutMenu.TitleImage = BuiltinIcon(BUILTIN_ICON_FUNC_ABOUT);
- AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.9.0.3");
+ AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.9.0.4");
AddMenuInfoLine(&AboutMenu, L"");
AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2006-2010 Christoph Pfisterer");
AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2012-2015 Roderick W. Smith");