-
-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to boot into "recovery mode"? #46
Comments
That... I'm not sure of. I've never tried it, but I'm not even sure if VirtualBox would pass keystrokes in the proper way during the OS boot process? |
Maybe it won't. I don't know unfortunately. |
Yes, it is possible, but you have to hit F12 to enter the EFI shell first, and then follow some instructions. I have tested it on Sierra.
Instructions with screenshots: There is also a recovery mode disk image available: |
Yes, it is possible. |
My shell says: |
Same here. Fixed it with these steps:
Hope this helps! |
Thank you @DerLasseHenrich, I‘ll try it later and comment if it works. So, I'm using macOS Catalina and I can't use this one because it's for mojave :/ |
@redmlr You sure? I was also using Catalina, 10.15.4 I believe, and it worked perfectly. |
I‘m booting in recovery disk, but when I‘m there I cannot use my mouse and keyboard to navigate.. |
This would help users get into recovery mode and back out. From my answer here. In your VM's terminal: sudo nvram recovery-boot-mode=unused && sudo shutdown -r now Once in recovery mode you can run the commands you need in Run the commands you want like: $ csrutil disable
$ nvram -d recovery-boot-mode && shutdown -r now # this gets you out of recovery mode And you'll get back into normal MacOS. |
csrutil, not csrutils this gave me a mini heart attack. This works like a charm thanks. |
Updated my answer :) Sorry! |
See this, it fixes your issue and more. Makes the install very easy even if you are not a super user. https://blog.victormendonca.com/2020/04/17/how-to-install-macos-catalina-in-virtual-box/ |
@vviikk Thanks for the commands. That + https://www.virtualbox.org/ticket/19047 allowed me to install virtual box additions on OSX. |
I was able to get copy and paste outside the vm working for a bit, but then it stopped working. But I couldn't get shared folders to work, nor the GPU, which was my primary interest so I didn't investigate in depth. |
@matham Wow, impressive. Seems this is really going into the right direction. |
At least on macOS Big Sur, it is also possible to boot into recovery mode using the EFI Internal Shell. This is useful if you are unable to boot into the OS to set the NVRAM flag via Terminal.
You can look for the recovery partition by executing |
The @t0rr3sp3dr0 solutions works. If you don't see the partition is because you haven't the recovery partition. A workaround to this is to use a pen drive with the installer. |
Same thing was happening to me, I had to install this extension pack for virtualbox and set usb to 3.0 and it worked! Steps over here: https://www.geekrar.com/fix-mouse-keyboard-stuck-macos-mojave-virtualbox/ |
Thanks to @DerLasseHenrich, it helped me to fix another error which is a circle with a line through it occurred in VMware. In recovery mode, do not need to re-install the Mojave version to Catalina System even it is recommended to re-install OS by Apple Documentation, I just restart the system and now everything works perfectly! |
I see the partition, and I see the GUID directory, but there's no boot.efi there as there was in Catalina. So it seems the recovery partition does get installed by the Big Sur or Monterey installer ... it's just inaccessible via the Virtualbox BIOS. Or is the install somehow quietly failing? (Quietly because I don't see any errors during the upgrade process.) I really don't want to download some mystery image from the web or have a separate USB just to boot recovery. I want the existing integral recovery partition to work. Will this require a fix from Oracle? |
Anyone managed to enter recovery mode on Windows Host with Catalina as guest on Ryzen CPU?
None of these work. |
Awesome - you saved my Saturday. Thanks |
Thank you very much. This worked for me :) |
This didn't work for me on Monterey:
I'm told you can avoid this error by going into Recovery Mode and running a command. Catch 22. A bit of web searching turned up this alternative command for Monterey, and it set the nvram data no problem, but afterwards, I just booted back into normal mode:
So, still stuck. Note that there's a bug logged against VMware for booting into Recovery Mode in Big Sur+ too, so obviously, some format or data structure changed in MacOS at a low level, affecting both VMware and VB. |
For anyone who is still having issues with this, even after trying the solutions above, I tried the following and it works (on VirtualBox, for macOS 10.13):
Hope this helps somebody! 😄 |
That's the standard way to boot into Recovery with VirtualBox, but it stopped working in Big Sur, because the boot.efi file isn't present. |
I booted successfully into Recovery mode with Monterey following this thread https://superuser.com/questions/1235970/stuck-on-uefi-interactive-shell-with-mac-os-x-high-sierra-vm#:~:text=I%20found%20it%20in%20System%5CLibrary%5CCoreservices%5Cboot.efi%20for%2011.4%20Big%20Sur |
You must be mistaken. The superuser page you quote relates to High Sierra, a much older version of MacOS, and System\Library\CoreServices\boot.efi is a file that boots to normal MacOS, not Recovery Mode. In Catalina, where Recovery Mode was still accessible, you'll find boot.efi right underneath a GUID directory in the Recovery Partition. As mentioned, the issue with Big Sur and later MacOS versions is that boot.efi is not present in the Recovery Partition. There are many slight variations of that name when you dig around in the UEFI Shell, but not boot.efi, and therefore it's not possible to use 'boot from file' in the VirtualBox BIOS to boot into recovery mode. When you type |
Hi, I tried solutions here, but I can not obtain Recovery Mode. Itried : FS3:\System\Library\Coreservices\boot.efi How could I do that with Monterey VM. Thanks. |
Thank you kind human. |
…for example, to disable SIP.
I tried to use cmd(right)+R but it ignores it and boot as usual.
The text was updated successfully, but these errors were encountered: