Ask step dual os

Is this the correct method for dual OS with Windows 11?

Phase 1: Manual Partitioning**

  1. Create EFI Partition

    • Select the 80 GB Free Space $\rightarrow$ Create.

    • Size: 1024 MiB (or 2048 MiB).

    • File System: FAT32.

    • Mount Point: /boot/efi.

    • Flags: Check boot and esp.

  2. Create Root Partition

    • Select the Remaining Free Space $\rightarrow$ Create.

    • Size: All remaining capacity.

    • File System: BTRFS.

    • Mount Point: / (Root).

Phase 2: Bootloader Configuration

  • Select Bootloader: Choose GRUB.

    • Reason: Superior automatic Windows detection for dual-boot setups.
  • Target: Ensure it points to the newly created EFI partition.

Phase 3: Post-Install & BIOS

  1. Click Install Now and finish the process.

  2. Restart and enter BIOS.

  3. Boot Priority: Move CachyOS to the top (above Windows Boot Manager).

Phase 4: Fix Missing Windows Entry (If needed)

If Windows does not appear in the boot menu, open the terminal in CachyOS and run:

Bash

sudo pacman -S os-prober
sudo echo "GRUB_DISABLE_OS_PROBER=false" | sudo tee -a /etc/default/grub
sudo grub-mkconfig -o /boot/grub/grub.cfg

(This forces GRUB to search for Windows and update the menu).

Hello and welcome,

Manual partitioning should not be required with automated options such as “Ibstall alongside..”.

That said ..

Depending on bootloader and assuming this is the correct disk and that the size is appropriate then this is fine if you need/want to create a (new) ESP*.
Note - Later in this post Grub is the selected boot manager which fits nicely with these values.

* - It is unclear if this is a second disk or partitioning of an existing disk. This information may be valuable in determining procedures.
It might be guessed that this means creating a second ESP while leaving an existing original (M$?) ESP.
This is not technically the normal or specd approach but some can/do intentionally use multiple ESPs.

Assuming you want btrfs then yes.

See above about this being a second ESP.
Otherwise this size might be somewhat large but it wont hurt for it to be ‘too big’ and the data there can grow depending on various factors.

Sure.

Some suggestions;

sudo pacman -Syu os-prober

(though it should already be there)

The grub edit is ‘fine’ but the value is already in the file and commented out .. so normally we might just edit the file and remove the leading # from the line.

So what is the correct way?

Pertaining to what?

It is still unclear what the existing disk layout is and what the actual desire is.

Do we plan on using SecureBoot and/or UKI?

For example the size of the new ESP might be too large but its also OK.

If you need that much space and want to use the existing ESP and it is too small then you would need to enlarge it .. but if using GRUB and not requiring so much space then you could just use (and not format!) the existing ESP*.

* - This is what I traditionally have done on laptops and similar. ex;

$ df -h /efi

Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p1  2.5G   35M  2.5G   2% /efi

Note that I use /efi mountpoint obviously and recently enlarged it in anticpation of doing something else .. but the point is this is the same ESP that windoze uses, was not reformatted before/during install, so kept the original 128MB at the time, and currently uses a total of 35M. But your needs may be different.

And/or you can go ahead and do the extra ESP thing.

I mentioned it was somewhat abnormal because its technically against what UEFI documentation says and I find it much easier to manage a single one as well. But some prefer/can/do use multiple ESPs.

My laptop has

fast booting disabled

and boot secure is not locked.

There is an 80 GB file that has not been used for Linux.

I just want to know how to install a dual OS with Windows 11.

Is my method correct?

If it is incorrect, please provide the correct steps.

You are doing it manually.

There is no single ‘correct’ way.

If you want those sizes and filesystem and things and that second ESP .. what was written above should work. Though I suggest again that

Because using just -S does not refresh/upgrade and you want to do that.
How you edit the grub config file is up to you.
But there is also no need to sudo echo .. you are use sudo tee to apply the thing with privileges the echo command itself can/should be regular, ex;

echo "GRUB_DISABLE_OS_PROBER=false" | sudo tee -a /etc/default/grub

So better choose metode ? systemd-boot or GRUB

what different systemd-boot & rEFInd, Limine, GRUP ?

You could use any of them but ..
If you use the second ESP as you suggest I dont think systemd-boot will be able to find windoze - IE you will have to use the BIOS to select the windoze boot manager.

So if you want it large and dont want to touch the original ESP but you do want the (linux) bootmanager to easily detect the other ( windoze ).. then your idea of creating a second ESP at 2GiB with Grub is fine.

Of course if you dont use grub then the os-prober steps would not apply either.

Please tell me the correct steps for the boot manager to easily detect it.

The ones you wrote are fine.

I was mainly trying to point out that a second ESP is not necessary or necessarily desirable .. same for the size.

But if you do want those things and you want that second ESPs boot manager to easily find the first (Win) one then Grub is a fine choice and those steps should work.

For the others;
systemd-boot is not the ‘easy’ choice for this setup so I am not recommending it.
refind usually finds stuff well but I think its clunky so I am not recommending it.

argh nah

But if you do want those things and you want that second ESPs boot manager to easily find the first (Win) one then Grub is a fine choice and those steps should work.

good point sir, thks