Window still needs a standard PC BIOS to boot, which PlayStations/Xboxes lack.
Sony and Microsoft also use a ton of copy protection to stop you running unapproved software, which makes it very hard to use something like Linux on it.
Allegedly hackers have got Linux to run on the PS5 but I can’t find definitive proof of this.
Latest Answers