Running Manjaro Linux within a VirtualBox virtual machine on a Windows 11 host offers a flexible and efficient way to experience Linux without altering your primary operating system. This guide provides a step-by-step approach to setting up Manjaro in VirtualBox, including essential configurations and troubleshooting tips.
Prerequisites
Before proceeding, ensure you have the following:
- Windows 11 System: A computer running Windows 11.
- VirtualBox: An open-source virtualization platform.
- Manjaro Linux ISO: The installation image for Manjaro.
Step 1: Install VirtualBox on Windows 11
- Download VirtualBox: Visit the official VirtualBox website and download the latest version compatible with Windows.
- Run the Installer: Execute the downloaded file and follow the on-screen instructions to install VirtualBox.
- Install Extension Pack (Optional): For additional features like USB support, download and install the VirtualBox Extension Pack.
Step 2: Download Manjaro Linux ISO
- Visit the Manjaro Website: Navigate to the Manjaro Downloads page.
- Choose an Edition: Select the desired desktop environment (e.g., XFCE, KDE Plasma, GNOME).
- Download the ISO: Click on the download link to obtain the ISO file.
Step 3: Create a New Virtual Machine in VirtualBox
- Open VirtualBox: Launch the VirtualBox application.
- Create New VM:
- Click on the "New" button.
- Name and Operating System:
- Name: "Manjaro Linux"
- Type: "Linux"
- Version: "Arch Linux (64-bit)"
- Memory Size: Allocate at least 2 GB of RAM.
- Hard Disk: Create a virtual hard disk with a size of at least 20 GB.
Step 4: Configure the Virtual Machine
- Settings:
- System:
- Motherboard: Enable EFI (special OSes only).
- Processor: Assign at least 2 CPUs.
- Display:
- Screen:
- Video Memory: 128 MB
- Graphics Controller: "VBoxSVGA"
- Enable 3D Acceleration: Checked
- Storage:
- Controller: IDE:
- Add the Manjaro ISO file to the optical drive.
- Controller: IDE:
- Screen:
Step 5: Install Manjaro Linux
- Start the VM: Click "Start" to boot from the ISO.
- Begin Installation:
- Select "Launch Installer" from the Manjaro welcome screen.
- Language: Choose your preferred language.
- Region: Select your region.
- Keyboard Layout: Choose the appropriate layout.
- Partitioning: For a clean installation, select "Erase disk" (this will delete all data on the virtual disk).
- User Setup: Enter your username, password, and computer name.
- Installation: Review your selections and click "Install Now".
- Complete Installation:
- After installation, reboot the VM.
- Remove the ISO from the virtual optical drive to prevent booting into the installer again.
Step 6: Post-Installation Configuration
- Update System:
- Open a terminal and run:
``INLINECODE0 `INLINECODE1 `INLINECODE2 `INLINECODE3 `INLINECODE4 `INLINECODE5 vboxsfINLINECODE6 `INLINECODE7 `INLINECODE8 vboxsfINLINECODE9 vboxservice` is running.
Conclusion
By following these steps, you can successfully install and run Manjaro Linux within a VirtualBox virtual machine on your Windows 11 system. This setup allows you to explore Linux applications and environments without modifying your primary operating system.