Skip to content

Instantly share code, notes, and snippets.

@tomisme
Created November 20, 2019 05:45
Show Gist options
  • Save tomisme/0536086b281e37777946ed19fdb0b627 to your computer and use it in GitHub Desktop.
Save tomisme/0536086b281e37777946ed19fdb0b627 to your computer and use it in GitHub Desktop.
# Boot from an Arch USB Drive
# Connect to the internet
wifi-menu
# Mount partitions
lsblk
mount /dev/nvme0n1p1 /mnt/boot
mount /dev/nvme0n1p2 /mnt
# Change root directory
arch-chroot /mnt
# Reinstall kernel
pacman -S linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment