Jump to content
fx0day

[Tutorial] Running Ubuntu (or others) on PS4

Recommended Posts


We need :

1 PS4 Fw 1.76

1 Usb Hdd or a Usb Key big enough to install Ubuntu

First you need to install Ubuntu on your Usb Hdd :

Download the Iso 

Copy the iso to Usb with a tool like unetbootin (Win/mac/linux)  https://unetbootin.github.io/ (You can burn on a Dvd also)

Boot on this Usb or Dvd

Launch Install on your Usb HDD or Usb key (you can make small partition in Fat32 for Bzimage and initramfs) and the rest in Ext4

 

I've used the ubuntu-14.04.4-desktop-amd64.iso and made the install on my Usb Hdd (with a PC of course) , nothing more to say here just configure your keyboard layout , password ...)

So now you should have Ubuntu installed on your Usb Hdd ...

Now go to the PS4-Playground and load Linux (you must have of course a usb key with bZimage & initramfs.cpio.gz in the PS4)

Now you should see better-initramfs shell ...

 

dZtjTG.jpg

 

Plug the Usb Hdd where you have your ubuntu install (At this point you can remove the Usb key with bZimage & initramfs.cpio.gz everything is in RAM)


Type fdisk -l to see the name of your Usb Hdd ( /dev/sdXX)

 

wyNxnq.jpg

 

As you can see my ubuntu partition is in /dev/sdc1


Now just type (if your bootable partition is sdc1)

 

mount /dev/sdc1 newroot/
exec switch_root /newroot/ /newroot/sbin/init

 

Sometimes exec switch_root don't start at the first time , just type the command again ..

 

Wait a few seconds and you should see Ubuntu running ;)

 

xgWTQ4.jpg

 

Keep in mind that there's no network working yet :(

 

Edit : Video is here https://youtu.be/bRKiiv9ATfI

Edited by fx0day
  • Upvote 4

Share this post


Link to post
Share on other sites

I have to extract the files of ubuntu-14.04.4-desktop-amd64.iso and copy to a usb stick (ext4 or fat32) ?

  • Downvote 1

Feel free to show your Mods @ PS4 etreme Modding - This is for the Modders

 

278.jpg

 

Share this post


Link to post
Share on other sites

My question is for everyone now you got Linux working what you going to do with it. Run emulators yes that's fine but breaking the security good luck.

Share this post


Link to post
Share on other sites

Good job @fx0day.

for the net, have you tried Ethernet cable?

 

8 minutes ago, xxmcvapourxx said:

My question is for everyone now you got Linux working what you going to do with it. Run emulators yes that's fine but breaking the security good luck.

you're such a great motivator.

Edited by Zer0xFF
  • Upvote 6

Share this post


Link to post
Share on other sites
2 hours ago, eXtreme said:

I have to extract the files of ubuntu-14.04.4-desktop-amd64.iso and copy to a usb stick (ext4 or fat32) ?

 

On ext4 ;)

 

2 hours ago, Zer0xFF said:

Good job @fx0day.

for the net, have you tried Ethernet cable?

 

 

Yep i have eth0 but not working Atm i'll dig that when i'll have some time ;)

Share this post


Link to post
Share on other sites
3 hours ago, eXtreme said:

I have to extract the files of ubuntu-14.04.4-desktop-amd64.iso and copy to a usb stick (ext4 or fat32) ?

 

On ext4 ;)

 

2 hours ago, Zer0xFF said:

Good job @fx0day.

for the net, have you tried Ethernet cable?

 

 

Yep i have eth0 but not working Atm i'll dig that when i'll have some time ;)

 

I have added a video at the end of the first post ;)

Edited by fx0day

Share this post


Link to post
Share on other sites
6 hours ago, eXtreme said:

I have to extract the files of ubuntu-14.04.4-desktop-amd64.iso and copy to a usb stick (ext4 or fat32) ?

Not extract, install it TO the USB stick.

 

I'm gonna make a small FAT32 partition at the front of the disk then try installing ubuntu to the rest...

Share this post


Link to post
Share on other sites
10 minutes ago, SonyUSA said:

Not extract, install it TO the USB stick.

 

I'm gonna make a small FAT32 partition at the front of the disk then try installing ubuntu to the rest...

 

2 logical partitions (fat32 and ext4) ? I have to install the content of the iso with a tool ? I have a tool but it installs not on DOKAN (ext4) on my stick. Can I install the iso with the tool on a fat32 stick and copy then the files to ext4 partition ?


Feel free to show your Mods @ PS4 etreme Modding - This is for the Modders

 

278.jpg

 

Share this post


Link to post
Share on other sites
10 minutes ago, SonyUSA said:

Not extract, install it TO the USB stick.

 

I'm gonna make a small FAT32 partition at the front of the disk then try installing ubuntu to the rest...

 

2 logical partitions (fat32 and ext4) ? I have to install the content of the iso with a tool ? I have a tool but it installs not on DOKAN (ext4) on my stick. Can I install the iso with the tool on a fat32 stick and copy then the files to ext4 partition ?


Feel free to show your Mods @ PS4 etreme Modding - This is for the Modders

 

278.jpg

 

Share this post


Link to post
Share on other sites

1 Download the Iso 

2 Copy the iso to Usb with a tool like unetbootin (Win/mac/linux)  https://unetbootin.github.io/ (You can burn on a Dvd also)

3 Boot on this Usb or Dvd

4 Launch Install on your Usb HDD or Usb key (you can make small partition in Fat32 for Bzimage and initramfs) and the rest in Ext4

 

For the next steps look at my first post ;)

Edited by fx0day

Share this post


Link to post
Share on other sites
14 minutes ago, fx0day said:

1 Download the Iso 

2 Copy the iso to Usb with a tool like unetbootin (Win/mac/linux)  https://unetbootin.github.io/ (You can burn on a Dvd also)

3 Boot on this Usb or Dvd

4 Launch Install on your Usb HDD or Usb key (you can make small partition in Fat32 for Bzimage and initramfs) and the rest in Ext4

 

For the next steps look at my first post ;)

 

I have used Universal-USB-Installer-1.9.6.4 and it transfers the content of this iso. is the size correct ? 3.796.423.586 Bytes. an error appears: the stick won't be bootable, ist that ok ?


Feel free to show your Mods @ PS4 etreme Modding - This is for the Modders

 

278.jpg

 

Share this post


Link to post
Share on other sites
14 minutes ago, fx0day said:

1 Download the Iso 

2 Copy the iso to Usb with a tool like unetbootin (Win/mac/linux)  https://unetbootin.github.io/ (You can burn on a Dvd also)

3 Boot on this Usb or Dvd

4 Launch Install on your Usb HDD or Usb key (you can make small partition in Fat32 for Bzimage and initramfs) and the rest in Ext4

 

For the next steps look at my first post ;)

 

I have used Universal-USB-Installer-1.9.6.4 and it transfers the content of this iso. is the size correct ? 3.796.423.586 Bytes. an error appears: the stick won't be bootable, ist that ok ?


Feel free to show your Mods @ PS4 etreme Modding - This is for the Modders

 

278.jpg

 

Share this post


Link to post
Share on other sites
5 minutes ago, fx0day said:

I have downloaded this iso.

on the stick: 1.068.028.834 Bytes without casper-rw (2.728.394.752 Bytes)

Edited by eXtreme

Feel free to show your Mods @ PS4 etreme Modding - This is for the Modders

 

278.jpg

 

Share this post


Link to post
Share on other sites
4 minutes ago, eXtreme said:

 

I have used Universal-USB-Installer-1.9.6.4 and it transfers the content of this iso. is the size correct ? 3.796.423.586 Bytes. an error appears: the stick won't be bootable, ist that ok ?

 

I don't think it's going to work if you have an error retry with another tool ;)

 

Share this post


Link to post
Share on other sites
3 minutes ago, fx0day said:

 

I don't think it's going to work if you have an error retry with another tool ;)

 

ok. but can you please confirm the size on your ext4 partition ?


Feel free to show your Mods @ PS4 etreme Modding - This is for the Modders

 

278.jpg

 

Share this post


Link to post
Share on other sites
3 minutes ago, fx0day said:

 

I don't think it's going to work if you have an error retry with another tool ;)

 

ok. but can you please confirm the size on your ext4 partition ?


Feel free to show your Mods @ PS4 etreme Modding - This is for the Modders

 

278.jpg

 

Share this post


Link to post
Share on other sites

The size you want (You need a least 7go if i renember)

 

Just launch the install and let Ubuntu partition the entire disk if you want ;)

 

You can look at my second pic you will see how mine was partitioned ...

 

If you want to use only one disk make a small Fat32 partition (where Bzimage and intramfs will be) and use the rest for Linux  

 

Edited by fx0day

Share this post


Link to post
Share on other sites
8 hours ago, Zer0xFF said:

Good job @fx0day.

for the net, have you tried Ethernet cable?

 

you're such a great motivator.

it hase nothing to do with motivation......while you guys playing with the linus i dump the shit out of my console and reverse and activate what i want ^^
but yea.....linus is the ultimative hacker source for the ps4.... ^^


rsz_2cfwprophet_banner_3.jpg

Share this post


Link to post
Share on other sites
8 hours ago, Zer0xFF said:

Good job @fx0day.

for the net, have you tried Ethernet cable?

 

you're such a great motivator.

it hase nothing to do with motivation......while you guys playing with the linus i dump the shit out of my console and reverse and activate what i want ^^
but yea.....linus is the ultimative hacker source for the ps4.... ^^


rsz_2cfwprophet_banner_3.jpg

Share this post


Link to post
Share on other sites
8 hours ago, Zer0xFF said:

Good job @fx0day.

for the net, have you tried Ethernet cable?

 

you're such a great motivator.

 

you are right, positive thinking is a good motivation but not everyone think like that. we are closer to dump the file system we need ;)


Feel free to show your Mods @ PS4 etreme Modding - This is for the Modders

 

278.jpg

 

Share this post


Link to post
Share on other sites

OK look, grab Oracle VM, make a new VM (Linux, Ubuntu-64bit), attach the .iso to the "dvd drive", plug in your USB stick or External HDD, start the VM with NO virtual disk. Click Devices>USB>Then click on your portable device. Install it to the stick like that, then you're all set ;)

Share this post


Link to post
Share on other sites

About networking , there's a message from kernel who say :

 

Fixme : Use static Mac adress ...

 

I've tried but no luck if others want to test ...

 

Going to sleep and tomorrow , no linux : going to play with Ps4 files like Cfwprophet ;)

 

  • Upvote 1

Share this post


Link to post
Share on other sites

OK look, grab Oracle VM, make a new VM (Linux, Ubuntu-64bit), attach the .iso to the "dvd drive", plug in your USB stick or External HDD, start the VM with NO virtual disk. Click Devices>USB>Then click on your portable device. Install it to the stick like that, then you're all set ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...