09-25-2021, 03:05 AM
(09-24-2021, 09:38 PM)P3TER Wrote: I have a theory on what happened. So, during the initial boot it says swap failed, and it couldn't read the who-am-i register. I think this is a security thing Arch does to recognise the phone before allowing it to download software. Problem is, I bricked the original OS, so if there was any swapping of info that needed to be done when I loaded the next OS, it didn't happen. So it looks for the who-am-i register, doesn't find it, and because it's missing, it prevents downloading software. So I think what needs to happen is I have to figure out a way to repair the who-am-i register. What do you think, is that possible?
No, I'm sorry, this is not how it works. Just making up things that could somehow explain something is not any basis to solve this or any problem. A swap partition is a bit like RAM on a hard drive and has nothing to do with security or software updates. You don't 'brick' your OS with a missing internet connection or something failing in your boot process and neither does pacman stop working if you didn't wipe your SD card with zeros before flashing an image. A very specific problem like pacman not resolving mirrors is nothing that would be the cause by a faulty flashing process.
Pacman and almost every other command is verbose, you get informed about what's happening. Use this information to solve problems. Pacman informed you that it wasn't able to resolve the mirrors. So the next logical step would be to find out if other mirrors can be resolved. If so, it was a problem with the mirror, so most likely nothing on your side. If not, then pacman might have a problem on your side and you can investigate further from there.
Instead of making wild guesses and basing assumptions upon that, which will not help problem solving at all, try looking up everything you don't understand, at least superficially. It will be a lot in the beginning and might seem daunting, but you will get the hang of how things work and that will get you much farther.