[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
79
Trophies
0
Age
30
XP
389
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
General chit-chat
Help Users
  • No one is chatting at the moment.
  • mthrnite @ mthrnite:
    they're flying to bermuda for the 4th dahling
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Damn mexicans, their 4th of July will be baseball and tacos
    Gift
  • KenniesNewName @ KenniesNewName:
    Or Florida psi will have a field day
    Gift
  • KenniesNewName @ KenniesNewName:
    More old people for him to run over
    Gift
  • mthrnite @ mthrnite:
    i was worried about the mexicans at first, got a lot of em all at once, but turns out they're cool
    Gift
  • KenniesNewName @ KenniesNewName:
    Mexican people are more generally respectable than people born here
    Gift
  • mthrnite @ mthrnite:
    yeah most of my most trusted folks are from down there
    Gift
  • mthrnite @ mthrnite:
    great family attitude, and they'll fuckin feed your ass
    Gift
  • KenniesNewName @ KenniesNewName:
    It was fun working with them most the time wed play with medical equipment when I did janitorial at the hospital
    Gift
  • Dark_Phoras @ Dark_Phoras:
    It's a miracle that mexicans seem to have good food, because spanish food is
    garbage
    Gift
  • mthrnite @ mthrnite:
    lol
    Gift
  • mthrnite @ mthrnite:
    cmon it can't be that bad can it
    Gift
  • KenniesNewName @ KenniesNewName:
    Taco bell is Mexican foodz
    Gift
  • KenniesNewName @ KenniesNewName:
    Ran by white people
    Gift
  • KenniesNewName @ KenniesNewName:
    #BringBackMexicanPizza
    Gift
  • mthrnite @ mthrnite:
    we sell mediterranean food at my joint but all the cooks are mexican
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Maybe I haven't eaten proper spanish food yet, but I tried paella and tortilla and never again
    Gift
  • mthrnite @ mthrnite:
    and awesome, masters of the culinary arts, they can make good stuff outta next to nothing, it's amazing
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Crema catalana is a very tasty dessert, I dare say
    Gift
  • mthrnite @ mthrnite:
    well i think southern desserts are very special, quite fond of banana puddin
    Gift
  • mthrnite @ mthrnite:
    and chocolate eclair pie, and anniversary cake, shit makes you fat in minutes tho
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Banana pudding looks good, it reminds me of tiramisu and bolo de bolacha
    Gift
  • mthrnite @ mthrnite:
    tiramisu rocks
    Gift
  • KenniesNewName @ KenniesNewName:
    I'm out of ranch D:
    Gift
  • Gift
    DEMONGreninjaPG @ DEMONGreninjaPG: @NeoGaming chats dead