-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support booting into recovery mode / 1TR? #3526
Comments
Currently this isn’t possible without private framework calls. See https://github.com/saagarjha/VirtualApple for an example of how if can be implemented. |
I would be curious if you can take VirtualApple’s aux files and copy it to the .utm and if that would work. |
@osy I saw that yesterday and implemented my little tool based off UTM. |
Using virt framework recovery works fine, csrutil/bputil work fine, nvram can be set, but I still have some extra issues with spctl (some settings are not sticky) |
@anoane From what I heard, they are just not supported in current version of the VM Kernel. I mean you can set them but |
@anoane To be clear, vmapple uses a much stripped down version of the macOS kernel and lacks a bunch of critical features, I ended up just dual-booting another macOS install |
I've found a workaround for this bug. |
@osy This is quite an old issue, so I'm not entirely sure if this is still relevant, but when the disk image and AUX image are shared between UTM and VirtualApple (e.g. the relevant paths hard-link to the same files; UTM's However, VirtualApple's way of booting into recovery seems to be applied at runtime, so it does not cause UTM to boot into recovery. But any changes made in VirtualApple, to either the disk or NVRAM, are reflected in UTM. And vice versa of course. Also, just an observation: @steven-michaud's workaround mentioned above boots in to the "Fallback recoveryOS" as Apple calls it (1TR located on the backup recovery partition, i.e. |
I also just found out that there is a public API for booting into recovery in macOS Ventura beta, see https://developer.apple.com/documentation/virtualization/vzmacosvirtualmachinestartoptions/4013558-startupfrommacosrecovery |
@osy It looks like this was fixed but it's not in the docs. How to boot into recovery mode? |
You should be able to right click on the VM and choose boot into recovery mode. I will make sure to update the docs. |
I do not get the "Boot into recovery mode button" on the latest UTM |
Which version of macOS are you running? I'm pretty sure this is only available in Ventura. |
I was trying on macOS Monterey, then upgraded to Ventura and the button still didn't show, I ended up following this workaround #3904 (comment) and left a 128MB disk in my vm so I can access this again. |
Sierra? So you're probably running on an Intel Mac? I'm pretty sure that this functionality only applies to Apple Silicon. |
Not Sierra, sorry, Monterey on an M1 Mac. Upgraded Monterey to Ventura and this menu isn't showing |
Hi:
Is it possible for me to boot into recovery mode when running macOS using Virtualization.framework on Apple Silicon Mac?
Otherwise SIP can't be disabled?
EDIT:
To be clear, we are talking about 1TR which is possible only with a physical press on the TouchID sensor for a physical AppleSilicon Mac
Configuration
The text was updated successfully, but these errors were encountered: