Follow the instructions in disk partition windows.
Boot into Arch Linux USB Installer which can be done on the SP4 by holding the volume down button on startup.
>Arch Linux archiso x86_64 UEFI USB<
UEFI Shell x86_64 v1
UEFI Shell x86_64 v2
EFI Default Loader
Reboot Into Firmware Interface
[i]Select the first option Arch Linux archiso[/i]
[...]
nvme0n1 259:0 0 238.5G 0 disk
|- nvme0n1p1 259:1 0 260M 0 part
|- nvme0n1p2 259:2 0 128M 0 part
|- nvme0n1p3 259:3 0 174.8G 0 part
|- nvme0n1p4 259:4 0 830M 0 part
Partition nvme0n1 for Linux Swap, use gdisk /dev/nvme0n1
, add +2GB and hex code / GUID 8200. Then format the swap using mkswap /dev/nvme0n1p5
and turn the swap on using swapon /dev/nvme0n1p5
.
Partition nvme0n1 for Linux filesystem, use gdisk /dev/nvme0n1
, use the all the defaults, then format the partition using mkfs.ext4 /dev/nvme0n1p6
gdisk -l /dev/nvme0n1
1 2048 534527 260.0 MiB EF00 EFI system partition
2 534528 796671 128.0 MiB 0C01 Microsoft reserved...
3 796672 367343615 174.8 GiB 0700 Basic data partition
4 498417664 500117503 830.0 MiB 2700 Basic data partition
5 367343616 371537919 2.0 GiB 8200 Linux Swap
6 371537920 498417663 60.5 GiB 8300 Linux Filesystem
mount /dev/nvme0n1p6 /mnt
mount /dev/nvme0n1p1 /mnt/boot
pacstrap -i /mnt base base-devel
genfstab -p /mnt >> /mnt/etc/fstab
arch-chroot /mnt /bin/bash
Nice gist! Thanks. Have you had a chance to use Arch on it very much?