[TUTORIAL] Make your own PS4 Linux distro from scratch

ps4linux.com.png

With the PS4 Linux scene slowly catching traction, especially with the awesome dev Nazky having ported SteamOS 3 to PS4, I am sure many of you are wondering how this is done, right? Like, how do they port Linux distros on to the PS4? How are the drivers made compatible with the PS4? How is Vulkan running so fine on the PS4? Well, the technical jargons aside, if you are anything like me, then, I am sure you have wondered and have wanted to try making your own Linux distro for the PS4.

Please understand that I am not claiming to be the first person to make a tutorial on this. I am sure somewhere around the web, a tutorial might exist. But, I plan to make this available for every beginner. Keeping that in mind, I have created a noob friendly tutorial covering each step of the process in extreme detail. And, I also have made video guides for everyone to follow properly.

On the forum, I will post a brief textual tutorial for building your own PS4 Linux distro from scratch. For a complete detailed tutorial, please visit my article on the blog.

Requirements
1. ISO of the distro
2. VirtualBox
3. VirtualBox Extension Pack
4. USB drive
You can check our Downloads section for these.

Build your first PS4 Linux distro
I am going to divide the whole tutorial into 4 different parts

Part 1. Setup & install Linux to Virtual Machine
1. Install VirtualBox and Extension pack.
2. Setup a New VM on VirtualBox with atleast 12GB of space.
3. Install the Linux distro on it. Make sure you have a single partition mounted to /.

Detailed Video Tutorial for Part 1


Part 2. Install & Uninstall Packages, Update system
I will be showing the example for Fedora, but, if you need instructions for Ubuntu based distros, check the article.
1. Remove unnecessary packages. Eg.-
Code:
sudo dnf remove clipit
2. Install necessary packages. I would suggest you to check the command database for installing the most popular apps including Steam, Wine, Lutris, etc.
3. To update the system,
Code:
sudo dnf update

Detailed Video Tutorial for Part 2


Part 3. Install Linux drivers for the PS4
1. Download the Linux drivers for your distro from here.
2. Install them on Fedora by going into the folder one by one (for 64 bit and 32 bit) and run
Code:
sudo yum reinstall *.rpm
If you face driver conflicts, you will have to remove the older drivers. Instructions for the same can be found here.

Detailed Video Tutorial for Part 3


Part 4. Backup distro for installation on PS4
1. While on the distro on the Virtual machine, change directory to root by typing
Code:
cd /
2. Run
Code:
sudo tar -cvf ps4linux.tar.xz --exclude=/ps4linux.tar.xz --exclude=/var/cache --one-file-system / -I "xz -9"
3. After the process is complete, you will find the ps4linux.tar.xz in the root of your Linux filesystem.
4. Mount USB and copy the archive to USB for installation.

Detailed Video Tutorial for Part 4


And, that's it. You are ready to install the distro on your PS4. Btw, if you are looking to save time on installation, I suggest you check this article out where I show you a faster method of installation.

If you have any queries, please comment below or on my blog.

 

noob404

Well-Known Member
OP
Newcomer
Joined
May 25, 2020
Messages
81
Trophies
0
Age
31
XP
502
Country
Guinea
Thanks for all the love, guys! Means a lot. Also, thanks to the mod who moved the tutorial to the front page.
 
  • Love
Reactions: Flame

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Reminds me of that one Spanish guy who was in here a week or so ago, that wouldn't translate their messages.
  • Arne214 @ Arne214:
    ok sry
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I don't remember him
    +1
  • BigOnYa @ BigOnYa:
    @SylverReZ Si means yes, no means maybe
    +2
  • Xdqwerty @ Xdqwerty:
    @Arne214, it's fine but dont ask for roms here again
    +2
  • SylverReZ @ SylverReZ:
    @BigOnYa, I only know very little Spanish, haven't done it in 5 years lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, que tan poco?
  • BigOnYa @ BigOnYa:
    I took 3 years of Spanish in high school, ages ago but don't remb most of it. Like they say, if you don't use it, you lose it.
  • SylverReZ @ SylverReZ:
    @Xdqwerty, A bit. I only know greetings and some other parts. Its quite an easy language to learn.
  • SylverReZ @ SylverReZ:
    But I don't remember most of it.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, easy to learn despite having some relatively complex rules
    +1
  • D @ dadadad:
    Should I just accept that I won't play this game anymore, or is there a way to solve this problem?
  • BigOnYa @ BigOnYa:
    For some reason I remember a bunch of swear words tho, lol
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, cuz we swear more than talk normally i guess
    +2
  • BigOnYa @ BigOnYa:
    @dadadad I would do like @The Real Jdbye said, they are very wise.
    +2
  • D @ dadadad:
    блядь
  • Xdqwerty @ Xdqwerty:
    yawn
  • BigOnYa @ BigOnYa:
    You get your nap today?
  • K3Nv2 @ K3Nv2:
    With your wife
    +2
  • BigOnYa @ BigOnYa:
    Tell that B to bring me home some dinner, when you done with her...
  • K3Nv2 @ K3Nv2:
    Mrs.B is what I call her she said she left you a $10 jack in the box giftcard
  • BigOnYa @ BigOnYa:
    Oh ok, cool thanks, I found it
  • BigOnYa @ BigOnYa:
    Hey Kennyboy, have you found any decent mini Pc for around $200-250? Fast enough to play most Pc games.
  • K3Nv2 @ K3Nv2:
    I'd say save another $100 anythtwith 8core upgradeable ram I'm thinking about ordering the acemagic still
    K3Nv2 @ K3Nv2: I'd say save another $100 anythtwith 8core upgradeable ram I'm thinking about ordering the...