MVREFIND(8)
π MVREFIND(8) π β the rEFInd manual, but make it bestie-friendly π
okay so you're in the rEFInd manual, section 8, and the whole vibe here is moving your rEFInd install around without breaking your boot. lowkey iconic. also there's a license fragment floating at the top that just says "any later version" β yes bestie, we're keeping that, it's giving "you may redistribute under the GPL, any later version" π«Ά
β¨ NAME β¨
mvrefind β moves a rEFInd installation from one location to another. that's it, that's the whole job π
πΈ SYNOPSIS πΈ
mvrefind SOURCE DEST
π¦ DESCRIPTION π¦
So you wanna move a rEFInd installation from SOURCE to DEST, where both SOURCE and DEST are directories on the EFI System Partition (ESP), and SOURCE is holding a working rEFInd installation. simple, right? not so fast, because this operation entails taking several actions, and every single one of them matters:
- Renaming the
SOURCEdirectory toDEST. π β‘οΈπ‘ - Renaming the rEFInd binary to a suitable value given the new destination. For instance, if
DESTisEFI/BOOTon the EFI System Partition (ESP), the rEFInd binary should bebootx64.efi(or something similar but with a different architecture code). π·οΈ - Altering the computer's NVRAM entries to point to rEFInd at its new location. π§
- If Shim is detected, renaming operations and NVRAM entry pointers are adjusted appropriately. π‘οΈ
- If the
DESTexists, its contents are preserved. (we're not deleting anybody's stuff here, bestie, no cap π)
Broadly speaking, mvrefind understands three types of locations for both SOURCE and DEST, relative to the root of the ESP:
EFI/BOOTβ thebootx64.efi(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 theDESTand it already exists, the existingEFI/BOOTis backed up toEFI/BOOT-rEFIndBackup; and if theSOURCEisEFI/BOOTandEFI/BOOT-rEFIndBackupexists, it is renamed toEFI/BOOTafter rEFInd is moved to its destination. ποΈEFI/Microsoft/bootβ thebootmgfw.efifile 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 theDEST,mvrefindmoves the originalbootmgfw.efifile down one level (toEFI/Microsoft) and storesrefind_x64.efi(or Shim) in that location. When moving fromEFI/Microsoft/boot, this process is reversed. πͺβ‘οΈπ¦- Anything else β any other
SOURCEorDESTlocation is treated as a regular rEFInd installation, with a proper NVRAM entry created byefibootmgr. π§
mvrefind attempts to identify the ESP and refuses to move between the ESP and any other partition. (vibe check: failed, request denied π) When it does move files, it moves the main rEFInd binary, the refind.conf file, any identified Shim binary, and the icons, icons-backup, drivers_*, and keys subdirectories. If other rEFInd files or directories are present in SOURCE (such as a custom theme/icons directory), they will not be moved. If SOURCE is empty after the specified files and subdirectories are moved, SOURCE will be deleted. π
π AUTHORS π
Primary author: Roderick W. Smith (rodsmith@rodsbooks.com)
π SEE ALSO π
mkrlconf(8), refind-install(8), refind-sb-healthcheck(8).
https://www.rodsbooks.com/refind/
π AVAILABILITY π
The mvrefind command is part of the rEFInd package and is available from Roderick W. Smith.
okay that's the whole page, bestie, you ate that πβ¨ and for the cute sign-off: this was the rEFInd Manual, version 0.14.2, brought to you by Roderick W. Smith β the <rainbow>MVREFIND(8)</rainbow> of it all π no cap, go move some bootloaders responsibly π
π¦ where this page comes from
- arch rolling: refind 0.14.2-3 Β· BSD-2-Clause AND CC-BY-SA-3.0 AND CC-BY-SA-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later OR CC-BY-SA-3.0
- debian trixie: refind 0.14.2-2.1 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: rEFInd-tools 0.14.2-4.fc43 Β· GPL-3.0-or-later
- fedora 44: rEFInd-tools 0.14.2-5.fc44 Β· GPL-3.0-or-later
- nixpkgs unstable: refind 0.14.2
- ubuntu resolute: refind 0.14.2-2.1 Β· BSD-3-Clause AND GPL-3.0-or-later
- ubuntu stonking: refind 0.14.2-2.1 Β· BSD-3-Clause AND GPL-3.0-or-later
- Copyright 2015-2024 Roderick W. Smith (rodsmith@rodsbooks.com)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms