Skip to content

Conversation

@ArchDevs
Copy link

Hello there! When I was setting up dual boot on my system, I ran into some difficult parts. So I decided to create a guide for people who want to dual boot but aren’t sure how to do it.

We need to shrink an existing partition to make room for AxOS.

> ⚠️ **Important Note**:
> It’s strongly recommended to install Linux on the **same physical disk (SSD/HDD)** where Windows is installed. Installing it on a second disk can cause bootloader issues or system instability.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really, it works well with one OS on each disks

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering from my experience, i have done this twice and twice i needed to format the whole disk because the EFI messed up. Maybe i am doing something wrong

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to wipe a disk, automatic partitioning will work well

> We’ll use that name in the next step.

## Step 4: Create Partitions with `gdisk`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gparted will be added to the next ISO. Add a gui way alongside with cli

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, but for now it's the best way to do it, until gparted will be used

### Format the EFI Partition:

```bash
sudo mkfs.fat -F32 /dev/nvme0n1p1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formating will be done in the installer, no need to do it manually


## Step 6: Mount the Partitions

Before launching the installer, we need to **manually mount** the partitions:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to, the installer will do the job

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I installed OS three times and everytime it throws an error that /boot/efi (even when i choose mount point) does not exists. So i mount partitions and create /boot/efi

sudo mount /dev/nvme0n1p2 /mnt
```

### Create and Mount EFI Directory:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ik the installer doesn't works sometimes, but it should do it itself. Let it be a grown installer

* For the **EFI partition**:

* Set mount point to `/boot/efi`
* Set **Do Not Format** (since we already formatted it)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fat32, as I said earlier, no need to format it manually as the installer can do it

Change it to:

```bash
GRUB_DISABLE_OS_PROBER=false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is already false by default (is it ?)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As i know it is false by default but it will be good if the user checks it twice

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then say check instead of do

### BIOS Systems:

```bash
sudo grub-mkconfig -o /boot/grub/grub.cfg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one. Not the efi one (or maybe I'm learning something)

@ArchDevs
Copy link
Author

I did some changes to a guide, and adjusted to the requirements.

Copy link
Member

@LeVraiArdox LeVraiArdox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment. Else, it's good :)


* For the **Linux root partition**:

* Set **ext4** format
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Precise ext4 is an example and the recommend FS

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forget it, I'll do it myself later

@LeVraiArdox LeVraiArdox merged commit bbf1a63 into AxOS-project:main Jul 12, 2025
@LeVraiArdox
Copy link
Member

Thanks!

@Byson94
Copy link
Member

Byson94 commented Jul 12, 2025

I think that you should change the name from "dual boot tutorial" to just "dual boot" because it's under the guides section and the word "tutorial" seems redundant.

@Byson94
Copy link
Member

Byson94 commented Jul 12, 2025

Adding a Linux section in the guide would also help out a ton because most AxOS users come from a Linux background.

It is not strictly needed right now, but improving it to also contain this information would be mandatory later as AxOS matures.

@Byson94
Copy link
Member

Byson94 commented Jul 12, 2025

@LeVraiArdox
Copy link
Member

Adding a Linux section in the guide would also help out a ton because most AxOS users come from a Linux background.

Letting you do the necessary PRs

@Byson94
Copy link
Member

Byson94 commented Jul 12, 2025

Letting you do the necessary PRs

I'll do it tomorrow because I am currently tried after very a stressful day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants