The configuration package valve/deck is for the Steam Deck by Valve.
Reference:
- https://en.wikipedia.org/wiki/Steam_Deck
- https://help.steampowered.com/en/faqs/view/69E3-14AF-9764-4C28
- https://github.com/mikeroyal/Steam-Deck-Guide
- https://steamdeck-packages.steamos.cloud/archlinux-mirror/sources/jupiter-beta/
Set the comma-separated SKIFF_CONFIG
variable:
$ export SKIFF_CONFIG=valve/deck,skiff/core
$ make configure # configure the system
$ make compile # build the system
Once the build is complete, we will flash to a MicroSD card to boot. You will
need to sudo bash
for this on most systems.
$ sudo bash # switch to root
$ export INTEL_DESKTOP_DISK=/dev/sdz # make sure this is right! (usually sdb)
$ make cmd/intel/desktop/format # tell skiff to format the device
$ make cmd/intel/desktop/install # tell skiff to install the os
You only need to run the format
step once. It will create the partition table.
The install
step will overwrite the current Skiff installation on the card,
taking care to not touch any persistent data (from the persist partition). It's
safe to upgrade Skiff independently from your persistent data.
To access the boot menu, power on the device while holding volume-down.
Use the d-pad to select "Boot menu."
Select the "EFI SD Card" to boot from the MicroSD.
You can connect to the deck via SSH, see the SkiffOS readme for more info.
NOTE: these instructions may cause issues, proceed at your own risk!
You can install SkiffOS on the NVME drive once you have booted to the SD card.
- Boot SkiffOS on the SD card and ssh in.
- Enter the parted prompt with
parted /dev/nvme0n1
- Wipe the drive with
mklabel gpt
. mkpart primary fat32 1049kB 538MB
name 1 EFI
set 1 boot on
mkpart primary ext4 538MB "100%"
name 2 SKIFFOS
- Type
quit
and press enter to exit parted. partprobe /dev/nvme0n1
mkfs.vfat -n EFI -F 32 /dev/nvme0n1p1
mkfs.ext4 -F -L "SKIFFOS" /dev/nvme0n1p2
mkdir -p /mnt/nvme/efi /mnt/nvme/persist /mnt/efi
mount /dev/mmcblk0p1 /mnt/efi
mount /dev/nvme0n1p1 /mnt/nvme/efi
mount /dev/nvme0n1p2 /mnt/nvme/persist
rsync -rav /mnt/efi/ /mnt/nvme/efi/
rsync -rav /mnt/persist/boot/ /mnt/nvme/persist/boot/
- Edit /mnt/nvme/persist/boot/refind_linux.conf and change
root=PARTUUID=...
toroot=/dev/nvme0n1p2
sync
reboot
After rebooting, the system will reboot into SkiffOS from the NVME drive.
You can format the SD card as storage after connecting to your Deck:
- Boot SkiffOS on the Steam Deck with the SD card removed.
- SSH to the deck.
- Insert the SD card.
- Enter the parted prompt with
parted /dev/mmcblk0
- Wipe the SD card with
mklabel gpt
mkpart primary ext4 0% 100%
name 1 STORAGE
- Type
quit
and press enter to exit parted. partprobe /dev/mmcblk0
mkfs.ext4 -F -L "STORAGE" /dev/mmcblk0p1
The MicroSD card can then be mounted: mkdir -p /mnt/sd && mount /dev/mmcblk0p1 /mnt/sd