PS4 News on Facebook! PS4 News on Twitter! PS4 News on YouTube! PS4 News RSS Feed!

Home PS4 News - Latest PlayStation 4 and PS3 News

217w ago - Today PlayStation 3 hacker Graf Chokolo has posted that he has successfully installed Gentoo Linux on the PS3 internal hard disk drive.

To quote from his update: 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.

Graf Chokolo Installs Gentoo Linux on PS3 Internal HDD

Follow us on Twitter, Facebook and drop by the PS3 Hacks and PS3 CFW forums for the latest PlayStation 3 scene and PS4 Hacks & JailBreak updates with PlayStation 4 homebrew PS4 Downloads.




#26 - jerryxjtu - 215w ago
jerryxjtu's Avatar
I get the point. kernel_load checked the LOAD's MemSiz from program header, not add all need sections's size from section header. And this is a memory limit for 12M to relocate kernel image.

12M is not enough for kernel running. But as .bss not need to loaded(ALL ZERO), and will be clear by kernel, and kernel can access more memory. So just ignore .bss

Program Headers:

[Register or Login to view code]


Now it works, Here is the console log.

[Register or Login to view code]


#25 - jerryxjtu - 215w ago
jerryxjtu's Avatar
BootOS failed to boot vmlinux. I used bootos to tftping and booting vmlinux, both linux-2.6 and ps3-linux show me { PHDR out of bounds },Petitboot can boot up, but can't detect usb keypad.

{ PHDR out of bounds } actually not because TEXT section too large, seems like int kernel_load(const u8 *addr, u32 len) at ${BOOTOS_SRC}/stage2/kernel.c, phdr->p_memsz get incorrect size.

Any suggestion for this? Thanks!

ENV:
Code for bootos;install-bootos;lv2pathcer is from:
http://git.dukio.com/gitweb.cgi
CFW 3.55
Corss Compiler:
gcc 4.4.4
Binutils 2.20.1.20100303

linux-2.6 -> http://git.dukio.com/gitweb.cgi?p=linux-2.6;a=summary
root@Compiler:/home/jerry/workspace/ps3dev/linux-2.6# powerpc64-linux-readelf -S ./vmlinux.stripped
There are 37 section headers, starting at offset 0x644b40:

[Register or Login to view code]


Bootos used 0x6c as the .TEXT size, but readelf don't think so.

#24 - nipsen - 216w ago
nipsen's Avatar
Thank you, Graf. This is going to be very useful for learning to write spu-code. No substitute for running it in real time. Fantastic work.

#23 - likhmilta - 216w ago
likhmilta's Avatar
Graf chokolo is one of the best !

#22 - B4rtj4h - 217w ago
B4rtj4h's Avatar
Eh xD... seems some people read WRONG or i WRITE wrong.

I meant. So it's possible to install linux on a 3.6 FW ? (hacked because it's NOT official)

#21 - Luisp1nt0 - 217w ago
Luisp1nt0's Avatar
Exactly, this is nothing to do with games it's about getting back Linux...

#20 - daveribz - 217w ago
daveribz's Avatar
Quote Originally Posted by B4rtj4h View Post
So we almost hacked 3.6 with linux... but with the next update it will be history or is this permanent ?

Lol.. We didn't on 3.60 with Linux. graf_chokolo is enabling us to install a Linux distro with access to all the PS3's hardware/software control, separated from GameOS. This means you can have both installed, just like the old OtherOS option, but with waaaaay more liberty and control!

#19 - Brenza - 217w ago
Brenza's Avatar
Only one word: awesome.

I think i'll install it very soon!

#18 - B4rtj4h - 217w ago
B4rtj4h's Avatar
So we almost hacked 3.6 with linux... but with the next update it will be history or is this permanent ?

#17 - dok2033 - 217w ago
dok2033's Avatar
THX body, so finally just the last step and it will be ST.