Skip to content

Arch Linux Installer && Installation DE

License

Notifications You must be signed in to change notification settings

Koljasha/archlinux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NafmanOs - Arch Linux Installer

Only for Arch linux understanding users -> Arch Linux Installation Guide


Write Iso to Usb Wiki

# sudo dd bs=4M if=path/to/archlinux-x86_64.iso of=/dev/sd_X_ conv=fsync oflag=direct status=progress

Ru localization is default; for change:

  • ./installer lines : 11 - 12
  • ./chroot lines : 3 - 14
  • ./packages lines : 665 - 666

Boot from archlinux.iso, then:

  • we are waiting for a few minutes until the repositories update (cat /etc/pacman.d/mirrorlist - reflector.service update)
  • pacman -Sy pacman if error try:
    • pacman -Scc
    • pacman-key --init
    • pacman-key --populate
    • pacman -Sy archlinux-keyring
  • pacman -Sy git
  • git clone https://github.com/koljasha/archlinux
  • cd archlinux && ./installer

it is advisable to use Archinstall with minimal installation
* set russian support: `setfont UniCyrExt_8x16`
* `archinstall`
the old version
* `./installer` - install system like [Arch Linux Installation Guide](https://wiki.archlinux.org/index.php/Installation_guide)
    * `/dev/vda` - auto mount (vda - default disk in Gnome Boxes)
    * other      - manual mount
* `./chroot` *(run from ./installer)* - install system in arch-root mode like [Arch Linux Installation Guide](https://wiki.archlinux.org/index.php/Installation_guide#Chroot)

NafmanOs - need Git installed

  • ./packages - install desktops, packages and settings it
    • Openbox, i3wm, Qtile -> my settings
    • other -> default settings
      • Qtile, i3wm, Openbox
      • Xfce
      • Lxde
      • Lxqt
      • Enlightenment
      • Mate
      • Cinnamon
      • Gnome
      • Budgie
      • Pantheon
      • Kde Plasma
      • Deepin
  • ./swapfile - create swapfile in work system
  • ./links - creating a working link system (for me: Koljasha disk's system)

for SSD users

  • enabled by default Periodic TRIM
    • systemctl status fstrim.timer
  • if NVME freeze Troubleshooting
    • in /etc/default/grub add to GRUB_CMDLINE_LINUX_DEFAULT following nvme_core.default_ps_max_latency_us=5500
    • to see changes after reboot: cat /sys/module/nvme_core/parameters/default_ps_max_latency_us

Trackball mouse configuration options

  1. Xorg:
    • files/xorg.conf.d/70-trackball.conf -> /etc/X11/xorg.conf.d/
    • list: xinput list
    • info: xinput list-props <id>
  2. Xorg, Wayland: evsieve
  3. Xorg, Wayland: Input Remapper
  4. Xorg, Wayland (hardcore way) :
    • files/hwdb.d/70-mouse-remap.hwdb -> /etc/udev/hwdb.d/
    • list: sudo libinput list-devices
    • info: sudo udevadm info /dev/input/event<id>
    • click buttons: sudo evtest
    • enable: sudo systemd-hwdb update and sudo udevadm trigger
  5. other way: Arch Wiki

Normal mirrors in Russia (global is slowly - operator cuts the speed)

sudo vim /etc/pacman.d/mirrorlist

Server = https://mirror.yandex.ru/archlinux/$repo/os/$arch
Server = https://mirror.truenetwork.ru/archlinux/$repo/os/$arch
Server = https://mirror.nw-sys.ru/archlinux/$repo/os/$arch
Server = https://mirror.surf/archlinux/$repo/os/$arch

Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch

hooks/ - for devolopers

  • change Ru localization lines from packages in README.md
    • for automate - copy this hooks to .git/hooks/
    • for manual - run in hooks/
  • update icons cache for new icons badge: sudo gtk-update-icon-cache -f /usr/share/icons/hicolor/