"Your computer restarted because of a problem" when installing macOS Big Sur in external SSD? I have a 21.5 inch retina iMac (2017) which has a malfunction internal SSD, so Ive been using it with a SAMSUNG external SSD connected via USBC/Thunderbolt port to the iMac.
This has been working for a couple of years now, the problem is that I was on Mac OS Mojave and when I want to update either to macOS Sierra, HighSierra or Big Sur, the installation process fails and enters in one of the following scenarios:

Message &quot;Your computer restarted because of a problem&quot; when installing, this generates an infinite loop and the installation is never finished.
Just a infinite loop, for example when is in &quot;Installing software update X%&quot; it restarts and enters in a infinite loop.

I've tried installing macOS with a Bootable USB and with a Software update from Mac OS Mojave, none of this works.
Is there anything that I can do? If I go and install Mac OS Mojave, everithing goes well.
Also is important to mention that anytime I try to do a bootable USB installation, I erase the SSD to &quot;AFPS&quot; and rename it to &quot;Macintosh HD&quot;.
Thanks in advance
Apparently the Big Sur installer has issues with certain external drives.
I tried installing Big Sur on external flash drives (SanDisk and Samsung), neither a fresh install, nor an update from Catalina worked (resulted in endless reboot loops or kernel panics).
I ended up installing 11.2.3 on an external HDD (from LaCie).
Although I also got a kernel panic on the 2nd reboot that occurs during the install, it rebooted and went on to finish the installation without further issues.
I then used CarbonCopyCloner to clone the HDD onto the flash drive and was successfully able to boot and use the system.
(You might be able to perform the clone with disk utility as well.)