- verify the boot mode:
ls /sys/firmware/efi/efivars
- verify internet
ping archlinux.org
- update system clock
timedatectl set-ntp true
- wipe the disk:
cryptsetup open --type plain -d /dev/urandom /dev/sda to_be_wiped
dd if=/dev/zero of=/dev/mapper/to_be_wiped status=progress
cryptsetup close to_be_wiped
- partition the disk, with cfdisk:
- EFI/boot partition 512M (sda1), partition type
EF00
on gdisk - root partition, rest of the space, with LVM format (sda2)
- EFI/boot partition 512M (sda1), partition type
- create LVM volumes:
- list capable devices
lvmdiskscan
- create physical volume
pvcreate /dev/sda2
- create volume groups
vgcreate MyVol /dev/sda2
- create logical volumes
lvcreate -L 8G MyVol -n swap
andlvcreate -L 100%FREE MyVol -n root
- list capable devices
- format:
- format boot
mkfs.fat -F32 /dev/sda1
- format root
mkfs.ext4 /dev/MyVol/root
mkswap /dev/MyVol/swap
mount /dev/MyVol/root /mnt
&swapon /dev/MyVol/swap
mkdir /mnt/boot
&mount /dev/sda1 /mnt/boot
- format boot
- installation:
pacstrap /mnt base
- Fstab
genfstab -L /mnt >> /mnt/etc/fstab
Created
September 28, 2018 17:40
-
-
Save indeedwatson/c369c6e7de6320db66b4131e24bd9cc5 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment