Friend's Mac (MacBook Pro Core i5 mid-2012) suddenly gets a panic error after successfully entering their password at the login screen. Frantic that they're going to lose their important documents, I put the computer in target disk mode and copied their user folder. While their hard drive was mounted I noticed the root folders Applications, Library, System and private were located inside the root folder, Recovered Items. I figured that was the culprit (they/someone accidentally moved those folders inside Recovered Items), so I moved those 4 folders back to root (I actually copied private back to root as moving it threw too many errors). Now when the Mac in question boots, it throws a panic error during loading bar screen - it doesn't even get to the user selection screen anymore. It appears I mad it worst (screenshot attached)... how do I get this Mac booting successfully again?
P.S. - Unfortunately, I don't know the version of macOS/OSX that's on here - my friend doesn't know either.
P.S. - Unfortunately, I don't know the version of macOS/OSX that's on here - my friend doesn't know either.