X-Git-Url: https://code.delx.au/refind/blobdiff_plain/85f3218b8717046ea8516e17a51f66a979c8b0c4..e0f6b77e5692ec112bb803202ae27f8c5d55de50:/docs/refind/installing.html diff --git a/docs/refind/installing.html b/docs/refind/installing.html index 42fbe8a..0a2f848 100644 --- a/docs/refind/installing.html +++ b/docs/refind/installing.html @@ -15,7 +15,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com
Originally written: 3/14/2012; last Web page update: -11/7/2012, referencing rEFInd 0.4.7
+11/15/2012, referencing rEFInd 0.4.7I'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!
@@ -257,10 +257,10 @@ Filesystem 1K-blocks Used Available Use% Mounted onTo install rEFInd under Windows, you must first find a way to access the ESP, which Windows normally hides from view. One way to accomplish this goal, and to proceed forward once the ESP is accessible, is as follows:
When you reboot, rEFInd should come up. With any luck, it will detect your old boot loader as an option, if one was installed before.
-If your computer seems to insist on booting an EFI boot loader called EFI/Microsoft/BOOT/bootmgfw.efi, be aware that it might not actually be looking for that filename, but for a boot manager with the EFI description Microsoft Boot Manager. Changing the description of the "real" EFI/Microsoft/BOOT/bootmgfw.efi using efibootmgr and then giving rEFInd that description, even when rEFInd is installed in a more conventional location, may work. I've received a report that at least one Lenovo model has this peculiar affliction.
-If you decide you don't want to keep rEFInd, you can uninstall it. Doing so is a matter of removing the rEFInd files from your ESP (or from your OS X boot partition, if you installed the program there). In Linux, a command like the following, typed as root, should do the trick:
+ ++# rm -r /boot/efi/EFI/refind ++ +
This example assumes that your ESP is mounted at /boot/efi and that rEFInd is installed in EFI/refind on that partition. If you've mounted your ESP elsewhere, or installed rEFInd elsewhere, you should adjust the command appropriately.
+ +The same procedure works in OS X, with the caveat that the ESP isn't normally mounted in OS X and rEFInd is installed to the OS X boot partition by default. You'll also need to use sudo to acquire root privileges. Thus, you'd probably use a command like the following in OS X:
+ ++$ sudo rm -r /EFI/refind ++ +
Many variants of both of these commands are possible on both OS X and Linux. For instance, you'd probably use sudo on Ubuntu; and if you installed rEFInd to your ESP on a Mac, you'd need to first mount the ESP and include its path in the rm command.
+ +From Windows, you must reverse the directions for installing in Windows—type mountvol S: /S to mount your ESP as S:, then navigate to the S:\EFI directory and delete the refind subdirectory.
+ +In any of these cases, when the computer boots and cannot find the rEFInd files, it should move on to the next boot loader in its list. In my experience, some EFI firmware implementations remove boot loaders they can't find from their NVRAM lists, so nothing else will be required, provided you have another working boot loader in your firmware's list. If your firmware doesn't automatically clean up its NVRAM entries, rEFInd's entry will do little harm; however, you can delete it with the efibootmgr utility in Linux:
+ ++# efibootmgr --verbose +Timeout: 10 seconds +BootOrder: 0000,0007 +Boot0000* rEFInd HD(2,1b8,64000,f1b7598e-baa8-16ea-4ef6-3ff3b606ac1e)File(\EFI\refind\refind.efi) +Boot0007* CD/DVD Drive BIOS(3,0,00)PATA: HP DVD Writer 1040r . +# efibootmgr --delete-bootnum --bootnum 0000 +Timeout: 10 seconds +BootOrder: 0007 +Boot0007* CD/DVD Drive+ + + +
This example shows use of efibootmgr's --verbose (-v) option to display boot loaders 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 loader 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 a similar function. The OS X bless utility (or its GUI equivalent, the Startup Disk item in System Preferences) should do the trick; but Macs pick up standard OS X boot loaders when they boot and find that a configured non-standard boot loader is missing, so this shouldn't be necessary on Macs. Under Windows, the bcdedit command, described in the section on installing rEFInd under Windows, may work, although I've not attempted this.
+copyright © 2012 by Roderick W. Smith