Manjaro Linux Partitioning & Installation Guide

Are you new to Manjaro Linux and need help with partitioning and installation? Look no further! This guide will walk you through the process step-by-step.

Plan your partition scheme ahead of time to ensure you have enough space for all your data and operating system needs.

Manjaro Linux Installation Preparations

Before starting the Manjaro Linux installation process, there are a few preparations you need to make. First, decide whether you want to install Manjaro on your entire hard drive or create a dual-boot setup with Windows 10. Next, create a partition table and partitions using a tool such as GParted. It’s recommended to have at least a root partition and a swap partition.

Once the partitions are created, download the Manjaro ISO image from the official website and create installation media using a flash drive or virtual machine environment such as VirtualBox.

Before booting from the installation media, check your BIOS settings to ensure the correct boot order. During the installation process, the Calamares Installer will guide you step by step through the installation process, including selecting packages, choosing a desktop environment, and setting up users.

Note that there are some improvements to the Manjaro installation process in the latest release, so be sure to check the Manjaro Wiki or installation guides for any specific tips or notes relevant to your system. Finally, don’t forget to set up disk encryption if desired.

Partitioning your hard drive is an essential step to ensure the smooth functioning of your Manjaro Linux operating system.

Downloading and Burning Manjaro ISO

  • Download the Manjaro ISO from the official website.
  • Burn the ISO image to a DVD or USB flash drive.
    Download the Manjaro ISO from the official website.
Burn the ISO image to a DVD or USB flash drive.
  • Boot your computer from the DVD or USB drive.
  • Select the option to start the Manjaro installer.
  • Choose the language and keyboard layout for the installation.
  • Select “Manual partitioning” when prompted.
  • Create a new partition for Manjaro by selecting the free space on your hard drive.
  • Assign a mount point to the new partition, such as “/” for the root directory.
    Create a new partition for Manjaro by selecting the free space on your hard drive.
Assign a mount point to the new partition, such as "/" for the root directory.
  • Format the new partition with the appropriate file system, such as ext4.
  • Continue with the rest of the installation process, following the prompts and entering your desired user information.
    Format the new partition with the appropriate file system, such as ext4.
Continue with the rest of the installation process, following the prompts and entering your desired user information.

Booting into Live Environment and Disabling Secure Boot

Booting into the live environment is the first step to installing Manjaro Linux. To do so, insert the Manjaro USB drive into your computer and enter BIOS settings to change the boot order to USB first. Once you’ve successfully booted into the live environment, you may need to disable Secure Boot in your BIOS settings.

From there, you can open the Calamares Installer to begin the installation process. During the installation, you’ll need to partition your hard drive. If you’re a beginner, it’s recommended to use the default partition table, MBR. You can choose to encrypt your disk if you want disk encryption.

Once you’ve partitioned your hard drive and selected your desktop environment, the installation will begin. Follow the step-by-step instructions to complete the installation. After the installation is finished, you can start using Manjaro Linux and take advantage of its many features and improvements over other distributions.

Proper partitioning can help you optimize the performance of your Manjaro installation and ensure data security.


#!/bin/bash

# This script creates partitions on a Manjaro system

# Display available disks
lsblk

# Prompt user for disk to partition
echo "Enter disk to partition (e.g., /dev/sda): "
read disk

# Display current disk partition table
fdisk -l $disk

# Prompt user for partition size
echo "Enter partition size (e.g., 10G): "
read size

# Create new partition
echo -e "n\np\n\n\n+$size\nw" | fdisk $disk

# Display new partition table
fdisk -l $disk

# Format new partition as ext4
echo "Enter partition number to format as ext4: "
read partition
mkfs.ext4 ${disk}${partition}

# Create mount point
echo "Enter mount point (e.g., /mnt/data): "
read mount_point
mkdir $mount_point

# Mount partition
mount ${disk}${partition} $mount_point

# Add partition to fstab
echo "${disk}${partition} $mount_point ext4 defaults 0 2" >> /etc/fstab

# Display updated fstab
cat /etc/fstab

# Done
echo "Partitioning complete!"

This script creates a new partition on a Manjaro system, formats it as ext4, and adds it to the fstab file for automatic mounting at boot time. It prompts the user for the disk to partition, partition size, mount point, and partition number to format as ext4.

Again, this is just an example, and it may not work on your system. You should always test any code before running it on your production system.

Hard Disk Partitioning for Manjaro Installation

Partition File System Mount Point Size
/ ext4 root 20GB
/home ext4 /home Remaining space
Swap swap 2x RAM size

Installing Manjaro Linux and Creating User Account

To install Manjaro Linux, begin by downloading the ISO from the official website. Create a bootable USB drive or burn it to a disc. Insert the device into your computer and boot it up. Select “Start Manjaro Linux” from the menu and wait for the desktop environment to load.

Launch the installer and select your language preference. In the partitioning section, choose “Manual partitioning” to set up your hard disk partitions. Create a root partition and a swap partition, if desired.

Next, create a user account by providing your personal details. Set a password and move on to the next section. Review the installation settings and click “Install” to begin the process. Once completed, reboot your system and log in with your newly created account.

Note that if you plan to dual boot with Windows 10, you may need to disable secure boot and change the boot mode to Legacy or MBR. Additionally, if you prefer the KDE desktop environment, you can opt for the Manjaro KDE distribution instead.

Conclusion and FAQ for Manjaro Partition Guide

Conclusion and FAQ:

Congratulations! You have successfully partitioned and installed Manjaro Linux on your computer. We hope this guide was helpful in your journey towards using this amazing operating system. Here are some frequently asked questions to help you along the way:

Q: Can I dual boot Manjaro with Windows 10?
A: Yes, you can. Follow these steps to set up a dual boot system.

Q: Can I install Manjaro on a virtual machine?
A: Yes, you can. Use Virtualbox or any other virtual machine environment to install Manjaro and experience its features without affecting your main system.

Q: Where can I download the Manjaro ISO?
A: You can download it from the official Manjaro website or from the Arch Linux Wiki.

Q: Which desktop environment should I choose in Manjaro?
A: It depends on your personal preference and usage. Manjaro offers several desktop environments, including KDE, GNOME, and Xfce.

Q: What packages should I install after installing Manjaro?
A: It depends on your usage. Manjaro offers a vast repository of packages, which you can install using the Manjaro Settings Manager or the terminal.

We hope this article has been helpful for beginners and advanced users alike. If you have any other questions or tips to share, feel free to leave a comment below. Happy Manjaro-ing!