How to dual boot Linux and Windows

Recommended hardware recommendations:

At least 500GB total hard drive space.

4GB or more RAM

Dual core or higher processor.

Intel or Qualcomm wireless


Go to Disk Management. Shrink the NTFS partition by at least 50GB, maybe 75GB, 125GB, or more.

Download the ISO from the website. Choose between CentOS, Ubuntu, OpenSUSE, and such Linux distributions. Get the AMD64 ISO if your PC or server has a 64-bit processor, or x86 or IA-32 if your PC is 32-bit.

Burn ISO onto CD or DVD drive. Or, if you want to install using USB stick or SD card, use Universal USB Installer or if that doesn’t work, use UNetBootin. Watch out for fake links before downloading the installer. There’s also Win32 Disk Imager along with other alternative tools you can search. Format the USB stick or SD card with FAT32.

Reboot, install Linux. Ext4 recommended for Ubuntu. Btrfs root and ext4 or alternatively XFS /home recommended for Red Hat Enterprise Linux or CentOS – manually configure partitioning and click the link that says something like ”Click here to generate them automatically.” EFI System Partition will be partitioned as VFAT. Ext4 recommended for boot partition of RHEL/CentOS.

For RHEL or CentOS, I recommend the installation Server with GUI.

Don’t forget to manually set up the network upon installing Red Hat Enterprise Linux or CentOS.

Don’t forget to set up the root password and user account. Don’t forget to make your account an Administrator. Make the root password and user password easy to remember at the same time as being hard for others to guess. Make sure to not forget them.

For Ubuntu, install third-party software and drivers.

Reboot and remove installation media.

Besides Linux, there’s also FreeBSD and its variants GhostBSD and TrueOS. Could install FreeBSD or variant on USB stick or SD card as well. Also run Bhyve on FreeBSD or variant. I recommend FreeBSD or variant to be on ZFS root and UFS2 /home. Either Boot Manager on MBR or Grub on GPT. I recommend tcsh command shell. Unfortunately, iXsystems stopped development of TrueOS in 2018. But I think it’s open source and anyone could continue development, as what happened with illumos from openSolaris.

If any improvements could be made to this post, say so in the comment. Also check YouTube videos about dual-booting Linux.

Alternative to dual-booting

8GB or higher RAM is recommended for the following. 125GB VHDX or pass-through USB stick or SD card recommended for CentOS, and 75GB VHD, VMDK, or VHDX recommended for Ubuntu.

See also to make the boot menu have two options: to boot with and without the hypervisor.

CentOS in Hyper-V. Ubuntu in either Hyper-V or VMware Workstation Player on Windows. For the latter, install VMware Integration Tools. Ubuntu should be on VHD, CentOS on either VHDX if Generation 2 or pass-through disk if Generation 1.

See for installing VMware integration tools. Known issue:

/dev/sr0 on /mnt/cdrom type iso966o
bash: /dev/sr0: Permission denied


sudo cp "/media/<user>/VMware Tools" /home/<user>/VMware_Tools

If that doesn’t work,

sudo cp -r "/media/<user>/VMware Tools/" /home/<user>/VMware_Tools/

PLEASE DON’T INCLUDE the word <user>! Replace that with your user directory.

Then, find and run it by typing

sudo perl

In the case of Hyper-V, get for CentOS. For Ubuntu, do the following:

sudo chmod +x
sudo ./

And put in /etc/xrdp/xrdp.ini:


And in PowerShell:

Set-VM -VMName <your_vm_name>  -EnhancedSessionTransportType HvSocket

Source: See also and

PLEASE DON’T TYPE the phrase “Your VM NAME”! Instead, type the name of your virtual machine.

Edit: Alternatively to Enhanced Session Mode, you could connect to Linux by a separate remote desktop software like Xpra, XDMCP, NoMachine/NX, or SSH with X Forwarding. Another idea is to use VLC media player, see

Published by WorldQuestioner

I am interested in many things. I want justice and get upset by some things in the world.

Leave a comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create your website with
Get started
%d bloggers like this: