mirror of
https://github.com/AlexBocken/mykb.git
synced 2024-11-21 10:49:38 +01:00
remove dummy 1M partition, fix typos and add git
This commit is contained in:
parent
315d3b0317
commit
e17201e8e9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user