- Make sure to disable
Secure boot
- Make sure to disable
TPM 2
Device | Size | Type |
---|---|---|
/dev/nvme0n1p1 | 384M | EFI System (ESP) |
/dev/nvme0n1p2 | 475.6G | Ext4 |
This will using
archinstall
tools
- Connect wifi with
iwctl
can refer in here. - Update
archinstall
package first w/pacman -Sy archinstall
to make sure get the newest. - Then setup partition disk, you can using any tools like cfdisk, fdisk etc.
# Enter fdisk partition prompt
fdisk /dev/nvme0n1
# Create new GPT partition
g
# Create new partition for number 1
n
# Enter the size for first partition which is for EFi/ESP
+384M
# Create new partition for number 2
n
# Just hit `enter` and `enter` because we will use all the rest
# Then dont forget to write it
w
-
After setup partition disk, let's enter
archinstall
.- Setup each basic needs like mirrors, hostname, root password, and user account.
- Audio =
pipewire
- Boot option =
GRUB
- Kernel =
linux
- Profile =
Xorg for intel
- Audio =
- For partition disk, we already setup the partition table, however we need things like:
- Wipe all disk (for clean up purpose)
- Setup flag for each partition eg:
/boot
for EFI and/
as the second partition. - After all make sure to check again before save it.
- How about with
swap
partition? I don't enabled it because want to tryZRAM
swap mode.
- Setup each basic needs like mirrors, hostname, root password, and user account.
-
Bump install it.
- (this will take around ~10-15 minutes, let's grab snacks and coffee)
-
At the last installation will prompt about
do you want chroot blablalba
and just ignore it withNO
. -
Reboot and Unplug your USB :)
TL;DR this will install
i3
refer to package.txt file.
- Login with your user account or root.
- Check the connection.
- Install the packages.
- Make sure better start with
login manager
.- Can refer to my dotfiles -> https://github.com/riskiwah/dot
Special notes regarding T14 needs
Suddenly got the errors that can't output the sound when try to play some song from YT/Spotify.
Then check with sudo dmesg -w
to see what happen.
> Refer this repository if something bad happen: https://github.com/thesofproject/sof-bin
install these packages
sudo pacman -Sy alsa-firmware
sudo pacman -Sy sof-firmware alsa-ucm-conf
To able using intel driver and safe your eyes from screen tearing, if having more issue please read carefully this docs -> https://wiki.archlinux.org/title/Intel_graphics
Make sure your already install `xf86-video-intel` package then add this config:
➜ cat /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
Option "NoAccel" "True"
Option "DRI" "False"
EndSection
➜ cat /etc/X11/xorg.conf.d/90-touchpad.conf
Section "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
Driver "libinput"
Option "Tapping" "on"
Option "TappingButtonMap" "lrm"
Option "NaturalScrolling" "on"
Option "ScrollMethod" "twofinger"
Option "AccelerationNumerator" "2"
Option "AccelerationDenominator" "1"
Option "AccelerationThreshold" "4"
EndSection
Install TLP
sudo pacman -S tlp tlp-rdw acpi_call
#refer here
https://linrunner.de/tlp/installation/arch.html#thinkpads-only-external-kernel-modules
Install throttled
sudo pacman -S throttled
sudo systemctl enable --now throttled.service
Install thermald
sudo pacman -S thermald
Install powertop
sudo pacman -S powertop
Currently install all of them, and was using combine of TLP, thermald and powertop --auto-tune
. Basically throttled
and thermald
is having same function.
So make sure or switch on/off between them. for config refer to my dotfiles.
Enable web gpu
➜ cat ~/.config/chromium-flags.conf
--ignore-gpu-blocklist
--enable-gpu-rasterization
--enable-zero-copy
--disable-gpu-driver-bug-workarounds
Enable webrtc pipewire
# open chrom* and enabled it
chrome://flags/#enable-webrtc-pipewire-capturer
This one will be related with daily dev using vagrant and packer, this issue happen related with permission and kernel parameters
caused by new intel generation 11++
# grant group
sudo gpasswd -a $USER vboxusers
# add `ibt=off` to your grub kernel param
# sources:
- https://wiki.archlinux.org/title/VirtualBox#Freeze_during_virtual_machine_startup_with_11th_generation_Intel_CPU_and_later
- https://weepingdogel.github.io/posts/problem_of_virtualbox_appeding_starting_vm/