Void

Login

login: root
password: voidlinux

Installer

void-installer # <  OK  >

Install Void

  • Keyboard
    • us
    • jp106
  • Network
    • Ethernet
      • < OK >
    • Wi-Fi
      • SSID-ABC123
      • wpa
      • PASS-ABC123
  • Source
    • Network
  • Mirror
    • Tier 1: Latest
    • Tier 2: Old
  • Hostname
    • void
  • Locale
    • ja_JP.UTF-8
  • Timezone
    • Asia
      • Tokyo
  • RootPassword
    • void
  • UserAccount
    • Full: Void User
    • Name: void
    • Pass: void
  • BootLoader
    • /dev/sda
  • Partition EFI (Latest)
    • /dev/sda: fdisk
      • gpt: g
      • write: w
    • /dev/sda: cfdisk
      • sda1: 2G: EFI
      • sda2: 16G: SWAP
      • sda3: ALL: Linux
  • Filesystems EFI (Latest)
    • /dev/sda
      • sda1: efi: /boot/efi
      • sda2: swap: swap
      • sda3: ext4: /
  • Partition MBR (Old)
    • /dev/sda: fdisk
      • dos: o
      • write: w
    • /dev/sda: cfdisk
      • sda1: 16G: SWAP
      • sda2: ALL: Linux: Bootflag: True (Enable Booting)
  • Filesystems MBR (Old)
    • /dev/sda
      • sda1: swap: swap
      • sda2: ext4: /
  • Install
    • < OK >
  • Reboot
    • < Yes >

Login

login: void
password: void

  • Raspberry Pi
  • Swapon (Raspberry Pi)
    1
    2
    3
    4
    5
    6
    sudo dd if=/dev/zero of=/swapfile bs=1M count=4096 status=progress
    sudo chmod 0600 /swapfile
    sudo mkswap /swapfile
    
    # sudo nvim /etc/fstab
    /swapfile none swap sw 0 0
    
  • Update (Raspberry Pi)
    1
    2
    3
    # SSL_connect returned 1
    SSL_NO_VERIFY_PEER=true xbps-install -Su xbps
    SSL_NO_VERIFY_PEER=true xbps-install -Su
    
  • Check Wi-Fi Setting

    su -c 'cat /etc/wpa_supplicant/wpa_supplicant.conf'

  • Wi-Fi SSID & PASS Setting

    su -c 'wpa_passphrase SSID-ABC123 PASS-ABC123 >> /etc/wpa_supplicant/wpa_supplicant.conf'

Install Xfce4 Base Desktop (Intel CPU & Intel GPU)

1
2
3
4
5
sudo xbps-install -S xorg-minimal xorg-video-drivers xorg-input-drivers lightdm lightdm-gtk-greeter xfce4 gvfs rsyslog
sudo xbps-install -S xfce4-pulseaudio-plugin xfce4-power-manager xfce4-clipman-plugin thunar-archive-plugin
sudo xbps-install -S noto-fonts-ttf noto-fonts-cjk noto-fonts-emoji nerd-fonts-otf
sudo xbps-install -S git curl conky xclip neovim firefox python3-pipx
sudo xbps-install -S arc-theme papirus-icon-theme
# sudo nvim /etc/X11/xorg.conf
Section "Device"
    Identifier "GPU0"
    Driver "modesetting"
EndSection

# sudo nvim /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=igfx_off"

sudo update-grub

# Intel Video Acceleration
sudo xbps-install -S libva-utils intel-gpu-tools mesa-intel-dri intel-video-accel linux-firmware-intel
vainfo

# sudo nvim /etc/profile.d/accel.sh
export LIBVA_DRIVER_NAME=iHD

# sudo nvim /etc/modprobe.d/i915.conf
options i915 enable_rc6=0 enable_fbc=1

sudo dracut --force

sudo ln -s /etc/sv/dbus /var/service
sudo ln -s /etc/sv/lightdm /var/service
sudo ln -s /etc/sv/rsyslogd /var/service
GPU 世代 GPU 名称 推奨 VA‑API ドライバ
2nd Gen HD 2000 / HD 3000 i965
3rd Gen HD 2500 / HD 4000 i965
4th Gen HD 4200 - HD 5000 i965
5th Gen HD 510 / HD 5500 - HD 6000 (Broadwell) iHD 推奨(古いドライバで動くことはあるが非推奨)
6th Gen HD / UHD 610 - 630 (Skylake) iHD
7th Gen UHD 610 / 620 / 630 / Iris Plus (Kaby Lake) iHD
8th Gen UHD 600 系 (Coffee Lake) iHD
9th Gen UHD 600 系 (Coffee Lake Refresh) iHD
10th Gen Iris Xe (Ice Lake / Tiger Lake) iHD
11th Gen Intel Xe Graphics (Rocket Lake) iHD
12th Gen Intel Xe Graphics (Alder Lake) iHD
13th Gen Intel Xe Graphics (Raptor Lake) iHD
14th Gen Intel Xe Graphics (Meteor Lake / beyond) iHD

Install Desktop Audio

sudo xbps-install -S rtkit pipewire pavucontrol
1
2
3
4
5
6
7
# Xfce4 Autostart: pipewire
sudo ln -s /etc/sv/rtkit /var/service
sudo mkdir -p /etc/pipewire/pipewire.conf.d
sudo cp /usr/share/pipewire/pipewire.conf /etc/pipewire/
sudo cp /usr/share/pipewire/pipewire-pulse.conf /etc/pipewire/
sudo ln -s /usr/share/examples/wireplumber/10-wireplumber.conf /etc/pipewire/pipewire.conf.d/
sudo ln -s /usr/share/examples/pipewire/20-pipewire-pulse.conf /etc/pipewire/pipewire.conf.d/
1
2
3
4
# sudo nvim /etc/pipewire/pipewire.conf
# sudo nvim /etc/pipewire/pipewire-pulse.conf
nice.level   = -15
rt.prio      = 99

Install Japanese IME

sudo xbps-install -S flatpak
flatpak remote-add --user flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user org.fcitx.Fcitx5
flatpak install --user org.fcitx.Fcitx5.Addon.Mozc

# Autostart
flatpak run org.fcitx.Fcitx5

sudo localedef -f UTF-8 -i ja_JP ja_JP.UTF-8
# sudo nvim /etc/locale.conf
LANG=ja_JP.UTF-8
LC_COLLATE=C

# Settings
XIM: Enable, Theme: Dark, Switch: Shift+Space
1
2
3
4
# sudo nvim /etc/profile.d/fcitx.sh
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx

Install Bluetooth

sudo xbps-install -S blueman libspa-bluetooth
1
2
3
sudo gpasswd -a $USER bluetooth
rfkill; rfkill unblock bluetooth
sudo ln -s /etc/sv/bluetoothd /var/service

Install Archiver

sudo xbps-install -S xz 7zip unzip engrampa

Install Shell

1
2
3
4
5
6
7
8
# zsh
sudo xbps-install -S git zsh curl

# ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
1
2
3
# nvim ~/.zshrc
ZSH_THEME="xiong-chiamiov-plus"
plugins=(git zsh-autosuggestions)

Downgrade

sudo xbps-install -S xtools

# Downgrade
sudo xdowngrade /var/cache/xbps/<name>_<version>_<arch>.xbps

# Stop Upgrade
sudo xbps-pkgdb -m hold <name>

# Start Upgrade
sudo xbps-pkgdb -m unhold <name>

Firmware

# sudo nvim /etc/xbps.d/00-repository-main.conf
repository=https://repo-fi.voidlinux.org/current
repository=https://repo-fi.voidlinux.org/current/nonfree
repository=https://repo-fi.voidlinux.org/current/multilib
repository=https://repo-fi.voidlinux.org/current/multilib/nonfree

# Firmware Updater
sudo xbps-install -S fwupd

# Intel CPU Microcode
sudo xbps-install -S intel-ucode

Tuning

echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
# Performance: chmod +x /etc/rc.local
1
2
3
4
# sudo nvim /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="zswap.enabled=1 zswap.compressor=lz4"

sudo update-grub
1
2
3
4
5
6
7
8
sudo xbps-install -S zramen preload irqbalance

# sudo nvim /etc/sv/zramen/conf
export ZRAM_COMP_ALGORITHM=zstd

sudo ln -s /etc/sv/zramen /var/service
sudo ln -s /etc/sv/preload /var/service
sudo ln -s /etc/sv/irqbalance /var/service
# sudo nvim /etc/sysctl.conf
vm.swappiness=20
1
2
3
# Intel CPU
sudo xbps-install -S thermald
sudo ln -s /etc/sv/thermald /var/service

Debpkg

1
2
3
4
5
sudo xbps-install -S git binutils
git clone https://github.com/xdeb-org/xdeb
cd xdeb
./xdeb -Sd <name>_<version>_<arch>.deb
sudo xbps-install -R <name>_<version>_<arch>.xbps

Kernel

1
2
3
4
5
# Latest
sudo xbps-install -S linux-mainline

# LTS
sudo xbps-install -S linux-lts

Clean

1
2
3
4
5
6
7
8
# Flatpak
flatpak uninstall --unused

# Orphans
sudo xbps-remove -o

# Kernel
sudo vkpurge rm all

Check

1
2
3
4
5
6
# Zswap
cat /sys/module/zswap/parameters/compressor
cat /sys/module/zswap/parameters/enabled

# All
su -c 'xbps-pkgdb -a'
Edit

Pub: 20 Feb 2026 01:34 UTC

Edit: 01 Mar 2026 07:40 UTC

Views: 59