If you're looking to set up a dual-boot system with Manjaro Linux, here's a comprehensive guide to help you through the installation process. This guide assumes you want to install Manjaro alongside an existing operating system like Windows.
*Step-by-Step Guide to Dual Boot Manjaro Linux*
#### *1. Backup Your Data*
Before starting the installation process, it’s crucial to back up your important data to avoid any potential loss.
#### *2. Prepare Installation Media*
*Download Manjaro ISO:* Visit the [Manjaro website](https://manjaro.org/download/) and download the ISO file for the edition you prefer (XFCE, KDE, GNOME, etc.).
*Create Bootable Media:* Use tools like Rufus (for Windows) or Etcher (for Linux/Mac) to create a bootable USB drive with the downloaded ISO file.
#### *3. Boot from Installation Media*
Insert the bootable USB into your computer.
Restart your computer and enter the BIOS/UEFI settings (usually by pressing a key like F2, F12, DEL, or ESC during startup).
Set the boot order to prioritize the USB drive.
Save changes and exit BIOS/UEFI. Your computer should now boot from the USB drive.
#### *4. Start Manjaro Installer*
Once you boot into the Manjaro live environment, you’ll see the Manjaro desktop.
Double-click the "Install Manjaro" icon on the desktop to start the installation process.
#### *5. Begin Installation Process*
*Select Language:* Choose your preferred language and click "Next."
*Select Region and Keyboard Layout:* Choose your region and keyboard layout, then click "Next."
#### *6. Prepare Installation*
*Partitioning:*
If you’re dual-booting with Windows, you need to resize the Windows partition to make space for Manjaro.
You can use a tool like **GParted**, which is included in the live environment. Open GParted, select your Windows partition, and resize it to create unallocated space for Manjaro.
After resizing, close GParted.
#### *7. Choose Installation Type*
*Manual Partitioning:*
Select "Manual partitioning" and click "Next."
You will see a list of partitions. You need to create at least two partitions:
*Root Partition (`/`):* Allocate space from the unallocated space. Format it as `ext4` and set it as the root partition.
*Swap Partition:* Optional but recommended, especially if you have limited RAM. Allocate space for swap and set it up as a swap partition.
You might also create a separate *Home Partition* (`/home`) if you want to keep user files separate from system files.
*Automatic Partitioning:*
If you prefer, you can choose "Erase Disk and Install Manjaro" and manually adjust partitions later, but this option will overwrite any existing data on the disk.
#### *8. Configure Bootloader*
Ensure that *GRUB* (the bootloader) is set up to handle the dual-boot setup. It should automatically detect your existing OS (e.g., Windows) and add it to the boot menu.
#### *9. User Configuration*
*Set Up User Account:* Enter your name, username, and password.
*Choose Installation Location:* Select your time zone and region.
#### *10. Start Installation*
Review your choices and click "Install." The installer will copy files and configure your system.
Once the installation is complete, you will be prompted to restart your computer.
#### *11. Post-Installation*
*Remove Installation Media:* Remove the USB drive before the system restarts.
*Boot into Manjaro:* On reboot, you should see the GRUB menu allowing you to choose between Manjaro and your existing OS.
#### *12. Update and Configure*
*Update Manjaro:* Open the terminal and run `sudo pacman -Syu` to update the system.
*Install Additional Software:* Use `pamac` or the Manjaro Settings Manager to install additional software and drivers.
*Troubleshooting Tips*
*If Windows is not detected in GRUB:* Boot into Manjaro and run `sudo update-grub` in the terminal to refresh the bootloader configuration.
*Boot Repair:* If you encounter boot issues, you may use tools like *Boot-Repair* from the Manjaro live environment.
By following these steps, you should have a working dual-boot setup with Manjaro Linux and your existing operating system. If you have any questions or run into issues, feel free to ask!