MacBook Pro has a reboot loop at startup
Probably due to my own actions, I can no longer boot macOS.
I would like to get it back to the original state so that I can boot it if possible, but I believe that I will have to do a clean install at worst.
The following is a description of the situation, etc.
Situation
I get a reboot loop when starting mac and cannot log in.
Cannot enter safe mode, but can boot in recovery mode.
Behavior that may be the cause
Enter the following command in my terminal
mkdir ~/mount
sudo mount -o no browse -t apfs /dev/disk1s1 ~/mount
sudo kmutil install -volume-root ~/mount --update-all
Enter the following command, but it fails
sudo bless --folder ~/mount/System/Library/CoreServices --bootefi --create-snapshot
Error message in that case (presumably)
Couldn't create snapshot on volume /Users/[me]/mount: Operation not permitted
After that, I restarted macOS as it was, and it started looping, leading to the current situation.
Device information, etc.
Device : MacBook Pro 16″
Version : macOS 11.5.2
Screen confirmed by Disk Utility in Recovery Mode
Please note that the text in the image is in Japanese since I am Japanese.
MacBook Pro 16″, macOS 11.5