Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkfs.vfat -F32 /dev/sdb1
- mkfs -t btrfs -L archroot /dev/sdb2
- mount -t btrfs -o compress=lzo /dev/sdb2 /mnt
- btrfs subvolume create /mnt/@
- btrfs subvolume create /mnt/@home
- btrfs subvolume create /mnt/@snapshots
- umount /dev/sdb2
- mount -o compress=lzo,subvol=@ /dev/sdb2 /mnt
- mkdir -p /mnt/home
- mount -o compress=lzo,subvol=@home /dev/sdb2 /mnt/home
- mkdir -p /mnt/.snapshots
- mount -o compress=lzo,subvol=@snapshots /dev/sdb2 /mnt/.snapshots
- mkdir -p /mnt/var
- btrfs subvolume create /mnt/var/tmp
- btrfs subvolume create /mnt/tmp
- mount /dev/sdb1 /mnt/boot
- pacstrap /mnt base base-devel intel-ucode btrfs-progs vim
- genfstab -U -p /mnt>> /mnt/etc/fstab
- arch-chroot /mnt
- echo "arch-desktop"> /etc/hostname
- vim /etc/locale.gen
- locale-gen
- echo LANG=de_DE.UTF-8> /etc/locale.conf
- ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
- hwclock --systohc --utc
- # user
- passwd
- groupadd mtkr
- useradd -mg mtkr -G wheel,storage,power,audio -s /bin/bash mtkr
- passwd mtkr
- pacman -S sudo
- visudo
- pacman -S grub efibootmgr dosfstools os-prober mtools gptfdisk
- grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck --debug
- grub-mkconfig -o /boot/grub/grub.cfg
- reboot
- Konfiguration
- =============
- systemctl enable dhcpcd@enp13s0
- systemctl start dhcpcd@enp13s0
- pacman -S openssh
- systemctl enable sshd
- systemctl start sshd
- pacman -S acpid dbus avahi cronie
- systemctl enable acpid
- systemctl enable avahi-daemon
- systemctl enable cronie
- systemctl enable --now systemd-timesyncd.service
- hwclock -w
- Desktop Stuff
- =============
- pacman -Syu xorg-server
- pacman -Syu nvidia nvidia-utils gnome gnome-extra gdm alsa-utils alsa-oss
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement