Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 862 Bytes

File metadata and controls

54 lines (37 loc) · 862 Bytes

Starting out

Confirm UEFI mode: ls /sys/firmware/efi/efivars

List devices: lsblk

Verify internets: ping google.com

OK!

timedatectl set-ntp true

Partitioning

Create the partitions

lsblk to list devices

gdisk

  • Enter device, e.g. /dev/sda
  • Create EFI system partition (/boot) - GPT mode
    • n for new partition
    • Enter (partition 1)
    • Enter (default)
    • +550M
    • ef00
  • Create swap
    • n for new
    • Enter (Partition 2)
    • Enter (default)
    • +8G
    • 8200 (Linux swap)
  • Create /
    • n for new
    • Enter, Enter, Enter, Enter
  • Save
    • w to write partition table and exit

Format the partitions

EFI - https://wiki.archlinux.org/index.php/EFI_system_partition#Format_the_partition

mkfs.fat -F32 /dev/sda1

Swap

mkswap /dev/sda2

/

mkfs.ext4 /dev/sda3