Skip to content

Instantly share code, notes, and snippets.

@super-dog-human
Last active November 15, 2025 04:01
Show Gist options
  • Select an option

  • Save super-dog-human/66c786093548cd74ce25f4698d89b754 to your computer and use it in GitHub Desktop.

Select an option

Save super-dog-human/66c786093548cd74ce25f4698d89b754 to your computer and use it in GitHub Desktop.

UEFI

  • turn off Secure Boot

boot from USB stick

  • connect USB stick
  • press F12

initial settings

loadkeys jp106
setfont ter-128b
timedatectl

WiFi Settings

iwctl
[iwd]# device list
[iwd]# station wlan0 scan
[iwd]# station wlan0 get-networks
[iwd]# station wlan0 connect FooSSID

ping ping.archlinux.org

format Disk

type 1 is EFI System. type 19 is swap.

fdisk /dev/nvme0n1
p
d
3
n
3
w

mkfs.ext4 /dev/nvme0n1p3
mkswap /dev/nvme0n1p2
mkfs.fat -F 32 /dev/nvme0n1p1

mount /dev/nvme0n1p3 /mnt
mount --mkdir /dev/nvme0n1p1 /mnt/boot
swapon /dev/nvme0n1p2

Install and settings up linux

vim /etc/pacman.d/mirrorlist
pacstrap -K /mnt base linux linux-firmware
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
hwclock --systohc
locale-gen
echo LANG=ja_JP.UTF-8 > /etc/locale.conf
echo KEYMAP=jp106 > /etc/vconsole.conf
echo wu5k3 > /etc/hostname
vim /etc/hosts
127.0.0.1    localhost
::1    localhost
127.0.1.1    wu5k3.localdomain    wu5k3
pacman -S grub
pacman -S efibootmgr
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
grub-mkconfig -o /boot/grub/grub.cfg

passwd
useradd -m -g users -G wheel -s /bin/bash superdog
passwd superdog

pacman -S sudo
visudo

pacman -S iwd
sudo systemctl enable --now iwd
sudo systemctl enable --now systemd-resolved

pacman -S terminus-font
echo 'FONT=ter-128b' | sudo tee -a /etc/vconsole.conf

exit
reboot

and settings for me...

sudo pacman -S xf86-video-intel
sudo pacman -S plasma-meta sddm
sudo systemctl enable sddm

Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment