Skip to content

Internal HDD Install with a Different File System ​

Here you'll set up the internal HDD for installation of a Linux distro. again?

WARNING

This is slow on an HDD. Be careful and prepare your balls for imminent explosion.

However, if you've swapped your internal HDD for an SSD, this doesn't apply.

Pre-Setup ​

Follow the Internal Installation guide. Instead of picking the size you want, pick 8GB for the storage, as this is temporary.

Setup ​

Once you're in the operating system, you will need to create a second linux.img file.

  1. Mount the PS4 HDD:

    bash
    sudo mkdir -p /mnt && sudo mount /dev/mapper/ps4hdd /mnt
  2. Create a second linux.img file (replace 125 with how much storage you want; G is required):

    bash
    sudo truncate -s 125G /mnt/home/linux2.img
  3. Make it mountable (keep this terminal open until the end, the next steps use $LOOP):

    bash
    LOOP=$(sudo losetup -f --show /mnt/home/linux2.img)
    echo $LOOP

Here, you have two paths:

  1. Btrfs (recommended)
  2. Ext4 (already done on new initramfs)

Btrfs ​

  1. Install the package required to format this file as Btrfs:

    bash
    sudo pacman -Sy btrfs-progs
  2. Format the file as Btrfs:

    bash
    sudo mkfs.btrfs $LOOP

Ext4 (dont use this) ​

  1. Format the file as Ext4:

    bash
    sudo mkfs.ext4 $LOOP

Continue (both paths) ​

  1. Mount the file:

    bash
    sudo mkdir -p /tmp/newroot && sudo mount $LOOP /tmp/newroot
  2. Flash the system onto the file (this will take a while, hydrate yourself):

    bash
    sudo tar -xvJpf /mnt/system/boot/distro.tar.xz -C /tmp/newroot --numeric-owner
  3. Unmount everything before you reboot, or the new image can lose data:

    bash
    sudo umount /tmp/newroot
    sudo losetup -d $LOOP
    sudo umount /mnt
    sync
  4. Reboot to Orbis, delete /user/home/linux.img, and rename /user/home/linux2.img to /user/home/linux.img.

  5. Boot back into Linux.

Finale ​

Go now, conquer the finale. Also, read the post-credit stuff.