Personalization error when attempting to install macOS through Terminal.
While trying to do a factory reset on my Macbook air (because I was locked out of my account), I went to Recovery Assistant and erased Macintosh HD (renamed it to Untitled) and deleted Macintosh HD - Data in Disk Utility. After that, I became stuck on Boot Recovery Assistant where it says "The version of macOS of the selected disk needs to be installed". I was unable to reinstall macOS Big Sur due to personalization error. Later, I looked up and found this article: https://support.apple.com/en-us/HT211983. As of now I am not able to resort to the apple configurator and bootable installer method. I have already typed in resetpassword in the Terminal but it says there are no users to recover. Then, I pasted the first block of text that was shown in the article. It had downloaded 11.5 GB. However, when I typed in ./Contents/MacOS/InstallAssistant_springboard, the installer for macOS opened and yet the same notice about personalization error came up again. The screenshot down below is when I typed the second text: ./Contents/MacOS/InstallAssistant_springboard
MacBook Air (2020 or later)