Skip to content

Instantly share code, notes, and snippets.

@Magamex
Last active October 1, 2019 14:09
Show Gist options
  • Save Magamex/cbc038b52543556b2c6cf6c20ce0a940 to your computer and use it in GitHub Desktop.
Save Magamex/cbc038b52543556b2c6cf6c20ce0a940 to your computer and use it in GitHub Desktop.
Install Arch in Pendrive
video tutorial: https://www.youtube.com/watch?v=1nPesiEhuic
sudo pacman -S arch-install-scripts
***make sure usb is NOT mounted***
wipefs -a /dev/sdf
fdisk /dev/sdf
disable journal
mkfs.ext4 -O "^has_journal" /dev/sdf1
mount and install arch as usual:
mount /dev/sdf1 /mnt
pacstrap /mnt base base-devel
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
passwd
localectl set-keymap --no-convert la-latin1
Persistent:
e2label /dev/sdf1 arch64
mkinitcpio -p linux
grub-install --removable /dev/sdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment