Sponsored Links

Sponsored Links

Graf Chokolo Installs Gentoo Linux on PS3 Internal HDD


Sponsored Links
178w 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 and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 26 Comments - Go to Forum Thread »

• Please Register at PS3News.com or Login to make comments on Site News articles. Thanks!

jerryxjtu's Avatar
#26 - jerryxjtu - 176w ago
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:


Now it works, Here is the console log.


jerryxjtu's Avatar
#25 - jerryxjtu - 176w ago
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:


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

nipsen's Avatar
#24 - nipsen - 177w ago
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.

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

B4rtj4h's Avatar
#22 - B4rtj4h - 177w ago
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







Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News