Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save make-github-pseudonymous-again/c2ac309d66cdbc24a4dd to your computer and use it in GitHub Desktop.
Save make-github-pseudonymous-again/c2ac309d66cdbc24a4dd to your computer and use it in GitHub Desktop.
How to use mkinitcpio after using chroot
mount /dev/sda2 /mnt/sda2
chroot /mnt/sda2
mount -t proc proc /proc
mount -t sysfs sys /sys
mount -t devtmpfs udev /dev
mkinitcpio -p linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment