Arch Linux UEFI Kurulum Aşamaları

Arch Linux severek kullandığım dağıtımlardan birisi. Kurulum aşamlarımı kendime göre özelleştirdim.

# Load Turkish Keys
  loadkeys trq
  
# Verify the boot mode
  ls /sys/firmware/efi/efivars
  
# Select Editor
  export EDITOR=nano

# Connect Internet
  wifi-menu

# Partitioning the Hard Drive
  cfdisk /dev/sda
  /dev/sda1 -- EFI Partition = 1G 
  /dev/sda2 -- Swap Partition = 1G 
  /dev/sda3 -- Default Partition = 100%
  
  mkfs.fat -F32 /dev/sda1
  mkswap /dev/sda2
  mkfs.ext4 /dev/sda3
  
  mount /dev/sda3 /mnt
  swapon /dev/sda2
  mkdir /mnt/boot
  mount /dev/sda1 /mnt/boot
  
# Mirror Select
  nano /etc/pacman.d/mirrorlist

  Server = http://ftp.linux.org.tr/archlinux/$repo/os/$arch
  Server = http://mirror.veriteknik.net.tr/archlinux/$repo/os/$arch
  
# Installing basic software packages
  pacstrap /mnt base linux linux-firmware nano vi bash man-db util-linux
  
  genfstab -U /mnt >> /mnt/etc/fstab
  cat /mnt/etc/fstab

# Chroot
  arch-chroot /mnt
  
  pacman -S grub efibootmgr dialog netctl iputils dhcpcd netctl bluez bluez-utils acpid acpi cups xorg xorg-server xorg-drivers mesa pulseaudio 
  
# Setting the System Clock
  ln -sf /usr/share/zoneinfo/Europe/Istanbul /etc/localtime
  timedatectl set-ntp true
  hwclock --systohc
  
# Locale
  nano /etc/locale.gen
  -- en_US.UTF-8 UTF-8
  -- en_US ISO-8859-1
  locale-gen
  
  nano /etc/vconsole.conf
  KEYMAP=trq
  
# Hostname
  nano /etc/hostname

# KMS
  nano /etc/mkinitcpio.conf
  MODULES=(amdgpu)
  
  mkinitcpio -p linux
  
# Root Password
  passwd
  
# Grub
  grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
  grub-mkconfig -o /boot/grub/grub.cfg
  
  exit
  
  umount -R /mnt
  swapoff -a
  reboot
  
# Login
  localectl set-keymap --no-convert trq
  localectl set-x11-keymap tr
  
# Activate Units
  systemctl enable acpid.service
  systemctl enable org.cups.cupsd.service
  systemctl enable avahi-daemon.service
  systemctl enable bluetooth.service
  systemctl enable systemd-networkd.service
  
# Local Hostname Resolution
 
  nano /etc/hosts

  127.0.0.1        localhost
  ::1              localhost
  127.0.1.1        archlinux.localdomain        archlinux
  
# Add User
  useradd -m ceyhan
  passwd ceyhan 
  
# General Recommendations
  pacman -S chromium gimp inkscape blender faenza-icon-theme ttf-droid ttf-font-awesome ttf-anonymous-pro ttf-linux-libertine ttf-liberation gtk-engines elementary-icon-theme materia-gtk-theme arc-gtk-theme arc-icon-theme gtk-engine-murrine openssh curl wget gvfs gvfs-mtp ntfs-3g libreoffice-fresh transmission-gtk gparted 
  
# Gnome Software Center
  pacman -S gnome-software-packagekit-plugin archlinux-appstream-data
  
Republic of Turkey Ministry of Health / Dokuz Eylul University Management Information Systems (MIS) MSc / Tech / Art
İnternet sitesi https://www.ceyhanmolla.com
Yazı oluşturuldu 44

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Benzer yazılar

Aramak istediğinizi üstte yazmaya başlayın ve aramak için enter tuşuna basın. İptal için ESC tuşuna basın.

Üste dön