iMac stuck since update I'm on an IMac mid 2017
I tried to update my Mac running under Mojave to Big Sur. I got an error that the disk check couldn't be done.
Since if I boot the mac in normal mode I can't start it, it gets stuck on the apple logo.
So I wanted to reset the mac but when I open the disk utility via Mac Restore it loads endlessly and doesn't display the disks.
I count on this precious community to help me.
Thank you for your time
There’s only two things to do.

Connect this Mac to another in target disk mode and use a second Mac to erase / test the storage.
Boot to internet recovery and follow the precise exact steps. If you select the wrong part of a disk or the wrong image, the erase will fail.


https://support.apple.com/en-us/HT208496