From 7c898f4a26b66344e4cc8ed5c2e272d5ea0a71dc Mon Sep 17 00:00:00 2001 From: srs5694 Date: Sun, 12 Aug 2012 14:41:21 -0400 Subject: [PATCH] 0.4.5 release --- BUILDING.txt | 15 +++++++++------ Makefile | 2 +- NEWS.txt | 4 +++- docs/refind/bootmode.html | 2 +- docs/refind/configfile.html | 4 ++-- docs/refind/drivers.html | 17 +++++++++++------ docs/refind/features.html | 2 +- docs/refind/getting.html | 10 +++++----- docs/refind/index.html | 6 +++--- docs/refind/installing.html | 2 +- docs/refind/linux.html | 2 +- docs/refind/revisions.html | 4 +++- docs/refind/themes.html | 6 ++++-- docs/refind/todo.html | 2 +- docs/refind/using.html | 2 +- install.sh | 7 ++++--- refind/main.c | 2 +- 17 files changed, 52 insertions(+), 37 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index 660057c..c432e88 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -71,12 +71,13 @@ It's possible that you could use a non-Linux platform to compile rEFInd. To the best of my knowledge, the rEFInd code doesn't rely on anything Linux-specific in its build requirements, and GNU-EFI's Sourceforge page indicates that it works under Windows and OS X, too; however, my one -attempt to compile GNU-EFI under OS X failed. Using the TianoCore toolkit -might be more likely to work under OS X or Windows, but I haven't tested -it. Under Windows, you would need to either create a project or Makefile -for your non-GCC compiler or use a GCC port, such as MinGW -(http://www.mingw.org). You'd probably need to adjust the Makefiles in the -latter case. +attempt to compile GNU-EFI under OS X failed. I've received one report that +rEFInd compiles successfully with Clang and the TianoCore toolkit under OS +X by adding the refind.inf file to a .dsc file that you use for your own +projects, but I don't have more details than this. Under Windows, you would +need to either create a project or Makefile for your non-GCC compiler or +use a GCC port, such as MinGW (http://www.mingw.org). You'd probably need +to adjust the Makefiles in the latter case. Preparing Your Development Kit @@ -105,6 +106,8 @@ others. Here's how I installed the toolkit: 1) Download UDK2010.SR1 from https://sourceforge.net/apps/mediawiki/tianocore/index.php?title=UDK2010. + (Note that UDK2010.SR1.UP1 was released in June of 2012. I have yet to + test with it.) 2) Type "mkdir /usr/local/UDK2010". You can use another directory, but the Makefile for rEFInd's EFI drivers assumes this location. You'll need to diff --git a/Makefile b/Makefile index 5cbc948..348592c 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ LIBEG_DIR=libeg EFILIB_DIR=EfiLib # Build rEFInd, including libeg -all: tiano +all: gnuefi gnuefi: make -C $(LIBEG_DIR) diff --git a/NEWS.txt b/NEWS.txt index 72b5e78..036f1cd 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -1,8 +1,10 @@ -0.4.5 (?/??/2012): +0.4.5 (8/12/2012): ------------------ - Fixed bug that caused a failure to boot BIOS-based OSes on Macs. +- Fixed bug in install.sh that caused it to fail to detect rEFItBlesser. + 0.4.4 (6/23/2012): ------------------ diff --git a/docs/refind/bootmode.html b/docs/refind/bootmode.html index 986c5ca..010ffd0 100644 --- a/docs/refind/bootmode.html +++ b/docs/refind/bootmode.html @@ -15,7 +15,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 3/14/2012; last Web page update: -6/23/2012, referencing rEFInd 0.4.4

+8/12/2012, referencing rEFInd 0.4.5

I'm a technical writer and consultant specializing in Linux technologies. 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 0333034..2c6e161 100644 --- a/docs/refind/configfile.html +++ b/docs/refind/configfile.html @@ -14,8 +14,8 @@

by Roderick W. Smith, rodsmith@rodsbooks.com

-

Originally written: 3/14/2012; last Web page update: 6/23/2012, -referencing rEFInd 0.4.4

+

Originally written: 3/14/2012; last Web page update: +8/12/2012, referencing rEFInd 0.4.5

I'm a technical writer and consultant specializing in Linux technologies. 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/drivers.html b/docs/refind/drivers.html index d11729e..996e665 100644 --- a/docs/refind/drivers.html +++ b/docs/refind/drivers.html @@ -15,7 +15,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 4/19/2012; last Web page update: -6/23/2012, referencing rEFInd 0.4.4

+8/12/2012, referencing rEFInd 0.4.5

I'm a technical writer and consultant specializing in Linux technologies. 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!

@@ -124,8 +124,13 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

  • ReiserFS—This driver originated with rEFIt. It's useful for reading Linux kernels from a separate /boot partition, or - even from a root (/) filesystem, if you use ReiserFS on - it.
  • + even from a root (/) filesystem, if you use ReiserFS on it. + Caution: If you use this driver, you should use the + notail option in Linux's /etc/fstab file for the + partition(s) you want the EFI to read. This is because the driver + doesn't properly handle ReiserFS's "tail-packing" feature, so files can + seem to be corrupted in EFI if you use this feature, which is disabled + by notail.
  • Ext2fs—This driver also originated with rEFIt. It can be used in the same way as the ReiserFS driver. Although it's called an @@ -143,7 +148,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

  • 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 most rEFInd users. Macs don't need it, since Apple's EFI + 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 @@ -198,9 +203,9 @@ fs0: map -r

    I've tested several of the drivers described on this page on a handful of systems. The ext2fs driver (from any source) works on both ext2fs and ext3fs, but not on ext4fs—at least, not in my one test. (There may be options you can use when creating an ext4 filesystem that would enable the ext2fs driver to handle it, but if so I don't know what they are.) The ReiserFS driver is obviously useful only on ReiserFS partitions. (Reiser4 is not supported, as far as I know.) Given that these filesystems are getting a bit on in age by Linux standards, you might do well to use them on a separate Linux /boot partition; however, if you're willing to use ext3fs or ReiserFS on your root (/) filesystem, you can use the EFI drivers to read your kernel from it. Note that this assumes you use conventional partitions; to the best of my knowledge, there's no EFI driver for Linux's Logical Volume Manager (LVM) or Redundant Array of Independent Disks (RAID) configurations, so the EFI can't access filesystems stored in these ways.

    -

    The ext2fs and ReiserFS drivers work, but they are a bit sluggish—particularly the ext2fs driver. The extent of the problem depends on the computer. In my tests so far, VirtualBox has fared the worst. On it, loading a Linux kernel with EFI stub loader from a FAT partition takes 2 seconds, from the moment of selecting the OS in rEFInd to the moment the kernel messages begin to appear. The equivalent time using ReiserFS or HFS+ is 20 seconds, and with ext2fs it's 200 seconds (that is, 3 minutes and 20 seconds). On a 32-bit Mac Mini, though, the speed problem is much less pronounced—my kernel loads in just 3 seconds from a ReiserFS partition and in 13 seconds from an ext2 filesystem. Times with ext2fs on a UEFI PC with an Intel motherboard are in the 2–4 second range. Nonetheless, if you try the ext2fs driver and it seems to hang, be patient; it may finally boot up. If so, and if the delay is too great for you to accept, you might consider using ReiserFS instead of ext2fs or ext3fs, at least if a change is practical. (For a /boot partition, it almost certainly is practical; you can back it up quite easily, create a fresh filesystem on it, and restore it. You may need to adjust your /etc/fstab entry for a new UUID value, though.) You can even use HFS+ on a Linux /boot partition, although this makes the most sense on a Mac, which has its own EFI HFS+ driver.

    +

    The ext2fs and ReiserFS drivers work, but they are a bit sluggish—particularly the ext2fs driver. The extent of the problem depends on the computer. In my tests so far, VirtualBox has fared the worst. On it, loading a Linux kernel with EFI stub loader from a FAT partition takes 2 seconds, from the moment of selecting the OS in rEFInd to the moment the kernel messages begin to appear. The equivalent time using ReiserFS or HFS+ is 20 seconds, and with ext2fs it's 200 seconds (that is, 3 minutes and 20 seconds). On a 32-bit Mac Mini, though, the speed problem is much less pronounced—my kernel loads in just 3 seconds from a ReiserFS partition and in 13 seconds from an ext2 filesystem. Speeds were similar with my newest computer, an ASUS P8H77-I board. Times with ext2fs on a UEFI PC with an Intel motherboard are in the 2–4 second range. If you try the ext2fs driver and it seems to hang, be patient; it may finally boot up. If so, and if the delay is too great for you to accept, you might consider using ReiserFS instead of ext2fs or ext3fs, at least if a change is practical. (For a /boot partition, it almost certainly is practical; you can back it up quite easily, create a fresh filesystem on it, and restore it. You may need to adjust your /etc/fstab entry for a new UUID value, though. As noted earlier, be sure to use notail as an option in /etc/fstab for ReiserFS if you want to read it from EFI.) You can even use HFS+ on a Linux /boot partition, although this makes the most sense on a Mac, which has its own EFI HFS+ driver.

    -

    Since the ext2fs and ReiserFS drivers share a common origin, it should come as no surprise that they perform in much the same way no matter which version (rEFIt, Clover, or rEFInd) you use. One exception is that the Clover EFI Tools drivers don't deliver filesystem labels, which makes them less desirable than the rEFIt or rEFInd drivers. The NTFS driver from the Clover Tools package is nice and speedy, though, so if for some reason you need to place a boot loader on an NTFS volume, this driver might be worth tracking down.

    +

    Since the ext2fs and ReiserFS drivers share a common origin, it should come as no surprise that they perform in much the same way no matter which version (rEFIt, Clover, or rEFInd) you use. The NTFS driver from the Clover Tools package is nice and speedy, so if for some reason you need to place a boot loader on an NTFS volume, this driver might be worth tracking down.

    Although both ext2fs and ReiserFS are case-sensitive, these drivers treat them in a case-insensitive way. Symbolic links work, which opens up possibilities for configuration, such as using a single kernel binary for multiple Linux distributions, with a link in one subdirectory pointing to a file in another directory. (If you try this, though, be sure to use relative links, as in ../otherdist/bzImage.efi, at least if the partition is not Linux's root filesystem.)

    diff --git a/docs/refind/features.html b/docs/refind/features.html index effe504..cb0d8ac 100644 --- a/docs/refind/features.html +++ b/docs/refind/features.html @@ -15,7 +15,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -6/23/2012, referencing rEFInd 0.4.4

    +8/12/2012, referencing rEFInd 0.4.5

    I'm a technical writer and consultant specializing in Linux technologies. 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/getting.html b/docs/refind/getting.html index 788d087..216bbae 100644 --- a/docs/refind/getting.html +++ b/docs/refind/getting.html @@ -15,7 +15,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -6/23/2012, referencing rEFInd 0.4.4

    +8/12/2012, referencing rEFInd 0.4.5

    I'm a technical writer and consultant specializing in Linux technologies. 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!

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