Skip to content

Instantly share code, notes, and snippets.

@andshrew
andshrew / ps3_hdd_expansion_notes.md
Last active December 13, 2023 12:12
PS3 Linux / NetBSD 6.0 HDD Partition Expansion

Cloning (and expanding) a 60GB PS3 HDD to a 320GB HDD

These are the steps that were taken to clone a 60GB PlayStation 3 (PS3) HDD to a 320GB HDD, and then expand the USERDATA partition to the full size of the new disk using a NetBSD VM.

Clone the Drive

The original 60GB HDD was cloned to an image using ddrescue.

Original disk: /dev/loop0 (mounted 60GB HDD image file) New Disk: /dev/sdd (320GB HDD)

@andshrew
andshrew / ps3_hdd_decryption_notes.md
Last active March 28, 2024 20:23
PS3 Linux / FreeBSD Drive Decryption Notes

These are the steps I took on Linux Mint using the PS3 HDD decryption helper

Reference discussion: HDD mounting and decryption on Linux

Install qemu for PowerPC64 and download FreeBSD Image

  1. qemu-system-ppc64 is used to emulate a PowerPC CPU
    Install via:
    sudo apt install qemu-system-ppc
  2. FreeBSD has some instructions for using qemu with PowerPC64 here.
    They have pre-built disk files which you can download here.
[15:41:03.958] find_and_parse_output_edid connector:19 count_props 3
[15:41:03.958] find_and_parse_output_edid idx 0 prop EDID 1 1 value 0 0 cnt 0
[15:41:03.958] find_and_parse_output_edid idx 1 prop DPMS 2 2 value 3 0 cnt 0
[15:41:03.959] find_and_parse_output_edid idx 2 prop CRTC_ID 15 15 value 0 0 cnt -858993460
[15:41:03.959] find_and_parse_output_edid can not find edid blob for connecotr 19
[15:41:03.959] Output: 1,create_output_for_connector
[15:41:03.959] Output HDMI-A-1, (connector 19, crtc 30)
mode 1280x720@60.0, current, built-in