Skip to content

Instantly share code, notes, and snippets.

@yavorski
Created November 15, 2024 18:29
Show Gist options
  • Save yavorski/cabe0661da687f3ed820ca2eaaffefa4 to your computer and use it in GitHub Desktop.
Save yavorski/cabe0661da687f3ed820ca2eaaffefa4 to your computer and use it in GitHub Desktop.
Thinkpad-T480

ThinkPad T480 Linux

Make bootable usb with dd

λ dd if=<file> of=<device> bs=4M; sync
λ dd if=archlinux.iso of=/dev/sda1 bs=4M status=progress; sync

Update uefi-bios

λ geteltorito.pl -o <image>.img <image>.iso
λ geteltorito.pl -o uefi_bios.img r10ur26w.iso
λ sudo dd if=uefi_bios.img of=/dev/sda bs=512K

Remap extra european thinkpad button

sudo vim /usr/share/X11/xkb/symbols/pc
# The extra key on many European keyboards:
# key <LSGT> {	[ less, greater, bar, brokenbar ] };
key <LSGT> {	[ Shift_L ] };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment