Created
August 17, 2018 11:28
-
-
Save nickto/83880052555cef0d1f7d4b956f0a450e to your computer and use it in GitHub Desktop.
Set up Arch befor chroot in VM.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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