• PS3 Hacks, PS3 Linux , 26.03.2011
    Exciting news from graf_chokolo today, as he reports that he has managed to install Gentoo Linux on internal HDD of a PS3 slim! What he did basically was increase the VFLASH region (independent of GameOS) from 256mb to 40gb.

    To quote:

    Great news, guys I was very busy in the last days and i managed to install Gentoo on the internal HDD of PS3 Slim
    I created a new VFLASH region of size 40GB and installing my Linux kernel there right now And GameOS doesn’t touch this region when i boot it So you can reformat your HDD (but not VFLASH) and Linux will be still there I resized VFLASH from 256MB to about 40GB

    Next steps:
    * Compiling petitboot for PS3
    * Installing petitboot on VFLASH
    * Creating HV CFW which is capable of booting GameOS or petitboot. petitboot can boot Linux (or other OS) from HDD, FLASH, USB, CDROM or NFS (just like 3.15 did it or me on my PS3 3.41)
    * Creating a more user-friendly approach for installing Linux on internal HDD

    BTW, check out my new ps3stor-utils and Linux device driver ps3stormgr. It allows you to create/delete storage regions on PS3 Linux I used it to create a new VFLASH region for Linux.

    Here are my Linux partitions on VFLASH:

    brw-rw—- 1 root disk 253, 112 Mar 25 19:19 /dev/ps3vflashh
    brw-rw—- 1 root disk 253, 113 Mar 25 19:19 /dev/ps3vflashh1
    brw-rw—- 1 root disk 253, 114 Mar 25 19:21 /dev/ps3vflashh2
    brw-rw—- 1 root disk 253, 115 Mar 25 19:23 /dev/ps3vflashh3

    OtherOS++ will be back and even better than my 3.41 version

    HV rules !!!

    Also be sure to check out: PS3 Linux kernel patches for storage devices; GCC 4.3.5 patches here.

    [VIA Graf's Blog]

    Tags: , ,

    Discuss in Forums (21)


  • 21 Comments

    1. Pirate
      03-26-2011
      03:00 PM
      1

      Just beat me to it . Moved to front page.

    2. iMan89DK
      03-26-2011
      03:01 PM
      2

      Ur a goddamn saint! I LOVE THIS SCENE!!

    3. bobbintb
      03-26-2011
      03:05 PM
      3

      nice. very interested into seeing this play out. i would like to dabble in building a ps3 cluster but without the hardware locked down like it has been.

    4. carldenning
      03-26-2011
      03:09 PM
      4

      well done graf_chokolo on all your hard work ,

    5. yoraco
      03-26-2011
      03:12 PM
      5

      graf you are the best!
      in german:
      du bist der beste!

    6. samide
      03-26-2011
      03:20 PM
      6

      man there is no words to describe your hardwork !! every time I see your name in the site I move quickly to the post to read about the creative things that you are doing ! ur simply awesome continue ur hard work and we all support u !

    7. alienkid
      03-26-2011
      03:22 PM
      7

      ..wow!

      What if themes could utilize that approach?

    8. MysterySword
      03-26-2011
      03:49 PM
      8

      Originally Posted by alienkid View Post
      ..wow!

      What if themes could utilize that approach?
      Booting up at startup? Yeah, that would be a good idea. Then again, it'd be possible to scrap the whole GameOS and make a whole new interface (almost like iRshell for PSP).

    9. alienkid
      03-26-2011
      03:59 PM
      9

      Yeah, exactly what I'm thinking about. Or at least allocating resources to move the XMB around..

    10. Annelies
      03-26-2011
      04:52 PM
      10

      Sorry or being a Linux noob, but is Gentoo better than YDL?


      Sent from my iPod touch using Tapatalk

    11. finalfantasyx
      03-26-2011
      05:01 PM
      11

      great man with great purpose

    12. davidbb
      03-26-2011
      05:02 PM
      12

      Originally Posted by Annelies View Post
      Sorry or being a Linux noob, but is Gentoo better than YDL?


      Sent from my iPod touch using Tapatalk
      Personally speaking, Yes, but linux has so many variations you will never get a realistic view of which is better, each one has it's own qualities and with that each one also has it's own fans.

    13. OoZic
      03-26-2011
      06:06 PM
      13

      Originally Posted by davidbb View Post
      Personally speaking, Yes, but linux has so many variations you will never get a realistic view of which is better, each one has it's own qualities and with that each one also has it's own fans.
      Correct, but not al distro's have PPC compatibility, only a few.

      Great job again Graf, I can say that several times a week and every time I'm serious about it. It is almost if Sony's threads make him work harder

    14. lisapower
      03-26-2011
      06:07 PM
      14

      Fantastic, well done!!

    15. lernatix
      03-26-2011
      06:34 PM
      15

      Slims and Gentoo. Two things I hate with a passion.
      What an amazing guy.

    16. Tokobo
      03-26-2011
      08:25 PM
      16

      Hope to see a tutorial and a phat version soon!

    17. MysterySword
      03-26-2011
      08:46 PM
      17

      Man, Gentoo. Well, since you have to compile from source, I guess it'd run pretty well on the PS3. That takes hours to install on the PS3, I assume.

      Originally Posted by Annelies View Post
      Sorry or being a Linux noob, but is Gentoo better than YDL?
      I don't believe YDL is a distro where you have to compile everything from source like you have to with Gentoo (I don't know much about YDL).

    18. lernatix
      03-27-2011
      04:58 AM
      18

      Yeah, better is a STRONG word here. YDL was EASIER!

    19. advocatusdiaboli
      03-27-2011
      07:06 AM
      19

      This is really nice!

      If I read this correctly, any FW will be installable with such a loader in VFLASH. Or am I wrong? We can perhaps go back to 2.35 and enjoy the most problem free version of the FW ever.

      And at the same time have a multi boot into linuxPPC, MacOS Tiger or Rhapsody DR2, MythTV PPC, AmigaOS or whatever runs on a PS3.

      Gentoo is especially nice for platforms that are not yet supported 100% as it compiles from source, and can recompile when updates to the devkit exists.

      But if you have installed one linux distro, changing is not that hard, especially if going to an apt-based one, debootstrap is the tool to migrate the system: most of these should be debootstrapable.

      BTW it has been possible to install whatever on the internal HDD since the beginning yet not bootable, the clue with this is that graf is able to make it boot.

      But will this new approach support bigger HDDs? Is it possible to have 1TB GameOS and 1.2TB Linux?

    20. profixit
      03-27-2011
      08:12 AM
      20

      Amazing work.

      I remember reading that "Linux on ps3 is no more than a toy" it will never be a serious Linux machine, because of 256mb VFLASH limitations and something to do with this particular cell processor architecture.

      I'm not sure if you've proved half of the above paragraph to be wrong.

      I look ford to reading all your work and the practical exercises.

      I love you..Man

      I'd like to see a system block diagram, to help me understand how you achieved that extra Vflash.

    21. ssman807
      05-18-2011
      11:55 AM
      21

      Has anyone seen some good instructions (step by step) on how Graf installs linux using petitboot? How does he fdisk the vflash region ps3vflashh?

      I have a ps3 with petitboot and tried installing YDL but it would not boot afterward because it wipes out the hard drive.

      So if anyone is successful and has some good instructions, then please let me know.

      thanks,
      ssman807