-
In Windows, open Disk Management and shrink your system partition.
-
Download Linux Mint and flash it on the USB Flash Drive with Rufus or use a multiboot utility like Ventoy.
-
Keep the flash drive plugged in and restart.
-
Open your BIOS settings and set the boot priority to your flash drive.
-
Boot into Linux Mint live CD
-
Open terminal
-
Open
fdisk
$ sudo su -
$ fdisk -l
-
Find the drive where your Windows installation resides. It should be something like
/dev/sda
or/dev/nvme0n1
. Copy the path to clipboard. -
Open another terminal window and run
parted
and paste the drive path (ex./dev/nvme0n1
)
$ sudo su -
$ parted /dev/nvme0n1
- Type
p
to print a list of all partitions in the drive.
(parted) p
- Disable the
boot
flag from Windows EFI system partition
(parted) set 1 boot off
- Type
p
to print the partition list and verify that the boot flag is now gone, then typeq
to quit.
(parted) p
(parted) q
-
Open the Install Linux Mint installation setup on the desktop to start the install.
-
Tick the Install multimedia codecs checkbox. If secure boot is enabled on your BIOS, make sure to set the password for it for the MOK Enrollment that will happen after the install.
-
In Installation type page, select Something else then click Continue.
-
Scroll down and find the free space you gained when you used the Disk Management in Windows. Select it and click the plus button.
-
Create the EFI boot partition for Linux Mint with the following settings:
Size: 512 MB
Type: Primary
Location: Beginning of this space
Use as: EFI System Partition
18: Create the swap partition for Linux Mint with the following settings. Relace 16384
with the value you_ram_size_in_gb * 1024
.
Size: 16384 MB
Type: Primary
Location: End of this space
Use as: swap area
- Create the root partition for Linux Mint with the following settings:
Size: <all the remaining free space left> MB
Type: Primary
Location: Beginning of this space
Use as: Ext4 journaling file system
Mount point: /
-
In the Device for boot loader installation, select the EFI boot partion we created for Linux Mint in step #17. Click Install Now and click Continue
-
Once the install is finished, click Continue Testing and return to the terminal.
-
Go back into
parted
and enable the boot flag for Windows EFI system partition
(parted) set 1 boot on
(parted) p
(parted) q
-
Reboot computer
-
If secure boot is enabled in your BIOS, proceed with the MOK Enrollment.
-
Once inside the newly installed Linux Mint, open the terminal.
$ sudo su -
- Edit
/etc/default/grub
file
# nano /etc/default/grub
- Scroll to the bottom and add the following line then save:
GRUB_DISABLE_OS_PROBER=false
- Run
os-prober
to locate the Windows Boot Manager
# os-prober
- Update the grub configure to include the Windows Boot Manager
# grub-mkconfig -o /boot/grub/grub.cfg
- Restart computer. Windows should now appear alongside Linux Mint in the grub boot list.
How To Dual Boot Linux Mint And Windows Safely - Avoid Boot Issues