remove dummy 1M partition, fix typos and add git

This commit is contained in:
Alexander Bocken 2023-10-13 11:45:53 +02:00
parent 315d3b0317
commit e17201e8e9
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -9,8 +9,9 @@ BTRFS requires additional steps to my knowledge.
# Boot into ISO, create LVM and mount # Boot into ISO, create LVM and mount
We want three partitions: sda1: 1M, sda2: 500M (your EFI), and the rest for your encrypted hard-drive. We want two partitions: sda1: 500M, sda2: a lvm container for the rest for your encrypted hard-drive.
Create partition table via `cfdisk` or similar tools. Create partition table via `cfdisk` or similar tools.
Note: for BIOS systems a dummy 1M parition would be also required. For UEFI this is not needed.
## Create LVM ## Create LVM
```sh ```sh
@ -46,11 +47,11 @@ mount --mkdir /dev/sda2 /mnt/efi
## Continue with your normal Arch install: ## Continue with your normal Arch install:
Note the lack of grub in the pacstrap, we will build this later Note the lack of grub in the pacstrap, we will build this later
```sh ```sh
pacstrap -K /mnt base base-devel linux linux-firmware lvm2 efibootmgr networkmanager neovim ... pacstrap -K /mnt base base-devel git linux linux-firmware lvm2 efibootmgr networkmanager neovim ...
genfstab -U >> /mnt/etc/fstab genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt arch-chroot /mnt
echo YourHostName > /etc/hostname echo YourHostName > /etc/hostname
nvim /etc/locale.conf nvim /etc/locale.gen
locale-gen locale-gen
ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime
hwclock --systohc hwclock --systohc