Skip to content

Instantly share code, notes, and snippets.

@nickto
Created August 17, 2018 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickto/83880052555cef0d1f7d4b956f0a450e to your computer and use it in GitHub Desktop.
Save nickto/83880052555cef0d1f7d4b956f0a450e to your computer and use it in GitHub Desktop.
Set up Arch befor chroot in VM.
#!/usr/bin/env bash
DEVICE_NAME=/dev/sda
timedatectl set-ntp true
timedatectl status # to check if everything is correct
parted $(DEVICE_NAME) --script -- mkpart primary 0% 100%
parted $(DEVICE_NAME) --script -- mklabel gpt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment