From: srs5694 Date: Sun, 8 Nov 2015 22:26:15 +0000 (-0500) Subject: Version 0.10.0 release. X-Git-Url: https://code.delx.au/refind/commitdiff_plain/1dde20f5fa424bacf15aa215e7df2be69a2bdd36 Version 0.10.0 release. --- diff --git a/NEWS.txt b/NEWS.txt index 74a3133..1e9f6a4 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -1,5 +1,8 @@ -0.9.3 (??/??/2015): -------------------- +0.9.3 (11/8/2015): +------------------ + +- Fixed bug that caused refind-install to not unmount the ESP when it + should under OS X. - Modified refind-install and mkrlconf scripts to use /proc/cmdline as source for default boot options EXCEPT when refind-install receives the diff --git a/banners/refind_banner-alpha.png b/banners/refind_banner-alpha.png index 69f864a..ba6ce0d 100644 Binary files a/banners/refind_banner-alpha.png and b/banners/refind_banner-alpha.png differ diff --git a/banners/refind_banner.bmp b/banners/refind_banner.bmp deleted file mode 100644 index 096bad2..0000000 Binary files a/banners/refind_banner.bmp and /dev/null differ diff --git a/banners/refind_banner.png b/banners/refind_banner.png new file mode 100644 index 0000000..11b2438 Binary files /dev/null and b/banners/refind_banner.png differ diff --git a/banners/refind_banner.svg b/banners/refind_banner.svg new file mode 100644 index 0000000..d56fe78 --- /dev/null +++ b/banners/refind_banner.svg @@ -0,0 +1,264 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + Boot Management + + diff --git a/debian/changelog b/debian/changelog index aaf72bb..824545f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +refind (0.10.0-0ppa1) trusty; urgency=medium + + * Version bump + + -- Roderick Smith Sun, 08 Nov 2015 16:53:35 -0500 + refind (0.9.2-0ppa1) trusty; urgency=medium * Version bump diff --git a/debian/debinstall b/debian/debinstall index 6fc7d52..1036d30 100755 --- a/debian/debinstall +++ b/debian/debinstall @@ -43,9 +43,15 @@ install -Dp -m0755 refind-install $BUILD_ROOT/usr/share/refind/ # Copy documentation to /usr/share/doc/refind mkdir -p $BUILD_ROOT/usr/share/doc/refind -cp -a docs/* $BUILD_ROOT/usr/share/doc/refind/ +cp -a docs/Styles $BUILD_ROOT/usr/share/doc/refind/ +cp -a docs/refind $BUILD_ROOT/usr/share/doc/refind/ install -Dp -m0644 NEWS.txt COPYING.txt LICENSE.txt README.txt CREDITS.txt $BUILD_ROOT/usr/share/doc/refind +# Copy man pages to /usr/share/man/man8 +mkdir -p $BUILD_ROOT/usr/share/man/man8 +install -Dp -m0644 docs/man/mvrefind.8 $BUILD_ROOT/usr/share/man/man8 +install -Dp -m0644 docs/man/mkrlconf.8 $BUILD_ROOT/usr/share/man/man8 + # Copy keys to /etc/refind.d/keys mkdir -p $BUILD_ROOT/etc/refind.d/keys install -Dp -m0644 keys/* $BUILD_ROOT/etc/refind.d/keys diff --git a/docs/man/mkrlconf.8 b/docs/man/mkrlconf.8 new file mode 100644 index 0000000..6b6ee81 --- /dev/null +++ b/docs/man/mkrlconf.8 @@ -0,0 +1,51 @@ +.\" Copyright 2015 Roderick W. Smith (rodsmith@rodsbooks.com) +.\" May be distributed under the GNU General Public License version 3 or +any later version +.TH "MKRLCONF" "8" "0.10.0" "Roderick W. Smith" "rEFInd Manual" +.SH "NAME" +mkrlconf \- Create a Linux kernel configuration file for rEFInd +.SH "SYNOPSIS" +.BI "mkrlconf " +[ \-\-force ] + +.SH "DESCRIPTION" + +To boot a Linux kernel directly, rEFInd must normally pass system-specific +parameters to help the kernel locate its initial RAM disk (initrd) file, +the installation's root filesystem, and so on. rEFInd stores this +information in a file called \fIrefind_linux.conf\fR, which is stored in +the same directory as the kernel(s) to which it applies. The \fImkrlconf\fR +script creates this configuration file in \fI/boot\fR, using the current +boot options (from \fI/proc/cmdline\fR) to populate +\fI/boot/refind_linux.conf\fR with boot options that are probably (but not +certainly) correct. + +The file created in this way has three lines, which correspond to three +entries on the rEFInd suboptions menu. The first entry boots using the +options found in \fI/proc/cmdline\fR. The second entry boots using the same +options as the first, but with \fBsingle\fR added. The third entry boots +with minimal options of \fBro root={CURRENT_ROOT_DEVICE}\fR, where +\fB{CURRENT_ROOT_DEVICE}\fR identifies the current root (\fI/\fR) +filesystem. Users may manually edit the \fIrefind_linux.conf\fR file to +suit their needs, of course. + +.SH "OPTIONS" + +.TP +.B \-\-force +Ordinarily, if \fImkrlconf\fR finds an existing +\fI/boot/refind_linux.conf\fR file, it refuses to replace it. The +\fB\-\-force\fR option causes \fImkrlconf\fR to replace the existing file +in favor of one it generates. + +.SH "AUTHORS" +Primary author: Roderick W. Smith (rodsmith@rodsbooks.com) + +.SH "SEE ALSO" +\fBmvrefind (8)\fR + +\fIhttp://www.rodsbooks.com/refind/\fR + +.SH "AVAILABILITY" +The \fBmkrlconf\fR command is part of the \fIrEFInd\fR package and is +available from Roderick W. Smith. diff --git a/docs/man/mvrefind.8 b/docs/man/mvrefind.8 new file mode 100644 index 0000000..9210935 --- /dev/null +++ b/docs/man/mvrefind.8 @@ -0,0 +1,98 @@ +.\" Copyright 2015 Roderick W. Smith (rodsmith@rodsbooks.com) +.\" May be distributed under the GNU General Public License version 3 or +any later version +.TH "MVREFIND" "8" "0.10.0" "Roderick W. Smith" "rEFInd Manual" +.SH "NAME" +mvrefind \- Move a rEFInd installation from one location to another +.SH "SYNOPSIS" +.BI "mvrefind \fISOURCE DEST\fR" + +.SH "DESCRIPTION" + +Move a rEFInd installation from \fISOURCE\fR to \fIDEST\fR, where both +\fISOURCE\fR and \fIDEST\fR are directories on the EFI System Partition +(ESP), with \fISOURCE\fR containing a working rEFInd installation. This +operation entails taking several actions: + +.TP +.B * +Renaming the \fISOURCE\fR directory to \fIDEST\fR. + +.TP +.B * +Renaming the rEFInd binary to a suitable value given the new destination. +For instance, if \fIDEST\fR is EFI/BOOT on the EFI System Partition (ESP), +the rEFInd binary should be \fIbootx64.efi\fR (or something similar but +with a different architecture code). + +.TP +.B * +Altering the computer's NVRAM entries to point to rEFInd at its new +location. + +.TP +.B * +If Shim is detected, renaming operations and NVRAM entry pointers are +adjusted appropriately. + +.TP +.B * +If the \fIDEST\fR exists, its contents are preserved. + +.PP + +Broadly speaking, \fImvrefind\fR understands three types of locations for +both \fISOURCE\fR and \fIDEST\fR, relative to the root of the ESP: + +.TP +.B * +\fBEFI/BOOT\fR -- The \fIbootx64.efi\fR (or similar for other +architectures) filename in this location is the "fallback filename," which +is used by removable boot media and as a boot loader of last resort on hard +disks. Some EFIs can't remember their normal boot entries, and on them, +rEFInd must be installed here (or as the Windows boot loader). When this +directory is the \fIDEST\fR and it already exists, the existing +\fIEFI/BOOT\fR is backed up to \fIEFI/BOOT\-rEFIndBackup\fR; and if the +\fISOURCE\fR is \fIEFI/BOOT\fR and \fIEFI/BOOT\-rEFIndBackup\fR exists, it +is renamed to \fIEFI/BOOT\fR after rEFInd is moved to its destination. + +.TP +.B * +\fBEFI/Microsoft/boot\fR -- The \fIbootmgfw.efi\fR file in this location +normally holds the Windows boot loader. Machines with broken EFIs may +refuse to accept or remember proper boot entries and will instead boot this +entry in preference to all others. In such cases, using rEFInd requires +moving the Microsoft boot loader elsewhere and replacing it with rEFInd. +When this directory is the \fIDEST\fR, \fImvrefind\fR moves the original +\fIbootmgfw.efi\fR file down one level (to \fIEFI/Microsoft\fR) and stores +\fIrefind_x64.efi\fR (or Shim) in that location. When moving from +\fIEFI/Microsoft/boot\fR, this process is reversed. + +.TP +.B * +\fBAnything else\fR -- Any other \fISOURCE\fR or \fIDEST\fR location is +treated as a regular rEFInd installation, with a proper NVRAM entry created +by \fIefibootmgr\fR. + +.PP + +\fImvrefind\fR attempts to identify the ESP and refuses to move between the +ESP and any other partition. When it does move files, it moves the main +rEFInd binary, the \fIrefind.conf\fR file, any identified Shim binary, and +the \fIicons\fR, \fIicons\-backup\fR, \fIdrivers_*\fR, and \fIkeys\fR +subdirectories. If other rEFInd files or directories are present in +\fISOURCE\fR (such as a custom theme/icons directory), they will not be +moved. If \fISOURCE\fR is empty after the specified files and +subdirectories are moved, \fISOURCE\fR will be deleted. + +.SH "AUTHORS" +Primary author: Roderick W. Smith (rodsmith@rodsbooks.com) + +.SH "SEE ALSO" +\fBmkrlconf (8)\fR + +\fIhttp://www.rodsbooks.com/refind/\fR + +.SH "AVAILABILITY" +The \fBmvrefind\fR command is part of the \fIrEFInd\fR package and is +available from Roderick W. Smith. diff --git a/docs/refind/about.png b/docs/refind/about.png index e28fc11..378c59f 100644 Binary files a/docs/refind/about.png and b/docs/refind/about.png differ diff --git a/docs/refind/bootmode.html b/docs/refind/bootmode.html index dd29465..47b3b9b 100644 --- a/docs/refind/bootmode.html +++ b/docs/refind/bootmode.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 3/14/2012; last Web page update: -9/19/2015, referencing rEFInd 0.9.2

+11/8/2015, referencing rEFInd 0.10.0

This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

diff --git a/docs/refind/configfile.html b/docs/refind/configfile.html index c62fcd5..36fc59d 100644 --- a/docs/refind/configfile.html +++ b/docs/refind/configfile.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 3/14/2012; last Web page update: -11/1/2015, referencing rEFInd 0.9.3

+11/8/2015, referencing rEFInd 0.10.0

This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

@@ -132,7 +132,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

-

Many casual users will be able to use rEFInd without making changes to its settings; in its default configuration, the boot manager automatically detects all the EFI boot loader programs you have on your EFI System Partition (ESP) (or your OS X boot partition, in the case of Macs) and displays icons for them. On Macs, rEFInd also presents legacy BIOS boot options by default. Sometimes, though, you may want to tweak rEFInd's configuration. Sometimes you can obtain your desired results by adjusting the filenames of your boot loaders. Other times, you can edit rEFInd's configuration file, refind.conf, which resides in the same directory as its binary file (refind_x64.efi or whatever you've renamed it).

+

Many casual users will be able to use rEFInd without making changes to its settings; in its default configuration, the boot manager automatically detects all the EFI boot loader programs you have on your EFI System Partition (ESP) (or your OS X boot partition, in the case of Macs) in conventional locations and displays icons for them. On Macs, rEFInd also presents legacy BIOS boot options by default. Sometimes, though, you may want to tweak rEFInd's configuration. Sometimes you can obtain your desired results by adjusting the filenames of your boot loaders. Other times, you can edit rEFInd's configuration file, refind.conf, which resides in the same directory as its binary file (refind_x64.efi or whatever you've renamed it).

@@ -396,9 +396,9 @@ timeout 20 On some Macs, this option causes rEFInd to tell the firmware that the specified version of OS X is being launched, even when another OS is selected. The effect is that the firmware may initialize hardware differently, which may have beneficial (or detrimental) results. If your Mac's video output isn't working normally, this option may help. On the other hand, keyboards and mice are known to sometimes stop functioning if this option is used, so you shouldn't use it unnecessarily. This option has no effect on non-Apple hardware. The default is to not use this feature. - csr_rotate + csr_values List of hexadecimal values - Specifies values that may be set via the csr_rotate tool for Apple's System Integrity Protection (SIP). SIP stores values in NVRAM to set restrictions on what users (even root) may do in recent versions of OS X. If you want to be able to control these restrictions in rEFInd, you must set the values you want to use here and set csr_rotate on the showtools line (which must also be uncommented). Note that values are specified in hexadecimal, with no leading 0x or other hexadecimal indicator. SIP is described in more detail on many Web sites, such as here and here. + Specifies values that may be set via the csr_rotate tool for Apple's System Integrity Protection (SIP). SIP stores values in NVRAM to set restrictions on what users (even root) may do in OS X 10.11. If you want to be able to control these restrictions in rEFInd, you must set the values you want to use here and set csr_rotate on the showtools line (which must also be uncommented). Note that values are specified in hexadecimal, with no leading 0x or other hexadecimal indicator. SIP is described in more detail on many Web sites, such as here and here. include @@ -407,8 +407,6 @@ timeout 20 -

Prior to version 0.2.4, rEFInd supported a token called disable, whose function partially overlapped with hideui. Version 0.2.4 merges many of the features of these two tokens into hideui and creates the new showtools option, which provides the remaining functionality in a more flexible way.

-

As an example of rEFInd configuration, consider the following refind.conf file:

@@ -505,7 +503,7 @@ default_selection elilo
 

As an example, consider the following entries:

-menuentry "Ubuntu Linux" {
+menuentry "Ubuntu" {
     loader /EFI/ubuntu/grubx64.efi
     disabled
 }
@@ -525,7 +523,7 @@ menuentry "Windows via shell script" {
 }
 
-

This example sets up three entries: one for Ubuntu Linux, one for Arch Linux, and one to launch a shell script. Note that the final entry uses different directory separators from the first two, simply to demonstrate the fact that it's possible. (The form of directory separators in options lines is important, though, because the program being launched may expect a particular directory separator character.) The Ubuntu entry sets no icon, since rEFInd will note that the boot loader is stored in the ubuntu directory, and it will automatically find the appropriate Ubuntu icon (os_ubuntu.png). This option is, however, disabled, so no matching icon will appear when you reboot unless you first comment out or delete the disabled line.

+

This example sets up three entries: one for Ubuntu, one for Arch Linux, and one to launch a shell script. Note that the final entry uses different directory separators from the first two, simply to demonstrate the fact that it's possible. (The form of directory separators in options lines is important, though, because the program being launched may expect a particular directory separator character.) The Ubuntu entry sets no icon, since rEFInd will note that the boot loader is stored in the ubuntu directory, and it will automatically find the appropriate Ubuntu icon (os_ubuntu.png). This entire entry is, however, disabled, so no matching icon will appear when you reboot unless you first comment out or delete the disabled line.

@@ -641,7 +639,7 @@ menuentry Arch {

Adjusting the Default Boot Option

-

Just before launching an OS, rEFInd stores the description in the EFI variable PreviousBoot with a GUID of 36d08fa7-cf0b-42f5-8f14-68df73ed3740. The next time it launches, it reads that same variable and sets the default boot loader to that value, if it's still available and if the first item in default_selection in the refind.conf file is a plus sign (+).

+

Just before launching an OS, rEFInd stores the description in the EFI variable PreviousBoot with a GUID of 36d08fa7-cf0b-42f5-8f14-68df73ed3740. The next time rEFInd launches, it reads that same variable and sets the default boot loader to that value, if it's still available and if the first item in default_selection in the refind.conf file is a plus sign (+).

Under Linux, the variable that rEFInd uses to store this information is accessible as /sys/firmware/efi/efivars/PreviousBoot-36d08fa7-cf0b-42f5-8f14-68df73ed3740. Thus, you can back up this value, modify it, and write it back out to adjust your next-booted OS. Getting this string just right can be a bit tricky, though, and if the kernel doesn't like its format, it will not let you modify the variable. If you try to modify the variable, be aware that it's stored in UTF-16 format. As with the default_selection token in refind.conf, you can enter any substring that uniquely identifies the entry you want to boot.

diff --git a/docs/refind/drivers.html b/docs/refind/drivers.html index a497a71..22d6705 100644 --- a/docs/refind/drivers.html +++ b/docs/refind/drivers.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 4/19/2012; last Web page update: -9/19/2015, referencing rEFInd 0.9.2

+11/8/2015, referencing rEFInd 0.10.0

This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

@@ -238,7 +238,12 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

refind_linux.conf file. Without the first of these options, rEFInd could not locate my kernel; and without the second, the boot failed with a message to the effect that the initial RAM disk could not - find /sbin/init. + find /sbin/init. rEFInd 0.10.0 adds @/boot as a + standard option to also_scan_dirs, and its + refind-install and mkrlconf scripts should pick up + the root flags, assuming the system is booted into the regular + installation. These additions make it easier to set up rEFInd to work + with Btrfs.
  • ISO-9660—This driver originated with rEFIt's author, but he never released a final version. Its code was improved by Oracle for @@ -249,16 +254,21 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    one can be helpful; however, you may need to install it on your hard disk before you can read an optical disc.
  • -
  • HFS+—Oracle seems to have written this driver, apparently - with some code taken from open source Apple examples. It was then - further modified by the Clover authors. I expect this driver to have - limited appeal to most rEFInd users. Macs don't need it, since Apple's EFI - implementation provides its own HFS+ driver, and HFS+ isn't normally - used on UEFI-based PCs. Some CDs are mastered with both ISO-9660 and - HFS+, or even with HFS+ alone, and it's conceivable that an HFS+ driver - would be useful when accessing such discs. I'm providing the driver - mainly because it compiled cleanly with no extra work, aside from - providing a Makefile entry for it.
  • +
  • HFS+—Oracle wrote this driver, apparently with some code + taken from open source Apple examples. It was then further modified by + the Clover authors. I expect this driver to have limited appeal to most + rEFInd users. Macs don't need it, since Apple's EFI implementation + provides its own HFS+ driver, and HFS+ isn't normally used on + UEFI-based PCs. Some CDs are mastered with both ISO-9660 and HFS+, or + even with HFS+ alone, and it's conceivable that an HFS+ driver would be + useful when accessing such discs. Also, one unusual feature of this + driver is that it can read files from within an Apple LVM setup, which + Apple's own EFI HFS+ driver can't do. The upshot of this feature is + that if you load this driver on a Mac that uses Apple's LVM, rEFInd is + likely to show two OS X boot options. Ordinarily this is pointless, but + it could be helpful if your Recovery HD volume becomes damaged. I'm + providing the driver mainly because it compiled cleanly with no extra + work, aside from providing a Makefile entry for it.
  • @@ -292,7 +302,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    When you reboot after installing drivers, rEFInd should automatically detect and use the drivers you install. There's likely to be an extra delay, typically from one to five seconds, as rEFInd loads the drivers and tells the EFI to detect the filesystems they handle. For this reason, and because of the possibility of drivers harboring bugs, I recommend installing only those drivers that you need. If you like, you can install drivers you don't plan on using to some other directory, such as /drivers on the ESP's root. You can then load these drivers manually with the EFI shell's load command if the need arises in the future. You can then tell the shell to re-assign drive identifiers with map -r:

    -fs0: load reiserfs_x64.efi
    +fs0: load btrfs_x64.efi
     fs0: map -r
     
    diff --git a/docs/refind/features.html b/docs/refind/features.html index d1ca426..4f98a37 100644 --- a/docs/refind/features.html +++ b/docs/refind/features.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -9/19/2015, referencing rEFInd 0.9.2

    +11/8/2015, referencing rEFInd 0.10.0

    This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

    @@ -244,6 +244,10 @@ such as those with Gigabyte's Hybrid EFI, lack a usable CSM.
  • The ability to set the VMX bit on certain Intel CPUs. This feature is necessary for certain virtualization tools, such as Hyper-V, and not all EFIs enable users to set it.
  • +
  • Beginning with version 0.10.0, the ability to spoof the booting of OS X when booting non-Apple OSes. This changes the way a Mac's EFI initializes hardware, which can get secondary video chipsets working on some Macs. This feature is controlled via the spoof_osx_version token in refind.conf.
  • + +
  • Beginning with version 0.10.0, the ability to adjust Apple System Integrity Protection (SIP; aka "rootless" or "CSR") settings. These settings control what features are off-limits even to root in OS X 10.11 (El Capitan) and later. To use this feature, you must set specific CSR values on refind.conf's csr_values line and add csr_rotate to the showtools line.
  • +

    On the flip side, at least for Mac users, rEFInd comes with less sophisticated Mac installation tools than does rEFIt, in favor of more OS-agnostic packaging.

    diff --git a/docs/refind/getting.html b/docs/refind/getting.html index c359222..6a9776a 100644 --- a/docs/refind/getting.html +++ b/docs/refind/getting.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -9/19/2015, referencing rEFInd 0.9.2

    +11/8/2015, referencing rEFInd 0.10.0

    This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

    @@ -138,7 +138,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    diff --git a/docs/refind/index.html b/docs/refind/index.html index d21f29a..f8fa136 100644 --- a/docs/refind/index.html +++ b/docs/refind/index.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -11/1/2015, referencing rEFInd 0.9.3

    +11/8/2015, referencing rEFInd 0.10.0

    This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

    @@ -144,6 +144,8 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Subsequent sections of this document are on separate pages. Be aware that you probably don't need to read them all; just skip to the sections that interest you:

    +

    Note: I consider rEFInd to be beta-quality software! That said, rEFInd is a usable program in its current form on many systems. If you have problems, feel free to drop me a line.

    + -

    Note: I consider rEFInd to be beta-quality software! That said, rEFInd is a usable program in its current form on many systems. If you have problems, feel free to drop me a line.

    -

    References and Additional Information

    diff --git a/docs/refind/installing.html b/docs/refind/installing.html index 64821ac..adaf573 100644 --- a/docs/refind/installing.html +++ b/docs/refind/installing.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -9/19/2015, referencing rEFInd 0.9.2

    +11/8/2015, referencing rEFInd 0.10.0

    This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

    @@ -226,11 +226,11 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    I provide RPM and Debian package files for rEFInd; and starting with version 0.8.1, I'm maintaining an Ubuntu PPA for rEFInd. If you have a working RPM-based or Debian-based Linux installation that boots in EFI mode, using one of these files is likely to be the easiest way to install rEFInd: You need only download the file and issue an appropriate installation command. In some cases, double-clicking the package in your file manager will install it. If that doesn't work, a command like the following will install the RPM on an RPM-based system:

    -
    # rpm -Uvh refind-0.9.2-1.x86_64.rpm
    +
    # rpm -Uvh refind-0.10.0-1.x86_64.rpm

    On a Debian-based system, the equivalent command is:

    -
    # dpkg -i refind_0.9.2-1_amd64.deb
    +
    # dpkg -i refind_0.10.0-1_amd64.deb

    Either command produces output similar to that described for using the refind-install script, so you can check it for error messages and other signs of trouble. The package file installs rEFInd and registers it with the EFI to be the default boot loader. The script that runs as part of the installation process tries to determine if you're using Secure Boot, and if so it will try to configure rEFInd to launch using shim; however, this won't work correctly on all systems. Ubuntu 12.10 users who are booting with Secure Boot active should be wary, since the resulting installation will probably try to use Ubuntu's version of shim, which won't work correctly with rEFInd. The shim program provided with more recent versions of Ubuntu should work correctly.

    @@ -250,7 +250,7 @@ $ sudo apt-get install refind

    Installing rEFInd Using refind-install under Linux or Mac OS X

    - +

    If you're using Linux or Mac OS X, the easiest way to install rEFInd is to use the refind-install script. This script automatically copies rEFInd's files to your ESP or other target location and makes changes to your firmware's NVRAM settings so that rEFInd will start the next time you boot. If you've booted to OS X or in non-Secure-Boot EFI mode to Linux on a UEFI-based PC, refind-install will probably do the right thing, so you can get by with the quick instructions. If your setup is unusual, if your computer uses Secure Boot, or if you want to create a USB flash drive with rEFInd on it, you should read the extra instructions for this utility.

    @@ -258,7 +258,7 @@ $ sudo apt-get install refind

    Quick refind-install Instructions

    - +

    By default, the refind-install script installs rEFInd to your disk's ESP. Under Mac OS X, you can instead install rEFInd to your current OS X boot partition by passing the script the --notesp option, or to a non-boot HFS+ partition by using the --ownhfs devicefile option. Under either OS, you can install to something other than the currently-running OS by using the --root /mountpoint option. (See Table 1 for details.)

    @@ -490,7 +490,7 @@ Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 191284 16604 174681 9% /boot/efi - +

    This example shows that /dev/sda1 is mounted at /boot/efi, which is a typical configuration. (The ESP can be on another disk or partition, but /dev/sda1 is the most common place for an ESP.) If your output shows /boot or / under the Mounted on column, then your ESP isn't mounted. (An exception is if you're mounting the ESP at /boot. This is an unusual configuration. If you're using it, you can proceed, making suitable adjustments to subsequent commands.) If you get a df: `/boot/efi': No such file or directory error message, then the /boot/efi directory doesn't even exist. In such cases, you may need to jump through some extra hoops, as described on my EFI Boot Loader Installation page.

    @@ -526,7 +526,7 @@ Filesystem 1K-blocks Used Available Use% Mounted on

    Installing rEFInd Manually Using Mac OS X

    - +

    Before installing rEFInd on a Mac, you must determine whether it uses a 32-bit or 64-bit EFI implementation. Most Intel-based Macs have 64-bit EFIs, so you should use the refind_x64.efi file with them; but very early Intel-based Macs have 32-bit EFIs (and sometimes 32-bit CPUs), which require the refind_ia32.efi file. You can determine whether your Mac needs the x86-64 or IA32 build by typing the following command in a Mac Terminal window:

    @@ -547,16 +547,19 @@ $ ioreg -l -p IODeviceTree | grep firmware-abi
  • Open a Terminal window in which you'll type the following commands.
  • -
  • If you want to install rEFInd on your ESP, you must first mount it. You - can do this by typing mkdir /Volumes/esp followed by - sudo mount -t msdos /dev/disk0s1 /Volumes/esp. Note - that you may need to change /dev/disk0s1 to something else if - your ESP is at an unusual location. Type diskutil - list or use a tool such as my GPT fdisk (gdisk) - to examine your partition table to find your ESP if necessary.
  • - -
  • Type sudo mkdir -p /Volumes/esp/efi/refind to create a +
  • If you want to install rEFInd on your ESP, you must first mount it. The + easy way to do this is to use the mountesp script that comes + with rEFInd. When you run it, the script should tell you where the ESP + was mounted. You can do the job manually by typing mkdir + /Volumes/ESP followed by sudo mount -t msdos + /dev/disk0s1 /Volumes/ESP. Note that you may need to change + /dev/disk0s1 to something else if your ESP is at an unusual + location. Type diskutil list or use a tool + such as my GPT fdisk + (gdisk) to examine your partition table to find your ESP + if necessary.
  • + +
  • Type sudo mkdir -p /Volumes/ESP/efi/refind to create a suitable directory for rEFInd. If you want to place rEFInd on the OS X root partition, you should adjust the pathname appropriately, as in /efi/refind. Alternatively, you can use the Finder to create @@ -565,18 +568,18 @@ $ ioreg -l -p IODeviceTree | grep firmware-abi
  • Copy the files in the refind subdirectory of the rEFInd binary package to the like-named directory you've just created. You can do this in the Finder or by typing sudo cp -r refind/* - /Volumes/esp/efi/refind/ in your Terminal window after + /Volumes/ESP/efi/refind/ in your Terminal window after changing into the rEFInd package's main directory.
  • Remove the file for the version of rEFInd you're not using, as in sudo rm Volumes/esp/efi/refind/refind_ia32.efi on a Mac with a 64-bit EFI or sudo rm - /Volumes/esp/efi/refind/refind_x64.efi on a Mac with a 32-bit + /Volumes/ESP/efi/refind/refind_x64.efi on a Mac with a 32-bit EFI.
  • Optionally, remove the drivers directory for the architecture you're - not using—/Volumes/esp/efi/refind/drivers_ia32 or - /Volumes/esp/efi/refind/drivers_x64, as appropriate. You may + not using—/Volumes/ESP/efi/refind/drivers_ia32 or + /Volumes/ESP/efi/refind/drivers_x64, as appropriate. You may also want to remove some or all of the drivers for the architecture you are using; if you don't need them, they'll slow down the start process. See the page on drivers for more on this @@ -584,8 +587,8 @@ $ ioreg -l -p IODeviceTree | grep firmware-abi HFS+ driver provided with rEFInd is useless on Macs.
  • If this is your first installation, type sudo mv - /Volumes/esp/efi/refind/refind.conf-sample - /Volumes/esp/efi/refind/refind.conf (adjusting the path as + /Volumes/ESP/efi/refind/refind.conf-sample + /Volumes/ESP/efi/refind/refind.conf (adjusting the path as necessary) to rename the sample configuration file so that it will serve as a real configuration file. (Again, you can do this with the Finder, if you prefer.)
  • @@ -593,8 +596,8 @@ $ ioreg -l -p IODeviceTree | grep firmware-abi
  • "Bless" rEFInd by typing one of the following two commands:
    • If you're installing rEFInd on the ESP, type sudo bless --mount /Volumes/esp --setBoot --file - /Volumes/esp/efi/refind/refind_x64.efi --shortform, adjusting + class="userinput">sudo bless --mount /Volumes/ESP --setBoot --file + /Volumes/ESP/efi/refind/refind_x64.efi --shortform, adjusting the mount point and exact path to the file as appropriate for your installation.
    • If you're installing rEFInd to an ordinary HFS+ volume, type ioreg -l -p IODeviceTree | grep firmware-abi necessary if you're placing rEFInd somewhere else or using the 32-bit version.)
    - As per the Warning earlier, do not use bless's - --info option to try to confirm the change to the boot status - unless you're certain you do not have an Advanced Format hard - disk.
  • + This is the step that's likely to fail if your system is booted + with SIP active.
  • If you don't want to reboot immediately after installing rEFInd, you may optionally unmount the ESP by typing sudo umount /dev/disk0s1 or sudo umount - /Volumes/esp. This step isn't strictly required, but if you want + /Volumes/ESP. This step isn't strictly required, but if you want to keep the ESP out of your directory tree, it can be useful.
  • @@ -1034,7 +1035,7 @@ $ ioreg -l -p IODeviceTree | grep firmware-abi

    Using the --shortform Option

    -

    Prior to version 0.8.5, these instructions and the refind-install script omitted the --shortform option from the bless command when installing rEFInd to the ESP. An rEFInd user, however, discovered that using the option eliminated the 30-second delay, so it is now the default with 0.8.5's refind-install, and is specified in the instructions. If you installed rEFInd 0.8.4 or earlier, you may want to re-install or re-bless rEFInd using this option.

    +

    Prior to version 0.8.5, these instructions and the refind-install script omitted the --shortform option from the bless command when installing rEFInd to the ESP. A rEFInd user, however, discovered that using the option eliminated the 30-second delay, so it is now the default with 0.8.5's refind-install, and is specified in the instructions. If you installed rEFInd 0.8.4 or earlier, you may want to re-install or re-bless rEFInd using this option.

    There is one caveat, though: The man page for bless notes that --shortform notes that its use can come "at the expense of boot time performance." Thus, it's not clear to me that this option might not actually create problems on some computers. (It's eliminated the boot delay on my 2014 MacBook Air and has no detrimental effect on an old 32-bit Mac Mini that's never had a boot delay problem, though.) Thus, if you have problems with rEFInd 0.8.5 or later, you might try running bless, as described in Installing rEFInd Manually Using OS X's step 8, but omit the --shortform option.

    @@ -1211,7 +1212,8 @@ $ ioreg -l -p IODeviceTree | grep firmware-abi
  • If necessary, mount the ESP or rEFInd-specific HFS+ volume, as described in Installing rEFInd Manually Using Mac OS - X.
  • + X. (The mountesp script that comes with rEFInd will handle + this task.)
  • Verify that rEFInd is installed in the directory noted in step #1. If a refind.conf file is present, rEFInd is almost certainly @@ -1228,7 +1230,7 @@ $ ioreg -l -p IODeviceTree | grep firmware-abi bootx64.efi, boot.efi, or conceivably something else. You may need to use sudo rm at the command line to accomplish this task, as in sudo rm -r - /Volumes/esp/EFI/refind.
  • + /Volumes/ESP/EFI/refind. @@ -1255,8 +1257,6 @@ Timeout: 10 seconds BootOrder: 0007 Boot0007* CD/DVD Drive - -

    This example shows use of efibootmgr's --verbose (-v) option to display boot programs so as to identify which one is rEFInd, followed by --delete-bootnum (-B) to delete a boot program and --bootnum (-b) to identify which one to delete. Of course, in this example there's not much else left, so you'd presumably want to install another boot program at this point! If you already have another one installed, you may want to check the BootOrder line to determine which one will take precedence when you reboot. If you don't like what it shows, you can adjust it with the --bootorder (-o) option; consult efibootmgr's man page for details.

    If you're not using Linux, you may be able to find a utility that serves diff --git a/docs/refind/linux.html b/docs/refind/linux.html index 5598748..a6dc04c 100644 --- a/docs/refind/linux.html +++ b/docs/refind/linux.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/19/2012; last Web page update: -9/19/2015, referencing rEFInd 0.9.2

    +11/8/2015, referencing rEFInd 0.10.0

    This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

    diff --git a/docs/refind/revisions.html b/docs/refind/revisions.html index 32f708b..bd713c6 100644 --- a/docs/refind/revisions.html +++ b/docs/refind/revisions.html @@ -16,7 +16,7 @@

    by Roderick W. Smith, rodsmith@rodsbooks.com

    -

    Last Web page update: 9/19/2015

    +

    Last Web page update: 11/8/2015

    This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

    @@ -132,6 +132,92 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    -

    I've tested this method of installing rEFInd on my MacBook Air, but I can't promise it will work on all Macs—or even on an identical Mac with a configuration that's different from mine. My preference is to install rEFInd under OS X on Macs, because Apple likes to do things differently from everybody else, and so a Mac's firmware might not react in the usual way to tools like efibootmgr in Linux or bcdedit in Windows.

    +

    I've tested this method of installing rEFInd on my MacBook Air (purchased in late 2014) and on my first-generation 32-bit Mac Mini, but I can't promise it will work on all Macs—or even on a Mac that's identical to one of mine but with a configuration that's different from mine. My preference is to install rEFInd under OS X on Macs, because Apple likes to do things differently from everybody else, and so a Mac's firmware might not react in the usual way to tools like efibootmgr in Linux or bcdedit in Windows.

    Using rEFInd to Manage SIP

    @@ -294,20 +294,20 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

  • showtools—This line specifies tools that appear on the second row of icons in rEFInd. The new tool for managing SIP is called csr_rotate, so you must uncomment showtools and add this option, or create a new showtools line.
  • -
  • csr_values—This line lists the hexadecimal values through which you can rotate once csr_rotate is active on the showtools line. The trick to this token is selecting appropriate options. Several sites, such as this one and this one, describe the meanings of the various options, but often not in much detail. Apple's own csrutil command sets values of 77 (disabled) or 10 (enabled). Note also that you specify hexadecimal values on this line, but without a leading 0x or other hexadecimal-notation indicator. If you put gibberish values, or hexadecimal values higher than those used by SIP, rEFInd ignores the bad entries. Thus, if some of your values are being ignored, you should check your csr_values line for typos.
  • +
  • csr_values—This line lists the hexadecimal values through which you can rotate once csr_rotate is active on the showtools line. The trick to this token is selecting appropriate options. Several sites, such as this one and this one, describe the meanings of the various options, but often not in much detail. Apple's own csrutil command sets values of 77 (disabled) or 10 (enabled). Note also that you specify hexadecimal values on this line, but without a leading 0x or other hexadecimal-notation indicator. If you specify gibberish values, or hexadecimal values higher than those used by SIP, rEFInd ignores the bad entries. Thus, if some of your values are being ignored, you should check your csr_values line for typos.
  • Note that both of these options must be set appropriately. If either of them is missing or misconfigured, rEFInd will not display the new SIP tool. A typical configuration using these features might look like this:

    -
    showtools shell,memtest,gdisk,csr_rotate,apple_recovery,windows_recovery,mok_tool,about,shutdown,reboot,firmware
    +
    showtools shell,memtest,gdisk,csr_rotate,apple_recovery,windows_recovery,about,shutdown,reboot
     csr_values 10,77
    The SIP rotation tool rotates through all the CSR values you set -

    Once these options are set and you reboot into rEFInd, you should see a new shield icon, as shown at the right. When you select this tool, rEFInd identifies the next available CSR value from the list you specified and switches to that mode, rotating back to the start of the list once the end is reached. To confirm that the SIP mode has changed, rEFInd displays, for three seconds, a message identifying the new mode.

    +

    Once these options are set and you reboot into rEFInd, you should see a new shield icon on the second row, as shown at the right. When you select this tool, rEFInd identifies the next available CSR value from the list you specified and switches to that mode, rotating back to the start of the list once the end is reached. To confirm that the SIP mode has changed, rEFInd displays, for three seconds, a message identifying the new mode.

    Whether or not you've enabled these SIP features in refind.conf, rEFInd displays the current SIP status on its "About" page:

    @@ -315,11 +315,11 @@ csr_values 10,77
    height="559" alt="rEFInd presents a graphical menu for selecting your boot OS." border=2>
    -

    Note the line that reads "System Integrity Protection is disabled (0x77)." This line will be updated whenever you use the CSR rotation tool, so if you've specified a large number of values and have forgotten where you are in your rotation, you can use the About screen to figure it out.

    +

    Note the line that reads "System Integrity Protection is disabled (0x77)" (highlighted in this screen shot). This line will be updated whenever you use the CSR rotation tool, so if you've specified a large number of values and have forgotten where you are in your rotation, you can use the About screen to figure it out.

    Both the summary on the About page and the CSR rotation tool depend on the presence of the csr-active-config NVRAM variable, which is where this information is stored. Thus, these features will not be present on older Macs that have not seen the presence of an OS X version that sets this variable. Likewise, you probably won't see the SIP summary in About or be able to set these values via csr_rotate and csr_values on a UEFI-based PC. (You could always create the variable on such a system in some other way, in which case rEFInd would let you adjust it, but it would have no effect on any OS except OS X.)

    -

    I provide these features in rEFInd as a convenience for developers and other advanced users who have a legitimate need to adjust their SIP settings. Using rEFInd for this purpose is much faster than booting into the OS X Recovery system to make these adjustments. I discourage others from playing with these settings, since changing them inappropriately could cause problems; that's why they're not enabled by default.

    +

    I provide these features in rEFInd as a convenience for developers and other advanced users who have a need to adjust their SIP settings. Using rEFInd for this purpose is much faster than booting into the OS X Recovery system to make these adjustments. I discourage others from playing with these settings, since changing them inappropriately could cause problems; that's why they're not enabled by default.

    Conclusion

    diff --git a/docs/refind/themes.html b/docs/refind/themes.html index 0092e1c..3734ac4 100644 --- a/docs/refind/themes.html +++ b/docs/refind/themes.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 4/19/2012; last Web page update: -11/1/2015, referencing rEFInd 0.9.3

    +11/8/2015, referencing rEFInd 0.10.0

    This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

    @@ -192,7 +192,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Note that in this example, the text immediately below the icons is white, whereas the hint text at the bottom of the screen is black. The text color is determined by the brightness of the background; rEFInd uses black text against light backgrounds and light text against dark backgrounds. This adjustment is done on a line-by-line basis, so it copes better with horizontal lines than with vertical lines.

    -

    If you want to use a full-screen background but also include the rEFInd logo, you can merge the two in a graphics editor by including the refind_banner-alpha.png image from the banners subdirectory of the rEFInd package in your background.

    +

    If you want to use a full-screen background but also include the rEFInd logo, you can merge the two in a graphics editor by including the refind_banner-alpha.png or refind-banner.svg image from the banners subdirectory of the rEFInd package in your background.

    Beginning with rEFInd 0.7.8, it's possible to stretch or shrink any image to fill the screen. To do so, you should use the banner_scale option in refind.conf: Set it to noscale (the default) to use small banners as such or to crop larger images; or set it to fillscreen to adjust your banner's size to exactly fill the screen. This should be particularly handy for theme developers who want to use a full-screen background image, since you can now do this with just one image file.

    @@ -200,9 +200,9 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Icons

    - + -

    The core icons in rEFInd 0.9.3 and later come from the The core icons in rEFInd 0.10.0 and later come from the AwOken 2.5 icon set, with additional icons created by me, and a few others taken from other sources. (The details are documented in the README file in @@ -230,7 +230,7 @@ graphics, so you can change them.

    -

    As an example of what the combination of icons and backgrounds can do, consider my own Snowy theme, showing the same boot options as the preceding image:

    +

    As an example of what the combination of icons and backgrounds can do, consider my own Snowy theme, showing the same boot options as the preceding image:


    The Snowy theme uses predominantly white
@@ -295,7 +295,7 @@ to be tedious.</p>
 
 <ul>
 
-<li><a href=Snowy is my own theme. It's built from (mostly) white variants of rEFInd's standard icons and includes a photo of a snowy field as a background image. It's shown earlier on this page. +
  • Snowy is my own theme. It's built from (mostly) white variants of rEFInd's standard icons and includes a photo of a snowy field as a background image. It's shown earlier on this page.
  • ecto-plazm's theme was one of the first independent themes to be created for rEFInd.
  • diff --git a/docs/refind/todo.html b/docs/refind/todo.html index bc63fc4..fafc9ef 100644 --- a/docs/refind/todo.html +++ b/docs/refind/todo.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -9/13/2015, referencing rEFInd 0.9.1

    +11/8/2015, referencing rEFInd 0.10.0

    This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

    diff --git a/docs/refind/using.html b/docs/refind/using.html index 4d5f3e7..3b3dff6 100644 --- a/docs/refind/using.html +++ b/docs/refind/using.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -11/1/2015, referencing rEFInd 0.9.3

    +11/8/2015, referencing rEFInd 0.10.0

    This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

    @@ -210,7 +210,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Adjusting Boot Options

    -

    If you press the Insert, F2, or + key, rEFInd will show a menu that may hold additional options, depending on the OS type. (OS X and Linux are most likely to hold interesting options on their submenus.) The following figure shows the submenu for Mac OS X. You can use this menu much like the main menu; move the cursor to select the option you want to use, then press the Enter key to launch the boot loader with the selected options. Press the Esc key or select Return to Main Menu to return to the main menu.

    +

    If you press the Insert, F2, or + key, rEFInd will show a menu that may hold additional options, depending on the OS type. (OS X and Linux are most likely to hold interesting options on their submenus.) The following figure shows the submenu for Mac OS X. You can use this menu much like the main menu; move the cursor to select the option you want to use, then press the Enter key to launch the boot loader with the selected options. Press the Esc key or select Return to Main Menu to return to the main menu. (See the Methods of Booting Linux page for information on what you might see on a Linux submenu page.)


    rEFInd submenus enable you to set session-specific
diff --git a/docs/refind/yosemite.html b/docs/refind/yosemite.html
index df97811..5bb142d 100644
--- a/docs/refind/yosemite.html
+++ b/docs/refind/yosemite.html
@@ -182,7 +182,7 @@ href=rodsmith@rodsbooks.com

    Go to the main rEFInd page

    -

    Installing rEFInd using El Capitan

    +

    rEFInd and System Integrity Protection

    Return to my main Web page.

    diff --git a/mountesp b/mountesp index 6459199..03dc5c0 100755 --- a/mountesp +++ b/mountesp @@ -50,11 +50,11 @@ MountOSXESP() { fi MountPoint="/Volumes/ESP" mkdir /Volumes/ESP &> /dev/null - mount -t msdos "$Esp" /Volumes/ESP + mount -t msdos "$Esp" $MountPoint # Some systems have HFS+ "ESPs." They shouldn't, but they do. If this is # detected, mount it as such and set appropriate options. if [[ $? != 0 ]] ; then - mount -t hfs "$Esp" /Volumes/Esp + mount -t hfs "$Esp" $MountPoint if [[ $? != 0 ]] ; then echo "Unable to mount ESP!\n" exit 1 diff --git a/refind-install b/refind-install index 6297dc8..0f4accd 100755 --- a/refind-install +++ b/refind-install @@ -690,7 +690,7 @@ SetupMacHfs() { ProductName rEFInd ProductVersion - 0.9.2 + 0.10.0 ENDOFHERE @@ -1134,9 +1134,8 @@ InstallOnLinux() { echo "CAUTION: This Linux installation uses a 32-bit kernel. 32-bit EFI-based" echo "computers are VERY RARE. If you've installed a 32-bit version of Linux" echo "on a 64-bit computer, you should manually install the 64-bit version of" - echo "rEFInd. If you're installing on a Mac, you should do so from OS X. If" - echo "you're positive you want to continue with this installation, answer 'Y'" - echo "to the following question..." + echo "rEFInd. If you're positive you want to continue with this installation," + echo "answer 'Y' to the following question..." echo echo -n "Are you sure you want to continue (Y/N)? " ReadYesNo diff --git a/refind.spec b/refind.spec index 7744be5..ea42e77 100644 --- a/refind.spec +++ b/refind.spec @@ -1,6 +1,6 @@ Summary: EFI boot manager software Name: refind -Version: 0.9.2.7 +Version: 0.10.0 Release: 1%{?dist} Summary: EFI boot manager software License: GPLv3 @@ -90,9 +90,15 @@ install -Dp -m0755 refind-install $RPM_BUILD_ROOT/usr/share/refind-%{version}/ # Copy documentation to /usr/share/doc/refind-%{version} mkdir -p $RPM_BUILD_ROOT/usr/share/doc/refind-%{version} -cp -a docs/* $RPM_BUILD_ROOT/usr/share/doc/refind-%{version}/ +cp -a docs/Styles $RPM_BUILD_ROOT/usr/share/doc/refind-%{version}/ +cp -a docs/refind $RPM_BUILD_ROOT/usr/share/doc/refind-%{version}/ install -Dp -m0644 NEWS.txt COPYING.txt LICENSE.txt README.txt CREDITS.txt $RPM_BUILD_ROOT/usr/share/doc/refind-%{version} +# Copy man pages to /usr/share/man/man8 +mkdir -p $RPM_BUILD_ROOT/usr/share/man/man8 +install -Dp -m0644 docs/man/mvrefind.8 $RPM_BUILD_ROOT/usr/share/man/man8 +install -Dp -m0644 docs/man/mkrlconf.8 $RPM_BUILD_ROOT/usr/share/man/man8 + # Copy keys to /etc/refind.d/keys mkdir -p $RPM_BUILD_ROOT/etc/refind.d/keys install -Dp -m0644 keys/* $RPM_BUILD_ROOT/etc/refind.d/keys @@ -112,6 +118,7 @@ cp -a fonts $RPM_BUILD_ROOT/usr/share/refind-%{version}/ %files %defattr(-,root,root -) %doc /usr/share/doc/refind-%{version} +%doc /usr/share/man/man8 /usr/sbin/mkrlconf /usr/sbin/mvrefind /usr/share/refind-%{version} @@ -168,6 +175,8 @@ fi # thus wiping out the just-updated files. %changelog +* Sun Nov 8 2015 R Smith - 0.10.0 +- Updated spec file for 0.10.0 * Sat Sep 19 2015 R Smith - 0.9.2 - Updated spec file for 0.9.2 * Sun Sep 13 2015 R Smith - 0.9.1 @@ -178,7 +187,7 @@ fi - Updated spec file for 0.8.7 * Sun Feb 8 2015 R Smith - 0.8.6 - Updated spec file for 0.8.6 -* Sun Feb 2 2015 R Smith - 0.8.5 +* Sun Feb 1 2015 R Smith - 0.8.5 - Updated spec file for 0.8.5 * Mon Dec 8 2014 R Smith - 0.8.4 - Updated spec file for 0.8.4 diff --git a/refind/main.c b/refind/main.c index b923650..e23187b 100644 --- a/refind/main.c +++ b/refind/main.c @@ -192,7 +192,7 @@ static VOID AboutrEFInd(VOID) if (AboutMenu.EntryCount == 0) { AboutMenu.TitleImage = BuiltinIcon(BUILTIN_ICON_FUNC_ABOUT); - AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.9.2.8"); + AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.10.0"); AddMenuInfoLine(&AboutMenu, L""); AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2006-2010 Christoph Pfisterer"); AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2012-2015 Roderick W. Smith");