Skip to content

first release

Latest

Choose a tag to compare

@andreacampanella andreacampanella released this 22 Oct 11:10

Linux for the PlayStation 2: the first public release.

The file

meta-playstation2-1.2-usb.wic.gz is the image of a USB drive: the kernel
(VMLINUZ.ELF on a FAT partition), the root file system and a swap partition.

What you need

  • A fat PlayStation 2 with the expansion bay (SCPH-10000 to SCPH-50xxx).
    Tested on a PAL SCPH-3x000.
  • A way to start an ELF file, for example uLaunchELF with FreeMcBoot.
  • A USB drive of 2 GB or more, and a USB keyboard.

Write the image to the USB drive

All data on the drive is lost.

Linux:

  1. Find the drive with lsblk, for example /dev/sdX.
  2. zcat meta-playstation2-1.2-usb.wic.gz | sudo dd of=/dev/sdX bs=4M conv=fsync status=progress

macOS:

  1. Find the drive with diskutil list, for example /dev/disk4.
  2. diskutil unmountDisk /dev/disk4
  3. gunzip -c meta-playstation2-1.2-usb.wic.gz | sudo dd of=/dev/rdisk4 bs=4m
  4. diskutil eject /dev/disk4

Windows:

  1. Install balenaEtcher (https://etcher.balena.io).
  2. Select the .wic.gz file as it is (no need to unpack it), select the USB
    drive, and click Flash.
  3. Windows then says that it cannot read the drive and offers to format
    it. Click Cancel: the console reads it, Windows does not.

balenaEtcher also works on Linux and macOS.

Start

  1. Connect the drive to the console. In uLaunchELF, start mass:/VMLINUZ.ELF.
  2. Log in as root. There is no password, also over SSH. Set one with passwd.

The login banner lists the commands. The games need their data files in
~/games//, and each folder has a README.txt that says which files.
No game data is included. Freedoom is included, so ps2-doom works at once.