DEV Community

Pau Garcia
Pau Garcia

Posted on

Dual Boot Windows 11 - Arch Linux with different drives

First you should create the partition in windows

Then, install arch using archinstall script, and select grub bootloader.

Once that is done, if the grub bootloader does not recognize the windows partition you should do this:

Part 1

Partitions usage:
df -h

Install os-probe:
sudo pacman -S os-prober

Set GRUB_DISABLE_OS_PROBER=false:
vim /etc/default/grub

uncomment GRUB_DISABLE_OS_PROBER=false

Update GRUB configuration:

sudo grub-mkconfig -o /boot/grub/grub.cfg

Part 2

Install ntfs-3g:
sudo pacman -S ntfs-3g

Mount nvme partition:
sudo mount -t ntfs-3g /dev/nvme0n1p1 /mnt

Partitions usage:
df -h

Update GRUB configuration:
sudo grub-mkconfig -o /boot/grub/grub.cfg

Part 3

Install grub-customizator:
sudo pacman -S grub-customizer

Edit names and order of partitions unsing grub-customizer

Top comments (0)