Meowthra Posted October 2, 2015 Share Posted October 2, 2015 for example: Installation Target sda1Create a new partitionMBR # cfdisk /dev/sda GPT # cgdisk /dev/sda . Identify the devices # lsblk . . ------ BASE INSTALLMount the Installation Target Partition to the /mnt directory # mount /dev/sda1 /mnt . Other Mount(Optional)UEFI Mode # mkdir -p /mnt/boot/EFI # Create UEFI MountPoint # mount /dev/sda1 /mnt/boot/EFI # Mount UEFI Partition Other # mkdir /mnt/home # Create /home MountPoint # mount /dev/sda3 /mnt/home # Mount /home # mkdir /mnt/boot # Create /boot MountPoint # mount /dev/sda2 /mnt/boot # Mount /home . Install the base system # dhcpcd # pacstrap -i /mnt base . Generate an fstab # genfstab -U /mnt > /mnt/etc/fstab . Change root into the new system # arch-chroot /mnt /bin/bash . Computer Name for example: TORA-EX2510G # echo TORA-EX2510G > /etc/hostname . Select a time zone # tzselect # ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime # hwclock --systohc --localtime . Initramfs # mkinitcpio -p linux . Install Boot loaderBIOS/MBR # pacman -S grub os-prober # grub-install --recheck /dev/sda # grub-mkconfig -o /boot/grub/grub.cfg UEFI/GPT # pacman -S grub efibootmgr # grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=arch --recheck # grub-mkconfig -o /boot/grub/grub.cfg . Network configurationWired pacman -S networkmanager # systemctl enable NetworkManager.service # systemctl enable dhcpcd@interface.service #Wired Automatic connection Wireless # nmtui-connect # Wifi Manual connection . Set the root password # passwd . Exit from the chroot # exit . unmount # umount -R /mnt # reboot . . ------ Create User accounts # pacman -S sudo # nano /etc/sudoers ---------------------# %wheel ALL=(ALL) NOPASSWD: ALLTO%wheel ALL=(ALL) NOPASSWD: ALL# %sudo ALL=(ALL) ALLTO%sudo ALL=(ALL) ALL---------------------ctrl+o ---Write FileENTER ---Yesctrl+x ---Exit # groupadd sudo for example: User Name is torachiyo # useradd -m -g users -s /bin/bash torachiyo # passwd torachiyo # gpasswd -a torachiyo sudo # gpasswd -a torachiyo wheel . . ------ Driver Install # pacman -S xf86-video-vesa # ALL # pacman -S xf86-video-intel # Intel # pacman -S xf86-video-nouveau # nvidia # pacman -S xf86-video-ati # AMD Other # pacman -S xf86-input-synaptics # Touchpad Synaptics # pacman -S alsa-utils # Audio # pacman -S blueman # bluetooth # systemctl enable bluetooth.service # Enable bluetooth # pacman -S ntfs-3g # NTFS File System Support # pacman -S gvfs # Partition Mount Tools . . ------ Xorg Base Install # pacman -S xorg-server xorg-server-utils xorg-xinit . . ------ Development Tools (Optional) # pacman -S base-devel . . ------ Desktop Environment XFCE # pacman -S xfce4 xfce4-goodies # startxfce4 # sudo pacman -R mousepad # sudo pacman -R xfce4-mixer . Change Language Choose your languagefor example: Traditional Chinese # sudo leafpad /etc/locale.gen ----------------------# zh_TW.UTF-8 UTF-8# zh_TW.BIG5 to zh_TW.UTF-8 UTF-8zh_TW.BIG5---------------------- # locale-gen # echo LANG=zh_TW.UTF-8 > /etc/locale.conf # export LANG=zh_TW.UTF-8 . Application # sudo pacman -S network-manager-applet # sudo pacman -S leafpad # sudo pacman -S gparted # sudo pacman -S file-roller # sudo pacman -S simple-scan # sudo pacman -S system-config-printer # sudo pacman -S gucharmap # sudo pacman -S vlc gstreamer-vaapi libvdpau-va-gl . Audio # sudo pacman -S pulseaudio pavucontrol volumeicon # sudo leafpad /etc/xdg/autostart/volumeicon.desktop ----------------------------------[Desktop Entry]Version=1.0Name=volumeiconComment=A lightweight volume controllerExec=volumeiconType=ApplicationTerminal=falseStartupNotify=falseNoDisplay=true----------------------------------.Volumeicon Config # sudo leafpad ~/.config/volumeicon/volumeicon ---------------------------------------[Alsa]card=HDA Intel PCHchannel=Master[Notification]show_notification=truenotification_type=1[statusIcon]stepsize=5onclick=pavucontroltheme=Defaultuse_panel_specific_icons=falselmb_slider=truemmb_mute=false---------------------------------------.Firefox # sudo pacman -S firefox language pack for Firefox https://www.archlinux.org/packages/?sort=&q=firefox&maintainer=&flagged= # sudo pacman -S firefox-i18n-zh-tw . FlashPlayer # sudo pacman -S flashplugin . Intel VA Driver (Optional) # sudo pacman -S libva-intel-driver . Thunar(Root) # sudo leafpad /usr/share/applications/RootThunar.desktop --------------------------------------[Desktop Entry]Name=Thunar File Manager(Root)Name[zh_TW]=Thunar 檔案管理員(Root)Comment=Browse the filesystem with the file managerComment[zh_TW]=使用檔案管理員瀏覽檔案系統GenericName=File Manager(Root)GenericName[zh_TW]=檔案管理員(Root)Exec=sudo thunar %FIcon=ThunarTerminal=falseStartupNotify=trueType=ApplicationCategories=System;Utility;Core;GTK;FileTools;FileManager;# vi:set encoding=UTF-8:--------------------------------------. ------ Input Method (Optional)for example: fcitx # sudo pacman -S fcitx-im fcitx-chewing fcitx-configtool .------ Display Manager (Optional)for example: lightdm base # sudo pacman -S lightdm-gtk-greeter Settings editor (Optional) # sudo pacman -S lightdm-gtk-greeter-settings Automatic startup # systemctl enable lightdm.service Autologin # sudo leafpad /etc/lightdm/lightdm.conf addon----------------------------------------------[seatDefaults]pam-service=lightdm-autologinautologin-user=torachiyoautologin-user-timeout=0session-wrapper=/etc/lightdm/Xsession---------------------------------------------- # groupadd autologin # gpasswd -a torachiyo autologin . ------ Font installation base font # pacman -S wqy-microhei ttf-dejavu ttf-droid cantarell-fonts . 1 Link to comment https://www.insanelymac.com/forum/topic/308329-arch-linux-install-note/ Share on other sites More sharing options...
Meowthra Posted October 3, 2015 Author Share Posted October 3, 2015 Custom Style.xfce4-configReplace Path: /etc/xdg/xfce4/.arch-menu-logoPath: /usr/share/pixmaps/.ttf-mac-fontInstall Path: /usr/share/fonts/TTF/.mint-themesicons Pach: /usr/share/iconsthemes Path /usr/share/themes. Xubuntu themesLinux Mint themes arch-menu-logo.zip xfce4-config.tar.gz ttf-mac-font.tar.gz mint-themes.tar.gz Link to comment https://www.insanelymac.com/forum/topic/308329-arch-linux-install-note/#findComment-2172697 Share on other sites More sharing options...
Recommended Posts