-
-
Save chrissound/049ed586d81eccb32b4a491cc0764752 to your computer and use it in GitHub Desktop.
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
parted -s /dev/sda -- mkpart primary 512MiB -2GiB | |
parted -s /dev/sda -- mkpart primary linux-swap -2GiB 100% | |
parted -s /dev/sda -- mkpart ESP fat32 1MiB 512MiB | |
parted -s /dev/sda -- set 3 boot on | |
mkfs.ext4 -L nixos /dev/sda1 | |
mkswap -L swap /dev/sda2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment