Update README.md
This commit is contained in:
parent
4cf3e00d28
commit
5561f77ee3
24
README.md
24
README.md
|
@ -49,30 +49,33 @@ Your root volume should be 25-50 GB big, your home volume takes up the remaining
|
||||||
$ lvcreate -L 25G -n root main
|
$ lvcreate -L 25G -n root main
|
||||||
$ lvcreate -l 100%FREE -n home main
|
$ lvcreate -l 100%FREE -n home main
|
||||||
|
|
||||||
|
**Create the filesystems and mount your volumes.**
|
||||||
$ mkfs.fat -F 32 -n UEFI /dev/sda1
|
$ mkfs.fat -F 32 -n UEFI /dev/sda1
|
||||||
**-F specifies the type of file allocation tables used (12, 16 or 32 bit).**
|
**-F specifies the type of file allocation tables used (12, 16 or 32 bit).**
|
||||||
**-n sets the volume name (label) of the filesystem to "UEFI".**
|
**-n sets the volume name (label) of the filesystem to "UEFI".**
|
||||||
|
|
||||||
**Create ext4 filesystem on primary partition.**
|
**Create ext4 filesystem on root and home volumes.**
|
||||||
$ mkfs.ext4 /dev/mapper/root
|
$ mkfs.ext4 -L root /dev/mapper/main-root
|
||||||
|
$ mkfs.ext4 -L home /dev/mapper/main-home
|
||||||
|
|
||||||
**Create mountpoints and mount partitions.**
|
**Create mountpoints and mount partitions.**
|
||||||
$ mount /dev/mapper/root /mnt
|
$ mount /dev/mapper/main-root /mnt
|
||||||
$ mkdir /mnt/boot
|
$ mkdir /mnt/boot
|
||||||
|
$ mkdir /mnt/home
|
||||||
$ mount /dev/sda1 /mnt/boot
|
$ mount /dev/sda1 /mnt/boot
|
||||||
|
$ mount /dev/mapper/main-home /mnt/home
|
||||||
|
|
||||||
**Optionally update mirrorlist using reflector.**
|
**Optionally update mirrorlist using reflector.**
|
||||||
**In this case use the latest 10 mirrors from Germany, that have been synchronized within the last 24 hours and sort the by download-rate and write them to the pacman mirrorlist.**
|
**In this case use the latest 10 mirrors from Germany, that have been synchronized within the last 24 hours and sort the by download-rate and write them to the pacman mirrorlist.**
|
||||||
$ reflector --verbose --latest 10 --country Germany --age 24 --sort rate --save /etc/pacman.d/mirrorlist
|
$ reflector --verbose --latest 10 --country Germany --age 24 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
**Install base system and basic packages (network, editor, sudo).**
|
**Install base system and basic packages (network, editor, sudo).**
|
||||||
**The package base-devel is not necessary but recommended.**
|
**The package base-devel is not necessary but recommended.**
|
||||||
$ pacstrap /mnt base base-devel linux linux-firmware networkmanager nano sudo
|
$ pacstrap /mnt base base-devel linux linux-firmware networkmanager nano sudo lvm2
|
||||||
|
|
||||||
**Generate fstab.**
|
**Generate fstab.**
|
||||||
$ genfstab -Lp /mnt > /mnt/etc/fstab
|
$ genfstab -Up /mnt > /mnt/etc/fstab
|
||||||
**-L = Use labels for source identifiers (shortcut for -t LABEL).**
|
**-U = Use UUID for source identifiers (shortcut for -t LABEL).**
|
||||||
**-p Exclude pseudofs mounts (default behavior).**
|
**-p Exclude pseudofs mounts (default behavior).**
|
||||||
|
|
||||||
**Chroot into your installation.**
|
**Chroot into your installation.**
|
||||||
|
@ -92,7 +95,7 @@ $ locale-gen
|
||||||
$ nano /etc/mkinitcpio.conf
|
$ nano /etc/mkinitcpio.conf
|
||||||
|
|
||||||
**MODULES=(ext4)**
|
**MODULES=(ext4)**
|
||||||
**HOOKS=(base udev autodetect modconf block keyboard keymap encrypt filesystems fsck shutdown)**
|
**HOOKS=(base udev autodetect modconf block keyboard keymap encrypt lvm2 filesystems fsck shutdown)**
|
||||||
|
|
||||||
**Create mkinitcpio.**
|
**Create mkinitcpio.**
|
||||||
$ mkinitcpio -p linux
|
$ mkinitcpio -p linux
|
||||||
|
@ -114,7 +117,7 @@ $ nano /bootloader/entries/arch.conf
|
||||||
title Arch Linux
|
title Arch Linux
|
||||||
linux /vmlinuz-linux
|
linux /vmlinuz-linux
|
||||||
initrd /initramfs-linux.img
|
initrd /initramfs-linux.img
|
||||||
options cryptdevice=/dev/sda2:root root=/dev/mapper/root rw lang=de init=/usr/lib/systemd/systemd locale=de_DE.UTF-8
|
options cryptdevice=/dev/sda2:main root=/dev/mapper/main-root rw lang=de init=/usr/lib/systemd/systemd locale=de_DE.UTF-8
|
||||||
```
|
```
|
||||||
|
|
||||||
**Create a fallback config.**
|
**Create a fallback config.**
|
||||||
|
@ -141,6 +144,7 @@ default arch.conf
|
||||||
**Exit and reboot.**
|
**Exit and reboot.**
|
||||||
$ exit
|
$ exit
|
||||||
$ umount /mnt/boot
|
$ umount /mnt/boot
|
||||||
|
$ umount /mnt/home
|
||||||
$ reboot
|
$ reboot
|
||||||
|
|
||||||
**Enter encryption-password and login as root.**
|
**Enter encryption-password and login as root.**
|
||||||
|
|
Loading…
Reference in New Issue