User Tools

Site Tools


arch-install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arch-install [2020/10/26 11:05] gwsadminarch-install [2023/05/17 22:52] (current) – external edit 127.0.0.1
Line 7: Line 7:
 <code bash> <code bash>
 Loadkeys uk Loadkeys uk
 +
  
 </code> </code>
Line 19: Line 20:
 n fdisk, "t" to change partition type n fdisk, "t" to change partition type
 In fdisk, "w" (write table to disk) In fdisk, "w" (write table to disk)
 +
  
 </code> </code>
Line 31: Line 33:
 swapon /dev/sda2 swapon /dev/sda2
 mkfs.ext4 /dev/sda3 mkfs.ext4 /dev/sda3
 +
  
 </code> </code>
 +
   * Base Install   * Base Install
  
Line 39: Line 43:
 pacstrap /mnt base linux-lts linux-firmware pacstrap /mnt base linux-lts linux-firmware
 genfstab -U /mnt>> /mnt/etc/fstab genfstab -U /mnt>> /mnt/etc/fstab
 +
  
 </code> </code>
 +
   *   *
  
Line 54: Line 60:
 nano /etc/hostname nano /etc/hostname
 nano /etc/hosts nano /etc/hosts
 +
  
 </code> </code>
 +
 ==== Users and passwords: ==== ==== Users and passwords: ====
  
Line 63: Line 71:
 passwd ‘username’ (set that user's password) passwd ‘username’ (set that user's password)
 usermod -aG wheel,audio,video,optical,storage ‘username’ usermod -aG wheel,audio,video,optical,storage ‘username’
 +
  
 </code> </code>
 +
   * Add Sudo:   * Add Sudo:
  
Line 70: Line 80:
 pacman -S sudo pacman -S sudo
 EDITOR=nano visudo EDITOR=nano visudo
 +
  
 </code> </code>
 +
 ==== Add GRUB: ==== ==== Add GRUB: ====
  
Line 81: Line 93:
 grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck (if doing UEFI) grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck (if doing UEFI)
 grub-mkconfig -o /boot/grub/grub.cfg grub-mkconfig -o /boot/grub/grub.cfg
 +
  
 </code> </code>
 +
 ==== Add Networking: ==== ==== Add Networking: ====
  
Line 88: Line 102:
 pacman -S networkmanager pacman -S networkmanager
 systemctl enable NetworkManager systemctl enable NetworkManager
 +
  
 </code> </code>
 +
 ==== Add SSH Server, make package, GIT and Firewall ==== ==== Add SSH Server, make package, GIT and Firewall ====
  
Line 98: Line 114:
  
 sudo pacman -S base-devel git ufw sudo pacman -S base-devel git ufw
 +
  
 </code> </code>
 +
 ==== Before Reboot: ==== ==== Before Reboot: ====
  
Line 106: Line 124:
 umount /mnt (unmounts /mnt) umount /mnt (unmounts /mnt)
 reboot (or shutdown now if doing this in VirtualbBox) reboot (or shutdown now if doing this in VirtualbBox)
 +
  
 </code> </code>
  
-**Reboot:**  //**Remember to detach the ISO in VirtualBox before reboot.** //+**Reboot:**  //Remember to detach the ISO in VirtualBox before reboot. //
  
-<western> +**To add a desktop environment, please look at the [[https://wiki.archlinux.org/index.php/desktop_environment|Arch wiki ]]for which ones are official**
-<font 10pt/inherit;;inherit;;transparent>''**THIS IS THE END FOR A BASE INSTALLATION**''</font></western>+
  
  
arch-install.1603710345.txt.gz · Last modified: 2023/05/17 22:52 (external edit)