Upload files to "/"
This commit is contained in:
commit
d6a47370d7
151 changed files with 10154 additions and 0 deletions
165
usr/share/ezarcher/Guides/arch_install_bios_gpt-20220422.txt
Normal file
165
usr/share/ezarcher/Guides/arch_install_bios_gpt-20220422.txt
Normal file
|
|
@ -0,0 +1,165 @@
|
|||
|
||||
---------------------------------------------------
|
||||
|
||||
Arch Install - Legacy BIOS System & GPT Partition Layout
|
||||
|
||||
Multiple Choice Desktop Example
|
||||
|
||||
---------------------------------------------------
|
||||
|
||||
1. Set keyboard layout - default is US
|
||||
** Available layouts can be listed with:
|
||||
ls /usr/share/kbd/keymaps/i386/**/*.map.gz | less
|
||||
** To modify the layout, append a corresponding file name to loadkeys, UK for example:
|
||||
loadkeys uk.map.gz
|
||||
|
||||
2. Verify boot mode (UEFI or Legacy):
|
||||
ls /sys/firmware/efi/efivars
|
||||
** If the directory does not exist, the system may be booted in Legacy BIOS Mode
|
||||
|
||||
3. Check internet connection:
|
||||
ping google.com
|
||||
|
||||
4. Update system clock
|
||||
timedatectl set-ntp true
|
||||
|
||||
5. Sync repositories, Install Reflector and Create mirrorlist, & install latest keyring
|
||||
pacman -Sy
|
||||
pacman -S archlinux-keyring
|
||||
pacman -S --needed reflector
|
||||
reflector --latest 10 --protocol https --save /etc/pacman.d/mirrorlist
|
||||
|
||||
6. Run cfdisk - BIOS GPT
|
||||
cfdisk /dev/sda
|
||||
sda1: bios-boot, sda2: swap, sda3: root, sda4: home
|
||||
bios-boot: type: bios-boot size: 8Mb
|
||||
|
||||
7. Format partitions
|
||||
mkfs.ext4 /dev/sda3
|
||||
mkfs.ext4 /dev/sda4
|
||||
mkswap /dev/sda2
|
||||
swapon /dev/sda2
|
||||
|
||||
8. Mount partitions
|
||||
mount /dev/sda3 /mnt
|
||||
mkdir /mnt/home
|
||||
mount /dev/sda4 /mnt/home
|
||||
|
||||
9. Install base packages
|
||||
pacstrap /mnt base base-devel cryptsetup dialog e2fsprogs device-mapper dhcpcd dosfstools efibootmgr gptfdisk grub inetutils less linux-lts linux-firmware lvm2 mkinitcpio mtools nano netctl nvme-cli os-prober reflector rsync sysfsutils xz zstd
|
||||
|
||||
10. Create fstab
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
|
||||
11. Chroot into system
|
||||
arch-chroot /mnt
|
||||
|
||||
12. Configure timezone -- Example, choose your correct timezone
|
||||
rm -rf /etc/localtime
|
||||
to list geographic areas:
|
||||
ls /usr/share/zoneinfo/
|
||||
pick timezome and:
|
||||
ln -sf /usr/share/zoneinfo/America/Phoenix /etc/localtime
|
||||
hwclock --systohc --utc
|
||||
|
||||
13. Configure locale -- Example, choose your correct locale
|
||||
nano /etc/locale.gen
|
||||
uncomment lines:
|
||||
en_US.UTF-8 UTF-8
|
||||
locale-gen
|
||||
echo LANG=en_US.UTF-8 > /etc/locale.conf
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
14. Configure networking
|
||||
|
||||
A. Create hostname -- Example, choose your own hostname (computer name)
|
||||
echo myhostname > /etc/hostname
|
||||
|
||||
B. Edit hosts file
|
||||
nano /etc/hosts
|
||||
Add lines:
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
||||
127.0.1.1 myhostname.localdomain myhostname
|
||||
|
||||
15. Create root password and user -- Example, choose your own username
|
||||
passwd root
|
||||
useradd -m -G sys,log,network,floppy,scanner,power,rfkill,users,video,storage,optical,lp,audio,wheel,adm -s /bin/bash username
|
||||
passwd username
|
||||
export VISUAL=nano
|
||||
export EDITOR=nano
|
||||
visudo /etc/sudoers
|
||||
uncomment line:
|
||||
%wheel ALL=(ALL) ALL
|
||||
|
||||
16. Sync repositories, Install Reflector and Create mirrorlist
|
||||
pacman -S reflector
|
||||
reflector --latest 10 --protocol https --save /etc/pacman.d/mirrorlist
|
||||
|
||||
17. Install GRUB
|
||||
pacman -S grub
|
||||
grub-install --target=i386-pc /dev/sda
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
18. Run mkinitcpio -- linux-lts for long term support kernel, linux for standard kernel
|
||||
mkinitcpio -p linux-lts
|
||||
|
||||
19. Install software - still inside chroot!
|
||||
|
||||
Xorg
|
||||
pacman -S xorg xorg-apps xorg-server xorg-drivers xorg-xkill xorg-xinit xterm mesa
|
||||
|
||||
General
|
||||
pacman -S --needed amd-ucode arch-install-scripts archiso bash-completion bind-tools bluez bluez-utils btrfs-progs cdrtools cmake cryfs dd_rescue ddrescue devtools diffutils dkms dvd+rw-tools efitools encfs exfatprogs f2fs-tools fatresize fsarchiver fuse3 fwupd git gnome-disk-utility gnome-keyring gocryptfs gpart gparted grsync gvfs gvfs-afc gvfs-goa gvfs-gphoto2 grsync gvfs-mtp gvfs-nfs gvfs-smb haveged hdparm htop hwdata hwdetect hwinfo intel-ucode jfsutils mkinitcpio-archiso mkinitcpio-nfs-utils libburn libisofs libisoburn linux-lts-headers logrotate lsb-release lsscsi man-db man-pages mdadm ntfs-3g p7zip pacutils packagekit pacman-contrib pahole papirus-icon-theme parted perl perl-data-dump perl-json perl-lwp-protocol-https perl-term-readline-gnu perl-term-ui pkgfile plocate polkit pv qt5ct reiserfsprogs rsync s-nail sdparm sg3_utils smartmontools squashfs-tools sudo testdisk texinfo tlp udftools udisks2 unace unrar unzip usbmuxd usbutils vim which xdg-user-dirs xfsprogs
|
||||
|
||||
Multimedia
|
||||
pacman -S --needed alsa-lib alsa-plugins alsa-firmware alsa-utils audacious audacious-plugins cdrdao dvdauthor faac faad2 ffmpeg ffmpegthumbnailer flac frei0r-plugins gstreamer gst-libav gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gstreamer-vaapi imagemagick lame libdvdcss libopenraw mencoder mjpegtools mpv poppler-glib pulseaudio pulseaudio-alsa pulseaudio-bluetooth pulseaudio-equalizer pulseaudio-jack simplescreenrecorder sox transcode smplayer x265 x264 xvidcore
|
||||
|
||||
Networking
|
||||
pacman -S --needed avahi b43-fwcutter broadcom-wl-dkms curl dhclient dmraid dnsmasq dnsutils ethtool filezilla firefox firewalld iptables-nft ipw2100-fw ipw2200-fw iwd gnu-netcat net-tools netctl net-tools networkmanager networkmanager-openvpn network-manager-applet nm-connection-editor nftables nfs-utils nilfs-utils nss-mdns openconnect openresolv openssh openssl openvpn r8168 samba vsftpd wget wireless-regdb wireless_tools whois wpa_supplicant
|
||||
|
||||
Fonts
|
||||
pacman -S --needed ttf-ubuntu-font-family ttf-dejavu ttf-bitstream-vera ttf-liberation noto-fonts ttf-roboto ttf-opensans opendesktop-fonts cantarell-fonts freetype2
|
||||
|
||||
Printing
|
||||
pacman -S --needed cups cups-pdf cups-filters cups-pk-helper foomatic-db foomatic-db-engine ghostscript gsfonts gutenprint python-pillow python-pip python-pyqt5 python-reportlab simple-scan system-config-printer
|
||||
|
||||
LXQt Desktop
|
||||
pacman -S --needed accountsservice aisleriot appstream-qt bluez-qt brightnessctl breeze-icons discover featherpad geany guvcview k3b kwin liblxqt libstatgrab libsysstat lximage-qt lxqt-about lxqt-admin lxqt-archiver lxqt-build-tools lxqt-config lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session lxqt-sudo lxqt-themes meld neofetch networkmanager-qt packagekit-qt5 pcmanfm-qt papirus-icon-theme pavucontrol-qt print-manager qbittorrent qterminal screengrab xpdf xscreensaver
|
||||
|
||||
Plasma Desktop
|
||||
pacman -S --needed accountsservice aisleriot ark bluedevil breeze-icons bluez-qt discover dolphin geany guvcview gwenview k3b kcalc kinit konsole kwrite meld neofetch networkmanager-qt okular packagekit-qt5 papirus-icon-theme pavucontrol-qt plasma print-manager qbittorrent sddm sddm-kcm sweeper
|
||||
|
||||
Xfce Desktop
|
||||
pacman -S --needed accountsservice adapta-gtk-theme aisleriot arc-gtk-theme arc-icon-theme asunder blueman catfish dconf-editor epdfview galculator geany gnome-firmware gnome-packagekit gtk-engine-murrine guvcview meld neofetch papirus-icon-theme pavucontrol polkit-gnome sddm transmission-gtk xarchiver xfburn xfce4 xfce4-goodies
|
||||
|
||||
Mate Desktop
|
||||
pacman -S --needed accountsservice adapta-gtk-theme aisleriot arc-gtk-theme arc-icon-theme asunder blueman brasero dconf-editor geany gnome-firmware gnome-packagekit gtk-engine-murrine guvcview mate mate-applet-dock mate-extra mate-polkit meld neofetch papirus-icon-theme sddm transmission-gtk
|
||||
|
||||
Cinnamon Desktop
|
||||
pacman -S --needed accountsservice adwaita-icon-theme adapta-gtk-theme aisleriot arc-gtk-theme arc-icon-theme asunder blueman brasero cinnamon cinnamon-translations dconf-editor epdfview file-roller geany gnome-firmware gnome-packagekit gnome-terminal gtk-engine-murrine guvcview meld nemo nemo-fileroller nemo-share neofetch papirus-icon-theme pavucontrol polkit-gnome sddm tldr tmux transmission-gtk viewnior xed
|
||||
|
||||
Gnome Desktop
|
||||
pacman -S --needed accountsservice adapta-gtk-theme adwaita-icon-theme aisleriot asunder brasero breeze-icons dconf-editor gdm geany gnome gnome-bluetooth gnome-firmware gnome-nettool gnome-packagekit gnome-shell gnome-shell-extensions gnome-software-packagekit-plugin gnome-sound-recorder gnome-todo gnome-tweaks gnome-usage guvcview meld neofetch papirus-icon-theme pavucontrol polkit-gnome tmux transmission-gtk
|
||||
|
||||
20. Systemd services
|
||||
systemctl disable dhcpcd.service
|
||||
systemctl enable haveged.service
|
||||
systemctl enable bluetooth.service
|
||||
systemctl enable cups.service
|
||||
systemctl enable NetworkManager
|
||||
systemctl enable firewalld.service
|
||||
systemctl enable fstrim.timer
|
||||
systemctl enable plocate-updatedb.timer
|
||||
|
||||
21. Display Manager
|
||||
systemctl enable sddm.service (for all except Gnome)
|
||||
systemctl enable gdm.service (only for Gnome)
|
||||
|
||||
22. Exit chroot
|
||||
exit (arch-chroot)
|
||||
umount -a
|
||||
reboot
|
||||
|
||||
# Revision: 2022.04.22 -- by eznix (https://sourceforge.net/projects/ezarch/)
|
||||
# (GNU/General Public License version 3.0)
|
||||
164
usr/share/ezarcher/Guides/arch_install_bios_mbr-20220422.txt
Normal file
164
usr/share/ezarcher/Guides/arch_install_bios_mbr-20220422.txt
Normal file
|
|
@ -0,0 +1,164 @@
|
|||
|
||||
-----------------------------------------------------
|
||||
|
||||
Arch Install - Legacy BIOS System & MBR Partition Layout
|
||||
|
||||
Multiple Choice Desktop Example
|
||||
|
||||
-----------------------------------------------------
|
||||
|
||||
1. Set keyboard layout - default is US
|
||||
** Available layouts can be listed with:
|
||||
ls /usr/share/kbd/keymaps/i386/**/*.map.gz | less
|
||||
** To modify the layout, append a corresponding file name to loadkeys, UK for example:
|
||||
loadkeys uk.map.gz
|
||||
|
||||
2. Verify boot mode (UEFI or Legacy):
|
||||
ls /sys/firmware/efi/efivars
|
||||
** If the directory does not exist, the system may be booted in Legacy BIOS Mode
|
||||
|
||||
3. Check internet connection:
|
||||
ping google.com
|
||||
|
||||
4. Update system clock
|
||||
timedatectl set-ntp true
|
||||
|
||||
5. Sync repositories, Install Reflector and Create mirrorlist, & install latest keyring
|
||||
pacman -Sy
|
||||
pacman -S archlinux-keyring
|
||||
pacman -S --needed reflector
|
||||
reflector --latest 10 --protocol https --save /etc/pacman.d/mirrorlist
|
||||
|
||||
6. Run cfdisk - BIOS MBR
|
||||
cfdisk /dev/sda
|
||||
sda1: swap, sda2: root, sda3: home
|
||||
|
||||
7. Format partitions
|
||||
mkfs.ext4 /dev/sda2
|
||||
mkfs.ext4 /dev/sda3
|
||||
mkswap /dev/sda1
|
||||
swapon /dev/sda1
|
||||
|
||||
8. Mount partitions
|
||||
mount /dev/sda2 /mnt
|
||||
mkdir /mnt/home
|
||||
mount /dev/sda3 /mnt/home
|
||||
|
||||
9. Install base packages
|
||||
pacstrap /mnt base base-devel cryptsetup dialog e2fsprogs device-mapper dhcpcd dosfstools efibootmgr gptfdisk grub inetutils less linux-lts linux-firmware lvm2 mkinitcpio mtools nano netctl nvme-cli os-prober reflector rsync sysfsutils xz zstd
|
||||
|
||||
10. Create fstab
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
|
||||
11. Chroot into system
|
||||
arch-chroot /mnt
|
||||
|
||||
12. Configure timezone -- Example, choose your correct timezone
|
||||
rm -rf /etc/localtime
|
||||
to list geographic areas:
|
||||
ls /usr/share/zoneinfo/
|
||||
pick timezome and:
|
||||
ln -sf /usr/share/zoneinfo/America/Phoenix /etc/localtime
|
||||
hwclock --systohc --utc
|
||||
|
||||
13. Configure locale -- Example, choose your correct locale
|
||||
nano /etc/locale.gen
|
||||
uncomment lines:
|
||||
en_US.UTF-8 UTF-8
|
||||
locale-gen
|
||||
echo LANG=en_US.UTF-8 > /etc/locale.conf
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
14. Configure networking
|
||||
|
||||
A. Create hostname -- Example, choose your own hostname (computer name)
|
||||
echo myhostname > /etc/hostname
|
||||
|
||||
B. Edit hosts file
|
||||
nano /etc/hosts
|
||||
Add lines:
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
||||
127.0.1.1 myhostname.localdomain myhostname
|
||||
|
||||
15. Create root password and user -- Example, choose your own username
|
||||
passwd root
|
||||
useradd -m -G sys,log,network,floppy,scanner,power,rfkill,users,video,storage,optical,lp,audio,wheel,adm -s /bin/bash username
|
||||
passwd username
|
||||
export VISUAL=nano
|
||||
export EDITOR=nano
|
||||
visudo /etc/sudoers
|
||||
uncomment line:
|
||||
%wheel ALL=(ALL) ALL
|
||||
|
||||
16. Sync repositories, Install Reflector and Create mirrorlist
|
||||
pacman -S reflector
|
||||
reflector --latest 10 --protocol https --save /etc/pacman.d/mirrorlist
|
||||
|
||||
17. Install GRUB
|
||||
pacman -S grub
|
||||
grub-install --target=i386-pc /dev/sda
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
18. Run mkinitcpio -- linux-lts for long term support kernel, linux for standard kernel
|
||||
mkinitcpio -p linux-lts
|
||||
|
||||
19. Install software - still inside chroot!
|
||||
|
||||
Xorg
|
||||
pacman -S xorg xorg-apps xorg-server xorg-drivers xorg-xkill xorg-xinit xterm mesa
|
||||
|
||||
General
|
||||
pacman -S --needed amd-ucode arch-install-scripts archiso bash-completion bind-tools bluez bluez-utils btrfs-progs cdrtools cmake cryfs dd_rescue ddrescue devtools diffutils dkms dvd+rw-tools efitools encfs exfatprogs f2fs-tools fatresize fsarchiver fuse3 fwupd git gnome-disk-utility gnome-keyring gocryptfs gpart gparted grsync gvfs gvfs-afc gvfs-goa gvfs-gphoto2 grsync gvfs-mtp gvfs-nfs gvfs-smb haveged hdparm htop hwdata hwdetect hwinfo intel-ucode jfsutils mkinitcpio-archiso mkinitcpio-nfs-utils libburn libisofs libisoburn linux-lts-headers logrotate lsb-release lsscsi man-db man-pages mdadm ntfs-3g p7zip pacutils packagekit pacman-contrib pahole papirus-icon-theme parted perl perl-data-dump perl-json perl-lwp-protocol-https perl-term-readline-gnu perl-term-ui pkgfile plocate polkit pv qt5ct reiserfsprogs rsync s-nail sdparm sg3_utils smartmontools squashfs-tools sudo testdisk texinfo tlp udftools udisks2 unace unrar unzip usbmuxd usbutils vim which xdg-user-dirs xfsprogs
|
||||
|
||||
Multimedia
|
||||
pacman -S --needed alsa-lib alsa-plugins alsa-firmware alsa-utils audacious audacious-plugins cdrdao dvdauthor faac faad2 ffmpeg ffmpegthumbnailer flac frei0r-plugins gstreamer gst-libav gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gstreamer-vaapi imagemagick lame libdvdcss libopenraw mencoder mjpegtools mpv poppler-glib pulseaudio pulseaudio-alsa pulseaudio-bluetooth pulseaudio-equalizer pulseaudio-jack simplescreenrecorder sox transcode smplayer x265 x264 xvidcore
|
||||
|
||||
Networking
|
||||
pacman -S --needed avahi b43-fwcutter broadcom-wl-dkms curl dhclient dmraid dnsmasq dnsutils ethtool filezilla firefox firewalld iptables-nft ipw2100-fw ipw2200-fw iwd gnu-netcat net-tools netctl net-tools networkmanager networkmanager-openvpn network-manager-applet nm-connection-editor nftables nfs-utils nilfs-utils nss-mdns openconnect openresolv openssh openssl openvpn r8168 samba vsftpd wget wireless-regdb wireless_tools whois wpa_supplicant
|
||||
|
||||
Fonts
|
||||
pacman -S --needed ttf-ubuntu-font-family ttf-dejavu ttf-bitstream-vera ttf-liberation noto-fonts ttf-roboto ttf-opensans opendesktop-fonts cantarell-fonts freetype2
|
||||
|
||||
Printing
|
||||
pacman -S --needed cups cups-pdf cups-filters cups-pk-helper foomatic-db foomatic-db-engine ghostscript gsfonts gutenprint python-pillow python-pip python-pyqt5 python-reportlab simple-scan system-config-printer
|
||||
|
||||
LXQt Desktop
|
||||
pacman -S --needed accountsservice aisleriot appstream-qt bluez-qt brightnessctl breeze-icons discover featherpad geany guvcview k3b kwin liblxqt libstatgrab libsysstat lximage-qt lxqt-about lxqt-admin lxqt-archiver lxqt-build-tools lxqt-config lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session lxqt-sudo lxqt-themes meld neofetch networkmanager-qt packagekit-qt5 pcmanfm-qt papirus-icon-theme pavucontrol-qt print-manager qbittorrent qterminal screengrab xpdf xscreensaver
|
||||
|
||||
Plasma Desktop
|
||||
pacman -S --needed accountsservice aisleriot ark bluedevil breeze-icons bluez-qt discover dolphin geany guvcview gwenview k3b kcalc kinit konsole kwrite meld neofetch networkmanager-qt okular packagekit-qt5 papirus-icon-theme pavucontrol-qt plasma print-manager qbittorrent sddm sddm-kcm sweeper
|
||||
|
||||
Xfce Desktop
|
||||
pacman -S --needed accountsservice adapta-gtk-theme aisleriot arc-gtk-theme arc-icon-theme asunder blueman catfish dconf-editor epdfview galculator geany gnome-firmware gnome-packagekit gtk-engine-murrine guvcview meld neofetch papirus-icon-theme pavucontrol polkit-gnome sddm transmission-gtk xarchiver xfburn xfce4 xfce4-goodies
|
||||
|
||||
Mate Desktop
|
||||
pacman -S --needed accountsservice adapta-gtk-theme aisleriot arc-gtk-theme arc-icon-theme asunder blueman brasero dconf-editor geany gnome-firmware gnome-packagekit gtk-engine-murrine guvcview mate mate-applet-dock mate-extra mate-polkit meld neofetch papirus-icon-theme sddm transmission-gtk
|
||||
|
||||
Cinnamon Desktop
|
||||
pacman -S --needed accountsservice adwaita-icon-theme adapta-gtk-theme aisleriot arc-gtk-theme arc-icon-theme asunder blueman brasero cinnamon cinnamon-translations dconf-editor epdfview file-roller geany gnome-firmware gnome-packagekit gnome-terminal gtk-engine-murrine guvcview meld nemo nemo-fileroller nemo-share neofetch papirus-icon-theme pavucontrol polkit-gnome sddm tldr tmux transmission-gtk viewnior xed
|
||||
|
||||
Gnome Desktop
|
||||
pacman -S --needed accountsservice adapta-gtk-theme adwaita-icon-theme aisleriot asunder brasero breeze-icons dconf-editor gdm geany gnome gnome-bluetooth gnome-firmware gnome-nettool gnome-packagekit gnome-shell gnome-shell-extensions gnome-software-packagekit-plugin gnome-sound-recorder gnome-todo gnome-tweaks gnome-usage guvcview meld neofetch papirus-icon-theme pavucontrol polkit-gnome tmux transmission-gtk
|
||||
|
||||
20. Systemd services
|
||||
systemctl disable dhcpcd.service
|
||||
systemctl enable haveged.service
|
||||
systemctl enable bluetooth.service
|
||||
systemctl enable cups.service
|
||||
systemctl enable NetworkManager
|
||||
systemctl enable firewalld.service
|
||||
systemctl enable fstrim.timer
|
||||
systemctl enable plocate-updatedb.timer
|
||||
|
||||
21. Display Manager
|
||||
systemctl enable sddm.service (for all except Gnome)
|
||||
systemctl enable gdm.service (only for Gnome)
|
||||
|
||||
22. Exit chroot
|
||||
exit (arch-chroot)
|
||||
umount -a
|
||||
reboot
|
||||
|
||||
# Revision: 2022.04.22 -- by eznix (https://sourceforge.net/projects/ezarch/)
|
||||
# (GNU/General Public License version 3.0)
|
||||
168
usr/share/ezarcher/Guides/arch_install_uefi_gpt-20220422.txt
Normal file
168
usr/share/ezarcher/Guides/arch_install_uefi_gpt-20220422.txt
Normal file
|
|
@ -0,0 +1,168 @@
|
|||
|
||||
---------------------------------------------------
|
||||
|
||||
Arch Install - UEFI System & GPT Partition Layout
|
||||
|
||||
Multiple Choice Desktop Example
|
||||
|
||||
---------------------------------------------------
|
||||
|
||||
1. Set keyboard layout - default is US
|
||||
** Available layouts can be listed with:
|
||||
ls /usr/share/kbd/keymaps/i386/**/*.map.gz | less
|
||||
** To modify the layout, append a corresponding file name to loadkeys, UK for example:
|
||||
loadkeys uk.map.gz
|
||||
|
||||
2. Verify boot mode (UEFI or Legacy):
|
||||
ls /sys/firmware/efi/efivars
|
||||
** If the directory does not exist, the system may be booted in Legacy BIOS Mode
|
||||
|
||||
3. Check internet connection:
|
||||
ping google.com
|
||||
|
||||
4. Update system clock
|
||||
timedatectl set-ntp true
|
||||
|
||||
5. Sync repositories, Install Reflector and Create mirrorlist, & install latest keyring
|
||||
pacman -Sy
|
||||
pacman -S archlinux-keyring
|
||||
pacman -S --needed reflector
|
||||
reflector --latest 10 --protocol https --save /etc/pacman.d/mirrorlist
|
||||
|
||||
6. Run cfdisk - UEFI GPT
|
||||
cfdisk /dev/sda
|
||||
sda1: efi system, sda2: swap, sda3: root, sda4: home
|
||||
efi system partition: type: EFI System, size: 512Mb, format: fat32
|
||||
|
||||
7. Format partitions
|
||||
mkfs.fat -F32 /dev/sda1
|
||||
mkfs.ext4 /dev/sda3
|
||||
mkfs.ext4 /dev/sda4
|
||||
mkswap /dev/sda2
|
||||
swapon /dev/sda2
|
||||
|
||||
8. Mount partitions
|
||||
mount /dev/sda3 /mnt
|
||||
mkdir -p /mnt/efi
|
||||
mount /dev/sda1 /mnt/efi
|
||||
mkdir /mnt/home
|
||||
mount /dev/sda4 /mnt/home
|
||||
|
||||
9. Install base packages
|
||||
pacstrap /mnt base base-devel cryptsetup dialog e2fsprogs device-mapper dhcpcd dosfstools efibootmgr gptfdisk grub inetutils less linux-lts linux-firmware lvm2 mkinitcpio mtools nano netctl nvme-cli os-prober reflector rsync sysfsutils xz zstd
|
||||
|
||||
10. Create fstab
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
|
||||
11. Chroot into system
|
||||
arch-chroot /mnt
|
||||
|
||||
12. Configure timezone -- Example, choose your correct timezone
|
||||
rm -rf /etc/localtime
|
||||
to list geographic areas:
|
||||
ls /usr/share/zoneinfo/
|
||||
pick timezome and:
|
||||
ln -sf /usr/share/zoneinfo/America/Phoenix /etc/localtime
|
||||
hwclock --systohc --utc
|
||||
|
||||
13. Configure locale -- Example, choose your correct locale
|
||||
nano /etc/locale.gen
|
||||
uncomment lines:
|
||||
en_US.UTF-8 UTF-8
|
||||
locale-gen
|
||||
echo LANG=en_US.UTF-8 > /etc/locale.conf
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
14. Configure networking
|
||||
|
||||
A. Create hostname -- Example, choose your own hostname (computer name)
|
||||
echo myhostname > /etc/hostname
|
||||
|
||||
B. Edit hosts file
|
||||
nano /etc/hosts
|
||||
Add lines:
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
||||
127.0.1.1 myhostname.localdomain myhostname
|
||||
|
||||
15. Create root password and user -- Example, choose your own username
|
||||
passwd root
|
||||
useradd -m -G sys,log,network,floppy,scanner,power,rfkill,users,video,storage,optical,lp,audio,wheel,adm -s /bin/bash username
|
||||
passwd username
|
||||
export VISUAL=nano
|
||||
export EDITOR=nano
|
||||
visudo /etc/sudoers
|
||||
uncomment line:
|
||||
%wheel ALL=(ALL) ALL
|
||||
|
||||
16. Sync repositories, Install Reflector and Create mirrorlist
|
||||
pacman -S reflector
|
||||
reflector --latest 10 --protocol https --save /etc/pacman.d/mirrorlist
|
||||
|
||||
17. Install GRUB
|
||||
pacman -S grub efibootmgr os-prober
|
||||
grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB --recheck
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
18. Run mkinitcpio -- linux-lts for long term support kernel, linux for standard kernel
|
||||
mkinitcpio -p linux-lts
|
||||
|
||||
19. Install software - still inside chroot!
|
||||
|
||||
Xorg
|
||||
pacman -S xorg xorg-apps xorg-server xorg-drivers xorg-xkill xorg-xinit xterm mesa
|
||||
|
||||
General
|
||||
pacman -S --needed amd-ucode arch-install-scripts archiso bash-completion bind-tools bluez bluez-utils btrfs-progs cdrtools cmake cryfs dd_rescue ddrescue devtools diffutils dkms dvd+rw-tools efitools encfs exfatprogs f2fs-tools fatresize fsarchiver fuse3 fwupd git gnome-disk-utility gnome-keyring gocryptfs gpart gparted grsync gvfs gvfs-afc gvfs-goa gvfs-gphoto2 grsync gvfs-mtp gvfs-nfs gvfs-smb haveged hdparm htop hwdata hwdetect hwinfo intel-ucode jfsutils mkinitcpio-archiso mkinitcpio-nfs-utils libburn libisofs libisoburn linux-lts-headers logrotate lsb-release lsscsi man-db man-pages mdadm ntfs-3g p7zip pacutils packagekit pacman-contrib pahole papirus-icon-theme parted perl perl-data-dump perl-json perl-lwp-protocol-https perl-term-readline-gnu perl-term-ui pkgfile plocate polkit pv qt5ct reiserfsprogs rsync s-nail sdparm sg3_utils smartmontools squashfs-tools sudo testdisk texinfo tlp udftools udisks2 unace unrar unzip usbmuxd usbutils vim which xdg-user-dirs xfsprogs
|
||||
|
||||
Multimedia
|
||||
pacman -S --needed alsa-lib alsa-plugins alsa-firmware alsa-utils audacious audacious-plugins cdrdao dvdauthor faac faad2 ffmpeg ffmpegthumbnailer flac frei0r-plugins gstreamer gst-libav gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gstreamer-vaapi imagemagick lame libdvdcss libopenraw mencoder mjpegtools mpv poppler-glib pulseaudio pulseaudio-alsa pulseaudio-bluetooth pulseaudio-equalizer pulseaudio-jack simplescreenrecorder sox transcode smplayer x265 x264 xvidcore
|
||||
|
||||
Networking
|
||||
pacman -S --needed avahi b43-fwcutter broadcom-wl-dkms curl dhclient dmraid dnsmasq dnsutils ethtool filezilla firefox firewalld iptables-nft ipw2100-fw ipw2200-fw iwd gnu-netcat net-tools netctl net-tools networkmanager networkmanager-openvpn network-manager-applet nm-connection-editor nftables nfs-utils nilfs-utils nss-mdns openconnect openresolv openssh openssl openvpn r8168 samba vsftpd wget wireless-regdb wireless_tools whois wpa_supplicant
|
||||
|
||||
Fonts
|
||||
pacman -S --needed ttf-ubuntu-font-family ttf-dejavu ttf-bitstream-vera ttf-liberation noto-fonts ttf-roboto ttf-opensans opendesktop-fonts cantarell-fonts freetype2
|
||||
|
||||
Printing
|
||||
pacman -S --needed cups cups-pdf cups-filters cups-pk-helper foomatic-db foomatic-db-engine ghostscript gsfonts gutenprint python-pillow python-pip python-pyqt5 python-reportlab simple-scan system-config-printer
|
||||
|
||||
LXQt Desktop
|
||||
pacman -S --needed accountsservice aisleriot appstream-qt bluez-qt brightnessctl breeze-icons discover featherpad geany guvcview k3b kwin liblxqt libstatgrab libsysstat lximage-qt lxqt-about lxqt-admin lxqt-archiver lxqt-build-tools lxqt-config lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session lxqt-sudo lxqt-themes meld neofetch networkmanager-qt packagekit-qt5 pcmanfm-qt papirus-icon-theme pavucontrol-qt print-manager qbittorrent qterminal screengrab xpdf xscreensaver
|
||||
|
||||
Plasma Desktop
|
||||
pacman -S --needed accountsservice aisleriot ark bluedevil breeze-icons bluez-qt discover dolphin geany guvcview gwenview k3b kcalc kinit konsole kwrite meld neofetch networkmanager-qt okular packagekit-qt5 papirus-icon-theme pavucontrol-qt plasma print-manager qbittorrent sddm sddm-kcm sweeper
|
||||
|
||||
Xfce Desktop
|
||||
pacman -S --needed accountsservice adapta-gtk-theme aisleriot arc-gtk-theme arc-icon-theme asunder blueman catfish dconf-editor epdfview galculator geany gnome-firmware gnome-packagekit gtk-engine-murrine guvcview meld neofetch papirus-icon-theme pavucontrol polkit-gnome sddm transmission-gtk xarchiver xfburn xfce4 xfce4-goodies
|
||||
|
||||
Mate Desktop
|
||||
pacman -S --needed accountsservice adapta-gtk-theme aisleriot arc-gtk-theme arc-icon-theme asunder blueman brasero dconf-editor geany gnome-firmware gnome-packagekit gtk-engine-murrine guvcview mate mate-applet-dock mate-extra mate-polkit meld neofetch papirus-icon-theme sddm transmission-gtk
|
||||
|
||||
Cinnamon Desktop
|
||||
pacman -S --needed accountsservice adwaita-icon-theme adapta-gtk-theme aisleriot arc-gtk-theme arc-icon-theme asunder blueman brasero cinnamon cinnamon-translations dconf-editor epdfview file-roller geany gnome-firmware gnome-packagekit gnome-terminal gtk-engine-murrine guvcview meld nemo nemo-fileroller nemo-share neofetch papirus-icon-theme pavucontrol polkit-gnome sddm tldr tmux transmission-gtk viewnior xed
|
||||
|
||||
Gnome Desktop
|
||||
pacman -S --needed accountsservice adapta-gtk-theme adwaita-icon-theme aisleriot asunder brasero breeze-icons dconf-editor gdm geany gnome gnome-bluetooth gnome-firmware gnome-nettool gnome-packagekit gnome-shell gnome-shell-extensions gnome-software-packagekit-plugin gnome-sound-recorder gnome-todo gnome-tweaks gnome-usage guvcview meld neofetch papirus-icon-theme pavucontrol polkit-gnome tmux transmission-gtk
|
||||
|
||||
20. Enable services
|
||||
systemctl disable dhcpcd.service
|
||||
systemctl enable haveged.service
|
||||
systemctl enable bluetooth.service
|
||||
systemctl enable cups.service
|
||||
systemctl enable NetworkManager
|
||||
systemctl enable firewalld.service
|
||||
systemctl enable fstrim.timer
|
||||
systemctl enable plocate-updatedb.timer
|
||||
|
||||
21. Display Manager
|
||||
systemctl enable sddm.service (for all except Gnome)
|
||||
systemctl enable gdm.service (only for Gnome)
|
||||
|
||||
22. Exit chroot
|
||||
exit (arch-chroot)
|
||||
umount -a
|
||||
reboot
|
||||
|
||||
# Revision: 2022.04.22 -- by eznix (https://sourceforge.net/projects/ezarch/)
|
||||
# (GNU/General Public License version 3.0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue