- 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_wipeddd if=/dev/zero of=/dev/mapper/to_be_wiped status=progresscryptsetup close to_be_wiped
- partition the disk, with cfdisk:
- EFI/boot partition 512M (sda1), partition type
EF00on 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 swapandlvcreate -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/swapmount /dev/MyVol/root /mnt&swapon /dev/MyVol/swapmkdir /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