Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

How to Install EndeavourOS on VirtualBox Step-by-Step Guide

How to Install EndeavourOS on VirtualBox Step-by-Step Guide

Installing EndeavourOS on VirtualBox allows you to safely explore this Arch Linux-based distribution without affecting your main operating system. This setup is ideal for testing, learning Linux, or developing in a controlled environment. Before you begin, ensure you have a stable internet connection and enough system resources to allocate to the virtual machine.

What You’ll Need

  • A computer with VirtualBox installed (version 6.0 or later recommended)
  • The latest EndeavourOS ISO file, downloadable from the official EndeavourOS website
  • A stable internet connection to download updates and packages during installation
  • At least 20 GB of free disk space for the virtual machine
  • Minimum 2 GB of RAM allocated to the virtual machine (4 GB or more recommended for smoother performance)

Step-by-Step

  1. Download and install VirtualBox: If you haven’t already, download VirtualBox from the official site and install it on your host system.
  2. Download the EndeavourOS ISO: Visit the EndeavourOS website and download the latest ISO image suitable for your system architecture (usually x86_64).
  3. Create a new virtual machine in VirtualBox:
    • Open VirtualBox and click New.
    • Name your VM (e.g., “EndeavourOS”) and set Type to “Linux” and Version to “Arch Linux (64-bit)”.
    • Allocate memory: assign at least 2048 MB (2 GB), preferably 4096 MB or more.
    • Create a virtual hard disk: choose “Create a virtual hard disk now”, select VDI (VirtualBox Disk Image), and set dynamically allocated storage.
    • Set disk size to at least 20 GB for comfortable use.
  4. Configure VM settings:
    • Select your newly created VM and click Settings.
    • Under System > Motherboard, ensure “Enable EFI” is unchecked unless you have a specific need.
    • Under Processor, assign at least two CPU cores if available.
    • Under Display, increase Video Memory to 128 MB for better graphics performance.
    • Under Storage, click the empty optical drive and select the EndeavourOS ISO file you downloaded.
    • Under Network, ensure the adapter is attached to NAT (default) for internet access.
  5. Start the virtual machine: Click Start to boot from the EndeavourOS ISO. The live environment will load, presenting you with the EndeavourOS welcome screen.
  6. Begin installation:
    • From the welcome screen, select “Start the installer”.
    • Choose your preferred language, keyboard layout, and timezone.
    • Set up your disk partitioning. For beginners, choose “Erase disk” to let the installer handle partitioning automatically within the virtual hard disk.
    • Create a user account by entering your name, username, password, and choose whether to enable automatic login.
    • Select your preferred desktop environment if prompted (e.g., Xfce, GNOME, KDE Plasma). EndeavourOS offers multiple options during installation.
    • Review the summary and start the installation. This process may take 10-20 minutes depending on your system speed and internet connection.
  7. Complete installation and reboot: Once installation finishes, the installer will prompt you to reboot. Remove the ISO from the virtual optical drive by going to Devices > Optical Drives and unchecking the EndeavourOS ISO.

    Then reboot the VM to boot into your new EndeavourOS system.

  8. Post-installation: After booting into EndeavourOS, log in with the user credentials you created. It’s recommended to update your system immediately by opening a terminal and running:
    sudo pacman -Syu

    This ensures you have the latest security patches and software updates.

  9. Install Guest Additions (optional but recommended): To improve integration between your host and VM (e.g., clipboard sharing, better display resolution), install VirtualBox Guest Additions.
    • In the VM window, go to Devices > Insert Guest Additions CD image.
    • Mount the CD if not auto-mounted.
    • Follow the official EndeavourOS or Arch Linux wiki instructions to install necessary packages (such as dkms, linux headers) and run the Guest Additions installer.
  10. Enjoy EndeavourOS: Explore, customize, and use your new EndeavourOS virtual machine. You can install software, experiment with Arch-based Linux features, and learn command-line tools without risk to your main OS.

Common Mistakes

  • Assigning too little RAM or CPU cores: EndeavourOS runs best with at least 2 GB RAM and 2 CPU cores allocated. Less can cause sluggish performance or installation failures.
  • Not removing the ISO after installation: Forgetting to eject the installation ISO leads the VM to boot repeatedly into the installer.
  • Incorrect disk size or partitioning: Allocating less than 20 GB disk space or improper partitioning can cause installation errors or limited storage.
  • Skipping updates after installation: The initial update is critical for security and stability; neglecting this can expose you to bugs or vulnerabilities.
  • Not installing VirtualBox Guest Additions: Without it, features like dynamic screen resizing, shared clipboard, and better performance won’t work.

Tips

  • Enable 3D acceleration: In VirtualBox settings under Display, enabling 3D acceleration can improve desktop effects if your host supports it.
  • Use snapshots: Before major changes, create snapshots in VirtualBox to quickly revert your VM to a previous state.
  • Choose lightweight desktop environments: If your host is resource-limited, opt for Xfce or LXQt instead of heavier environments like KDE Plasma.
  • Allocate more video memory: Increasing video memory to 128 MB or more ensures smoother graphical performance.
  • Regularly update your VM: Running sudo pacman -Syu regularly keeps your system secure and stable.
  • Consult the Arch Wiki: EndeavourOS is Arch-based; the Arch Wiki is an excellent resource for troubleshooting and advanced configuration.

Troubleshooting

Sometimes, the installation or boot process may not go as planned. Here are some solutions to common issues:

  • VM won’t boot from ISO: Verify that the ISO is correctly attached in the VM’s storage settings. Try re-downloading the ISO if corruption is suspected.
  • Installation hangs or freezes: Increase allocated RAM or CPU cores. Disable EFI if enabled unless you need it. Also, check VirtualBox version compatibility.
  • Network not working inside VM: Ensure the network adapter is set to NAT or Bridged Adapter. Restart the VM or reset the network adapter in VirtualBox settings.
  • Screen resolution is too small or fixed: Install VirtualBox Guest Additions for dynamic resizing. If installing fails, make sure kernel headers and development tools are installed inside the VM.
  • Errors during package updates: Run sudo pacman -Syyu to refresh package databases and update. If a keyring error occurs, try sudo pacman -Sy archlinux-keyring.
  • Cannot install Guest Additions: EndeavourOS may require specific packages like linux-headers matching your kernel version. Use uname -r to check your kernel version and install corresponding headers.

Frequently Asked Questions

Can I run EndeavourOS on VirtualBox with less than 2 GB RAM?

While it’s technically possible, performance will be poor, and installation may fail. Allocate at least 2 GB RAM for a usable experience.

Is EndeavourOS suitable for beginners in Linux?

Yes, EndeavourOS offers a user-friendly installer and community support, making it a great Arch-based distro for users comfortable with some Linux basics.

Do I need to install VirtualBox Guest Additions?

It’s not mandatory but highly recommended to enable features like improved graphics, shared clipboard, and seamless mouse integration.

How do I update EndeavourOS after installation?

Open a terminal and run sudo pacman -Syu. This synchronizes your package databases and upgrades installed packages.

Can I use snapshots to save the VM state?

Yes, VirtualBox snapshots allow you to save and revert the VM to previous states, which is useful before making major changes.

What desktop environments can I choose during installation?

EndeavourOS offers several options including Xfce, KDE Plasma, GNOME, Cinnamon, and others. You can also install additional environments later.

By following this guide, you can successfully install EndeavourOS on VirtualBox, enabling a safe and flexible Linux environment for experimentation, development, and learning. With proper setup and maintenance, your virtual machine can provide a powerful Arch-based experience right on your existing computer.

Related

How to Install EndeavourOS on VirtualBox Step-by-Step Guide
Scroll to top