Sponsored Links

Sponsored Links

Graf Chokolo Installs Gentoo Linux on PS3 Internal HDD

Sponsored Links
196w 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 [Register or Login to view links].

Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter, Facebook and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene and PlayStation 4 scene updates and fresh homebrew releases!

Comments 26 Comments - Go to Forum Thread »

• Please Register at PS3News.com or Login to make comments on Site News articles.
#26 - jerryxjtu - 194w 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 - 194w 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!

Code for bootos;install-bootos;lv2pathcer is from:
CFW 3.55
Corss Compiler:
gcc 4.4.4

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 - 194w 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 - 194w ago
likhmilta's Avatar
Graf chokolo is one of the best !

#22 - B4rtj4h - 195w 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)


Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links

Advertising - Affiliates - Contact Us - PS3 Downloads - PS3 Forums - Privacy Statement - Site Rules - Top - © 2015 PlayStation 3 News