Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # High-level
- 1. internet
- 2. partition
- 3. filesystem
- 4. mount
- 5. mirrors
- 6. pacstrap
- 7. fstab
- 8. chroot
- 9. time
- 10. locale
- 11. hostname
- 12. password
- 13. bootloader
- 14. microcode
- 15. reboot
- # Low-level
- ## Internet
- ```bash
- wifi-menu
- ```
- ## Partition
- ```bash
- fstab /dev/sda
- ```
- 1. `g` makes new table
- 2. `n` 550M boot partition `/dev/sda1`
- 3. `t` set boot partition type to ESP
- 4. `n` root partition `/dev/sda2`
- 5. `w` saves changes
- ## Filesystem
- ```bash
- mkfs.ext4 /dev/sda2
- mkfs.fat -F32 /dev/sda1
- ```
- ## Mount
- ```bash
- mnt /dev/sda2 /mnt
- mkdir -p /mnt/boot
- sudo mnt /dev/sda1 /mnt/boot
- ```
- ## Mirrors
- ```bash
- vi /etc/pacman.d/mirrorlist
- ```
- Find a mirror near you and put it on top of the list.
- ## Pacstrap
- ```bash
- pacstrap /mnt base networkmanager
- ```
- ## Fstab
- ```bash
- genfstab -U /mnt >> /mnt/etc/fstab
- ```
- ## Chroot
- ```bash
- arch-chroot /mnt
- ```
- ## Time
- ```bash
- timedatectl set-ntp true
- ln -sf /usr/share/zoneinfo/America/Los_Angeles
- hwclock --systohc
- ```
- ## Locale
- ```bash
- vi /etc/locale.gen
- ```
- Uncomment `en_US.UTF-8`.
- ```bash
- locale-gen
- ```
- ```
- /etc/locale.conf
- LANG=en_US.UTF-8
- ```
- ## Hostname
- ```
- /etc/hostname
- firelink-shrine
- ```
- ```
- /etc/hosts
- 127.0.0.1 localhost
- ::1 localhost
- 127.0.1.1 firelink-shrine.localdomain firelink-shrine
- ```
- ## Password
- ```bash
- passwd
- ```
- This is the root password.
- ## Bootloader
- ```bash
- sudo pacman -S grub efibootmgr
- grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
- grub-mkconfig -o /boot/grub/grub.cfg
- ```
- ## Microcode
- ```bash
- sudo pacman -S intel-ucode
- ```
- ## Reboot
- Exit the chroot and reboot. Remove the installation media.
Add Comment
Please, Sign In to add comment