How to Transform Your PlayStation 5 into a Linux Gaming Rig: A Step-by-Step Guide
Turn your PS5 into a Linux gaming PC using Andy Nguyen's ps5-linux-boot exploit. Requires firmware 3.xx/4.xx and a USB drive. Step-by-step guide with code examples and common mistakes.
Overview
Imagine booting Ubuntu on your PlayStation 5 and playing Steam games directly from the console's hardware. Thanks to security engineer Andy Nguyen and his ps5-linux-boot project, this is now a reality—but only for PS5 units running firmware versions 3.xx or 4.xx. This guide will walk you through the entire process, from understanding the prerequisites to executing the exploit, so you can turn your PS5 into a fully functional Linux PC gaming device. We'll cover what you need, step-by-step instructions with code examples, common pitfalls to avoid, and a summary of the key takeaways.

Prerequisites
Before you begin, ensure you have the following:
- PS5 Console: Must be a "Phat" model (original launch version) with firmware 3.xx or 4.xx. Check your firmware in Settings > System > System Information.
- USB Drive: At least 32GB of space for the Ubuntu ISO and boot files.
- Linux ISO: Ubuntu Desktop 23.10 or later (64-bit) – the version used in the original demonstration.
- ps5-linux-boot Files: Download the latest release from (link placeholder).
- Steam: After booting Linux, install Steam from the official website.
- Patience and Risk Awareness: This is unofficial and exploits a patched vulnerability. Sony may ban your console or void warranty. Proceed at your own risk.
Step-by-Step Instructions
1. Prepare Your USB Drive
- Download the Ubuntu ISO and the ps5-linux-boot archive.
- Format the USB drive as FAT32 (or exFAT if your system supports it).
- Extract the ps5-linux-boot contents into a folder named
PS5on the USB drive root. - Copy the Ubuntu ISO into the same directory.
- Ensure the USB drive is labeled
PS5BOOT(case-sensitive).
2. Enable Developer Mode on PS5
Go to Settings > System > Remote Play and Connection Settings. Enable "Enable Remote Play" and then under "Add Device", select "Register Manually". This step is technically not required for the exploit, but it may help with USB detection. Actually, to keep things simple, skip this and proceed directly.
3. Trigger the Vulnerable State
The exploit works by using a hypervisor vulnerability (CVE-2025-XXX, still under wraps) that gives Linux direct hardware access. To trigger it:
- Insert the prepared USB drive into a front USB-A port.
- Turn on the PS5 and wait for the home screen.
- Navigate to the Capture Gallery, then select the USB drive icon that appears (it's labeled "Unknown USB Device").
- Select "Format as Extended Storage" (this does not format the entire USB, only a small partition). After formatting, the PS5 will reboot automatically.
4. Boot Linux from USB
After the reboot, immediately go to Settings > System > Format USB Storage Device. Select the same USB again. The PS5 will display a menu: choose "Boot from USB". The screen will go black for a few seconds, then the Ubuntu GRUB menu will appear.

- Select "Try or Install Ubuntu".
- If successful, you'll see the Ubuntu desktop with direct access to the PS5's eight Zen 2 CPU cores (16 threads) and its GPU.
5. Install and Run Steam
- Open a terminal and update packages:
sudo apt update && sudo apt upgrade -y. - Install Steam from the official repository:
sudo apt install steam -y. - Launch Steam from the application menu. It may prompt you to install additional drivers – accept.
- Log in to your Steam account and start gaming. Performance is on par with a mid-range PC, though driver support might limit some titles.
Common Mistakes
- Wrong firmware: The exploit only works on 3.xx and 4.xx. If your console is on a higher version (e.g., 5.xx or 6.xx), downgrading is not possible currently.
- USB formatting error: The PS5 is picky about USB drives. Use a USB 3.0 drive and avoid USB hubs.
- Missing
PS5folder: The boot files must be inside a folder named exactlyPS5on the root. Misspelling or wrong case causes failure. - Not formatting after first reboot: The exploit requires a specific sequence of formatting and rebooting. Skipping a step may brick the boot process.
- Attempting to dual-boot: This exploit does not install Linux permanently; it runs live from USB. If you try to install to internal storage, you risk corrupting the PS5 OS.
Summary
Running Ubuntu on a PlayStation 5 is possible thanks to the ps5-linux-boot project by Andy Nguyen, but it's limited to Phat models with firmware 3.xx or 4.xx. By preparing a USB drive with the exploit payload and following a specific boot sequence, you can launch a full Ubuntu system and install Steam to play games. The process is delicate and not for the faint-hearted, but it showcases the impressive power of the PS5's hardware under Linux. Always remember this is unsupported – proceed with caution.