Skip to content

Instantly share code, notes, and snippets.

@nickto
nickto / install-before-chroot.sh
Created Aug 17, 2018
Set up Arch befor chroot in VM.
View install-before-chroot.sh
#!/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