### Using a Custom URL for Install Commands Source: https://discovery.endeavouros.com/installation/customizing-the-endeavouros-install-process Restart the Welcome application with a terminal command to fetch and use a custom command file from a URL. The URL must start with `https://` or `http://`. ```bash eos-welcome --ni="URL" ``` -------------------------------- ### Install and Enable Switcheroo-Control Source: https://discovery.endeavouros.com/hardware/switcheroo-control/2025/02 Installs the switcheroo-control package and enables its systemd service. This is the initial setup required before using the tool. ```bash sudo pacman -Syu switcheroo-control sudo systemctl enable --now switcheroo-control ``` -------------------------------- ### Install Dracut for GRUB Source: https://discovery.endeavouros.com/installation/Dracut Install dracut and related packages for systems using GRUB. ```bash sudo pacman -S dracut ``` ```bash sudo pacman -S eos-dracut ``` ```bash sudo pacman -Rc mkinitcpio ``` -------------------------------- ### Install Samba on Linux Source: https://discovery.endeavouros.com/author/pudge Installs the Samba package on a Linux system using pacman. This is a prerequisite for setting up a SAMBA server. ```bash # pacman -Syu samba ``` -------------------------------- ### Install GNOME Browser Connector Source: https://discovery.endeavouros.com/desktop-environments/gnome-desktop/2024/09 Install the gnome-browser-connector package to allow installing GNOME extensions directly from your web browser. ```bash pacman -Syu gnome-browser-connector ``` -------------------------------- ### Install Samba Server on Linux Source: https://discovery.endeavouros.com/category/arm Installs the Samba server package on a Linux system using pacman. Ensure your system is up-to-date before installation. ```bash ssh pshare@enosServer su pacman -Syu samba ``` -------------------------------- ### Create User Package List Source: https://discovery.endeavouros.com/installation/customizing-the-endeavouros-install-process Add desired package names to this file, one per line. Ensure packages are from configured repositories and not AUR. The installer will process this list. ```bash nano ~/user_pkglist.txt ``` -------------------------------- ### Install kio-gdrive for Dolphin Source: https://discovery.endeavouros.com/applications/kde-plasma/2024/09 Install the kio-gdrive package to enable Google Drive browsing within the Dolphin file manager. ```bash sudo pacman -Syu kio-gdrive ``` -------------------------------- ### Install Dracut for systemd-boot Source: https://discovery.endeavouros.com/installation/Dracut Install the necessary package for dracut when using systemd-boot. ```bash sudo pacman -S kernel-install-for-dracut ``` -------------------------------- ### Install EOS Defaults for Dracut Source: https://discovery.endeavouros.com/installation/Dracut Download and install the EndeavourOS custom default settings for dracut. ```bash curl https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/main/airootfs/etc/dracut.conf.d/eos-defaults.conf | sudo tee /etc/dracut.conf.d/eos-defaults.conf ``` -------------------------------- ### Install gvfs-goa for Online Accounts Source: https://discovery.endeavouros.com/desktop-environments/gnome-desktop/2024/09 Install the gvfs-goa package to enable full functionality for online accounts like ownCloud within GNOME applications. ```bash sudo pacman -Syu gvfs-goa ``` -------------------------------- ### Uninstall mkinitcpio-openswap Source: https://discovery.endeavouros.com/installation/Dracut Uninstall mkinitcpio-openswap if it conflicts during dracut installation. ```bash sudo pacman -R mkinitcpio-openswap ``` -------------------------------- ### Enable Early KMS Loading for Intel Source: https://discovery.endeavouros.com/installation/Dracut Force the inclusion of the 'i915' driver for early Kernel Mode Setting with Intel graphics. ```bash force_drivers+=" i915 " ``` -------------------------------- ### List Known GPUs with switcherooctl Source: https://discovery.endeavouros.com/hardware/switcheroo-control/2025/02 Lists the available GPUs on the system. The output provides device numbers that can be used with the 'launch' command. ```bash switcherooctl list ``` -------------------------------- ### Update initrds and boot entries Source: https://discovery.endeavouros.com/installation/systemd-boot Run this script to regenerate initrds and create/update boot entries. It supports both dracut and mkinitcpio. ```bash sudo reinstall-kernels ``` -------------------------------- ### Use current kernel options Source: https://discovery.endeavouros.com/installation/systemd-boot If you prefer to use the current running system's kernel options, remove the `/etc/kernel/cmdline` file and then run `sudo reinstall-kernels`. ```bash rm /etc/kernel/cmdline sudo reinstall-kernels ``` -------------------------------- ### Check Wi-Fi Power Save Status Source: https://discovery.endeavouros.com/hardware/framework-13-amd-dyi-amd-ryzen-7-7840u/2025/08 Use this command to check if power saving mode is active for the Wi-Fi interface. Ensure 'iw' is installed. ```bash iw dev wlan0 get power_save ``` -------------------------------- ### Enable Early KMS Loading for Nvidia Source: https://discovery.endeavouros.com/installation/Dracut Force the inclusion of specific Nvidia drivers for early Kernel Mode Setting. ```bash force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm " ``` -------------------------------- ### Reinstall GRUB (BIOS) Source: https://discovery.endeavouros.com/system-rescue/repair-a-non-booting-grub Execute this command to reinstall GRUB on BIOS systems. Replace '/dev/sdX' with your actual disk identifier. ```bash grub-install --target=i386-pc /dev/sdX ``` -------------------------------- ### Receive GPG Key Source: https://discovery.endeavouros.com/signature-and-keyring/how-to-check-and-trust-key-and-signature-for-the-endeavouros-iso/2025/01 Import a GPG public key into your keyring. This is the first step to verify signatures from the key owner. ```bash gpg --recv-key CDF595A1 ``` -------------------------------- ### Enable Early KMS Loading for AMD Source: https://discovery.endeavouros.com/installation/Dracut Force the inclusion of the 'amdgpu' driver for early Kernel Mode Setting with modern AMD graphics. ```bash force_drivers+=" amdgpu " ``` -------------------------------- ### Reinstall GRUB Files (UEFI) Source: https://discovery.endeavouros.com/system-rescue/repair-a-non-booting-grub Use this command to reinstall GRUB files on UEFI systems. It automatically uses the default EFI path. ```bash grub-install ``` -------------------------------- ### Receive GPG Key from Specific Server Source: https://discovery.endeavouros.com/signature-and-keyring/how-to-check-and-trust-key-and-signature-for-the-endeavouros-iso/2025/01 If the default keyserver does not have the key, you can specify an alternative server like Ubuntu's or MIT's. ```bash gpg --keyserver keyserver.ubuntu.com --recv-keys CDF595A1 ``` ```bash gpg --keyserver pgp.mit.edu --recv-keys CDF595A1 ``` -------------------------------- ### Check System Type (UEFI/BIOS) Source: https://discovery.endeavouros.com/system-rescue/repair-a-non-booting-grub Run this command to determine if your system uses UEFI or BIOS for booting. ```bash efibootmgr ``` -------------------------------- ### Launch Application on a Specific GPU Source: https://discovery.endeavouros.com/hardware/switcheroo-control/2025/02 Launches a specified command on a particular GPU. If no GPU is specified, it defaults to the first discrete GPU or the default GPU if none is discrete. ```bash switcherooctl launch [OPTION] COMMAND ``` -------------------------------- ### Rebuild GRUB Configuration File (UEFI/BIOS) Source: https://discovery.endeavouros.com/system-rescue/repair-a-non-booting-grub After reinstalling GRUB, run this command to regenerate the GRUB configuration file. This is necessary for both UEFI and BIOS systems. ```bash grub-mkconfig -o /boot/grub/grub.cfg ``` -------------------------------- ### Set default boot entry for mainline kernel Source: https://discovery.endeavouros.com/installation/systemd-boot Configure the `default` entry in `/efi/loader/loader.conf` to boot the mainline kernel using a wildcard pattern. ```shell default 665eca4ae83246df8ec17d1cbc6a1763-*-arch?-?.conf ``` -------------------------------- ### Specify GPU for Launch Command Source: https://discovery.endeavouros.com/hardware/switcheroo-control/2025/02 An option for the 'launch' command to specify the target GPU. The GPU identifier is obtained from the 'list' command. ```bash -g --gpu=GPU ``` -------------------------------- ### Dracut Configuration for LUKS Encrypted File Systems (GRUB) Source: https://discovery.endeavouros.com/installation/Dracut Add a dracut drop-in configuration for LUKS encrypted file systems when using GRUB. ```bash install_items+=" /etc/crypttab /crypto_keyfile.bin " ``` -------------------------------- ### Symlink User Commands for Older Systems Source: https://discovery.endeavouros.com/installation/customizing-the-endeavouros-install-process For systems like Galileo neo, if you have an existing `user_commands.bash`, you can create a symbolic link to `user-commands-before.bash` to maintain compatibility, ensuring parameter handling is adjusted. ```bash cd $HOME rm user-commands-before.bash ln -s user_commands.bash user-commands-before.bash ``` -------------------------------- ### SSH into Headless Server Source: https://discovery.endeavouros.com/author/pudge Connects to a headless server named 'enosServer' using SSH with the username 'pshare'. ```bash $ ssh pshare@enosServer ``` -------------------------------- ### Limit Initramfs Size with Dracut Source: https://discovery.endeavouros.com/installation/Dracut Create a configuration file to enable strict host-only mode, reducing the initramfs size. ```bash hostonly_mode=strict ``` -------------------------------- ### Enable os-prober for GRUB Source: https://discovery.endeavouros.com/system-rescue/repair-a-non-booting-grub Modify the GRUB configuration file to enable os-prober for detecting other operating systems. This requires editing `/etc/default/grub` and regenerating `grub.cfg`. ```bash GRUB_DISABLE_OS_PROBER=true ``` ```bash GRUB_DISABLE_OS_PROBER=false ``` ```bash sudo grub-mkconfig -o /boot/grub/grub.cfg ``` -------------------------------- ### Check ISO SHA512 Checksum on Windows Source: https://discovery.endeavouros.com/signature-and-keyring/how-to-check-and-trust-key-and-signature-for-the-endeavouros-iso/2025/01 Verify the integrity of an ISO file using its SHA512 checksum on Windows via the command prompt. ```cmd certutil -EndeavourOS_Mercury-2025.02.08.iso.sha512sumEndeavourOS_Mercury-2025.02.08.iso SHA512 ``` -------------------------------- ### Check for Optimus Notebooks Source: https://discovery.endeavouros.com/page/2?s=nvidia Run this command in the terminal to determine if your system uses hybrid graphics (Nvidia Optimus). ```bash lspci -vnn | grep ‘\”[030[02]\”’ ``` -------------------------------- ### Dracut Configuration for LUKS Encrypted File Systems Source: https://discovery.endeavouros.com/installation/Dracut Add a dracut drop-in configuration for LUKS encrypted file systems. ```bash install_items+=" /etc/crypttab " ``` -------------------------------- ### Set default boot entry with wildcard Source: https://discovery.endeavouros.com/installation/systemd-boot Modify the `default` line in `/efi/loader/loader.conf` to specify the default boot entry. Wildcards can be used to select specific kernel types like LTS. ```shell default 665eca4ae83246df8ec17d1cbc6a1763*lts.conf ``` -------------------------------- ### Add Dracut Module for mdraid Source: https://discovery.endeavouros.com/installation/Dracut Manually add the 'mdraid' module to the initramfs if automatic detection is insufficient. ```bash add_dracutmodules+=" mdraid " ```