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