Multi-booting is the act of installing multiple operating systems on a single computer, and being able to choose which one to boot. The term dual-booting refers to the common configuration of specifically two operating systems. Multi-booting may require a custom boot loader.
Usage Multi-booting allows more than one operating system to reside on one computer; for example, if a user has a primary operating system that they use most frequently and an alternate operating system that they use less frequently. Multi-booting allows a new operating system to configure all applications needed and migrate data before removing the old operating system, if desired. Another reason for multi-booting can be to investigate or test a new operating system without switching completely. Multi-booting is also useful in situations where different software requires different operating systems. A multi-boot configuration allows a user to use all of their software on one computer. This is often accomplished by using a boot loader such as NTLDR, Windows Boot Manager, LILO, or GRUB which can boot more than one operating system. Multi-booting is also used by software developers when multiple operating systems are required for development or testing purposes. Having these systems on one machine is a way to reduce hardware costs. Multi-booting also allows a user to switch between private and work dedicated systems to maintain access integrity and separation between the two user environments, even if the same operating system is used for each of them. The following is an example of GUID Partition Table (GPT) for a 512 GB NVM Express solid state drive as used with multi-booting configuration, containing an EFI system partition, a Microsoft Reserved Partition, three Microsoft basic data partitions (one is Windows standard partition and two are hidden Windows Recovery Environment partitions), and three Linux partitions (including a swap partition):
A possible alternative to multi-booting is virtualization, where a hypervisor is used to host one or more virtual machines running guest operating systems.
Technical issues
Number of operating systems per volume (logical drive) In an OS/2 dual-boot configuration, the C drive can contain both DOS and OS/2. The user issues the BOOT command from the DOS or OS/2 command line to do the necessary copy, move and rename operations and then reboot to the specified system on C:. Other systems provide similar mechanisms for alternate systems on the same logical drive.
Number of operating systems per storage device In a multi-boot computer, each of the multiple operating systems can reside on its own storage device, or some storage devices might contain more than one operating system in different partitions. The bootloader loaded by the PC displays a menu of choices and loads the selected OS from the PBR of that drive. An example of a computer with one operating system per storage device is a dual-booting computer that stores Windows on one disk drive and Linux on another disk drive. In this case a multi-booting bootloader is not strictly necessary because the user can choose to enter a one-time boot menu (quite often F-12) immediately after power-up and pick the desired OS from the list. A dual-booting PC that has both Windows and Linux on the same physical disk, but where the PC does not allow selective booting. In this case, a bootloader is necessary. The disk should be partitioned to give each OS its own partitions on the drive, as each OS may need a different format. For example, if a user intends to install both Windows and Linux, with the Windows partition formatted NTFS format and the Linux partition formatted ext4 format.
Partitioning
The basic concept involves partitioning a disk to accommodate each planned installation, usually including separate partitions for boot, root, data storage and backups.
MBR loader An MBR loader, such as Air-Boot, replaces the standard boot code in track 0 with code that displays a selection menu and loads the selected system. Some, e.g., Air-Boot, can be configured either automatically or by the user at boot time, rather than requiring an external configuration menu.
Linux boot loaders Linux loaders, such as GNU GRUB and LILO, can reside in the MBR or in a PBR. They use configuration files in /boot to control their selection menus.
OS/2 Boot Manager The OS/2 Boot Manager must be installed in a primary partition. The OS/2 partitioning utilities can configure up to four systems in the menu, each of which can be either in a primary partition or in a logical volume within the extended logical partition. It is possible to include a boot loader such as GRUB in the OS/2 Boot Manager menu, and it is possible to include the OS/2 Boot Manager in the menu for another boot loader. Newer loaders such as Air-Boot, GRUB and LILO offer more flexibility.
UEFI loading Modern computer systems (Intel Macs and newer PCs) use Unified Extensible Firmware Interface aka UEFI. Unlike BIOS aka Legacy, UEFI does not rely on a partition's boot sector, the PC's UEFI firmware loads a small boot loader, a .efi file in the EFI System Partition aka ESP directly, and the OS kernel is then loaded by this boot loader.
Microsoft Windows and Linux
… excerpt ends here. Continue reading the full article.


