Skip to content

Dual boot (on 1 SSD) #886

@peregrinus879

Description

@peregrinus879

As archinstall does not currently support "pre-mount" partitioning option with LUKS encryption, this is what I did to dual boot ArchLinux & Win11 on a single SSD.

General:
-- BIOS: Secure Boot on
-- (Optional) archinstall: Unified Kernel Image enabled
-- Prepare GParted, ArchLinux & Win11 live usb's

Assumption:
Manual or automatic partitioning during archinstall created 2 partitions:
-- nvme0n1p1 as boot; &
-- nvme0n1p2 as encrypted root with all the btrfs subvolumes.

Steps:
01 Boot into GParted live usb
02 Select default options
03 Select /dev/nvme0n1
04 Unlock encryption on /dev/nvme0n1p2
05 Shrink /dev/nvme0n1p2 to create unallocated space at the end (according to your Win11 space preference)
06 Lock /dev/nvme0n1p2
07 Apply changes
08 Reboot into ArchLinux live usb
09 Run "gdisk /dev/nvme0n1"
10 Create 2 partitions:
-- p3 and assign last sector as "+128M" & type as "0C01"; &
-- p4 and assign type as "0700"
11 (Optional) Run "cfdisk /dev/nvme0n1" to check partition types were done correctly
12 Run "mkfs.ntfs /dev/nvme0n1p4" (this will take time)
13 Reboot into Win11 live usb
14 Select nvme0n1p4 partition and install Win11
15 Boot into BIOS and change first boot option from Windows to Linux.
16 Systemd or Grub bootloader will automatically detect Win11 and you will have the option to choose either on boot.

I'm not a tech person, if anyone has a simpler approach, please let me know. Also let me know if you run into any issues as I've done it a few times on different machines over the weekend.

For step 12, if you run the command with "-f" it will not take time but Win11 was crashing after installation. This might not be a persistent issue though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions