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.
Mount the PS4 HDD:
bashsudo mkdir -p /mnt && sudo mount /dev/mapper/ps4hdd /mntCreate a second
linux.imgfile (replace125with how much storage you want;Gis required):bashsudo truncate -s 125G /mnt/home/linux2.imgMake it mountable (keep this terminal open until the end, the next steps use
$LOOP):bashLOOP=$(sudo losetup -f --show /mnt/home/linux2.img) echo $LOOP
Here, you have two paths:
Btrfs
Install the package required to format this file as Btrfs:
bashsudo pacman -Sy btrfs-progsFormat the file as Btrfs:
bashsudo mkfs.btrfs $LOOP
Ext4 (dont use this)
Format the file as Ext4:
bashsudo mkfs.ext4 $LOOP
Continue (both paths)
Mount the file:
bashsudo mkdir -p /tmp/newroot && sudo mount $LOOP /tmp/newrootFlash the system onto the file (this will take a while, hydrate yourself):
bashsudo tar -xvJpf /mnt/system/boot/distro.tar.xz -C /tmp/newroot --numeric-ownerUnmount everything before you reboot, or the new image can lose data:
bashsudo umount /tmp/newroot sudo losetup -d $LOOP sudo umount /mnt syncReboot to Orbis, delete
/user/home/linux.img, and rename/user/home/linux2.imgto/user/home/linux.img.Boot back into Linux.
Finale
Go now, conquer the finale. Also, read the post-credit stuff.