Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MBR
- lsblk
- ls /sys/firmware/efi/efivars
- If states no files carry on
- If files are here then install via UEFI
- Ping to check internet connection
- use wifi-menu to connect to wireless connection
- PARTITION DRIVE
- fdisk /dev/name of drive
- d = delete parition
- BOOT PARTITION
- n = new partition
- - p primary partition
- -- 1
- -- enter
- -- +250M
- -- Y if asks for signiture
- Press P to confirm created partition
- SWAP PARTITION
- - p
- - 2 or enter
- - First sector: enter
- - Last Sector: 4G
- P
- ROOT PARTITION - At least 25GB
- - p
- - 3 or enter
- - First sector: enter
- - Last Sector:
- HOME PARTITION - Rest of the drive
- - p
- - 4 or enter
- - First sector: enter
- - Last Sector: enter
- w = Writes these partitions to the hard drive and reformats everything
- Make the file systems
- Boot: mkfs.ext4 /dev/name of boot parition
- Root: mkfs.ext4 /dev/name of root parition
- Home: mkfs.ext4 /dev/name of home parition
- Setup SWAP Partition
- mkswap /dev/name of swap partition
- swapon /dev/name of swap partition
- Mount drives
- mount /dev/name of root /mnt
- mkdir /mnt/boot
- mkdir /mnt/home
- mount /dev/name of boot/boot
- mount /dev/name of home/home
- INSTALL ARCHLINUX
- pacstrap -i /mnt base vim
- installs other packages and vim
- CREATE FSTAB FILE
- genfstab -U /mnt
- genfstab -U /mnt >> /mnt/etc/fstab
- make it bootable
- arch-chroot /mnt
- Next, create the locale files by running:
- LOCALE
- vim /etc/locale.gen
- uncomment en_GB.UTF-8 UTF-8
- echo LANG=en_GB.UTF-8 > /etc/locale.conf
- export LANG=en_GB.UTF-8
- locale-gen
- TIME
- ln -s /usr/share/zoneinfo/UTC /etc/localtime
- hwclock --systohc --utc
- NETWORK SETUP
- pacman -S networkmanager
- systemctl enable NetworkManager
- Install boot loader
- pacman -S grub
- grub-install --target=i386-pc /dev/name of drive
- grub-mkconfig -o /boot/grub/grub.cfg
- Set the name of your computer
- vim /etc/hostname
- Step Five: Configure Your Package Manager
- vi /etc/pacman.conf
- uncomment
- [multilib]
- Include = /etc/pacman.d/mirrorlist
- pacman -Sy
- root password
- passwd
- visudo
- uncomment the following like
- %wheel ALL=(ALL) ALL
- exit to USB and unmount
- exit
- unmount -R /mnt
- reboot
- USER
- useradd -m -g users -G wheel,storage,power -s /bin/bash darkeve
- passwd darkeve
- pacman -S sudo
- FONTS
- default for now
- pacman -S noto-fonts
- Set fonts manually at ~/.config/fontconfig/fonts.conf
- UK Keyboard Layout
- localectl set-keymap uk
- GRAPHICS
- # intel graphics
- $ pacman -S xf86-video-intel libva-intel-driver
- pacman -S xorg-server xorg-xinit
- TRACKPAD
- sudo pacman -S xf86-input-synaptics
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement