Jump to content

User:Andrei1015/My Install

From ArchWiki
  1. smartctl -c /dev/nvme0n1?
    1. nvme format --lbaf=1 /dev/nvme0n1?
  2. Partition the disks (just use cfdisk)
    1. 5GB /boot
    2. rest /
    3. vgcreate arch /dev/sda2 /dev/sda3
    4. lvcreate -n root -L 14.8G arch /sda2 (modprobe dm_mod, vgscan, vgchange -ay)
  3. Format the partitions
    1. mkfs.fat -F 32 /dev/sda1
    2. mkfs.ext4 /dev/arch/root
  4. Mount the file systems
    1. mount /dev/arch/root /mnt
    2. mount --mkdir /dev/sda1 /mnt/boot
  5. pacstrap -K /mnt base base-devel linux linux-headers linux-firmware neovim netowrkmanager plasma konsole dolphin ark plasma-workplace egl-wayland firefox
  6. genfstab -U /mnt >> /mnt/etc/fstab
  7. arch-chroot /mnt
    1. locale & localegen & locale.conf
    2. ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
  8. pacman -S grub efibootmgr
    1. grub-install --efi-directory=/boot --bootloader-id=GRUB
    2. grub-mkconfig -o /boot/grub/grub.cfg (!!!!!)
    3. add lvm2 /etc/mkinitcpio.conf
    4. mkinitcpio -P
  9. systemctl enable NetworkManager
    1. systemctl enable sddm
  10. groupadd -g 1015 andrei
    1. useradd -m -G andrei, wheel -s /bin/bash andrei
    2. passwd
    3. passwd andrei
    4. SUDO_EDITOR=nvim visudo