Booting from different operating systems (OS)
- Siddharth Sharma
- Dec 10, 2024
- 3 min read
Booting from different operating systems (OS) refers to the process of starting a computer and loading the operating system of your choice. This is commonly used in systems with multiple operating systems installed (e.g., dual-boot systems). Below is an explanation of the process and methods:

Booting Process Overview
When a computer starts:
BIOS/UEFI:
The Basic Input/Output System (BIOS) or Unified Extensible Firmware Interface (UEFI) initializes the hardware and looks for a bootable device.
Bootloader:
A bootloader (e.g., GRUB, LILO, or Windows Boot Manager) is loaded, which allows you to choose the operating system.
Kernel Load:
The selected OS kernel is loaded into memory.
OS Initialization:
The operating system completes initialization and loads its user interface.
Methods for Booting from Different OS
1. Dual Boot
Description: Two or more operating systems are installed on the same computer, and you can select one during boot.
Steps:
Install both operating systems (e.g., Windows and Linux).
The second OS typically installs a bootloader (e.g., GRUB) that lets you choose which OS to boot.
When you start your computer, the bootloader menu appears, and you select the OS.
2. Booting from a Live USB or CD/DVD
Description: Temporarily boot into an operating system stored on a USB stick or CD/DVD.
Steps:
Create a bootable USB/CD/DVD for the OS using tools like Rufus, Etcher, or UNetbootin.
Insert the USB/CD/DVD and restart the computer.
Enter the BIOS/UEFI setup (usually by pressing F2, F12, Del, or Esc during startup).
Change the boot order to prioritize the USB or CD/DVD.
Save changes and reboot. The system boots into the OS on the USB/CD/DVD.
3. Booting from Virtual Machines
Description: Run different operating systems in a virtual environment without rebooting the computer.
Tools: VirtualBox, VMware, or Hyper-V.
Steps:
Install a virtualization tool on your host OS.
Create a virtual machine and install the guest OS.
Start the virtual machine to boot into the guest OS.
4. Network Booting (PXE Boot)
Description: Boot an operating system over a network using the Preboot Execution Environment (PXE).
Steps:
Configure a PXE server to host the OS files.
Enable PXE boot in the computer's BIOS/UEFI settings.
Restart the computer, which fetches the OS from the network.
5. External Drives
Description: Boot an operating system stored on an external hard drive or SSD.
Steps:
Install the OS on an external drive.
Plug in the external drive and restart the computer.
Select the external drive as the boot device in BIOS/UEFI.
Common Bootloaders
GRUB (GRand Unified Bootloader):
Used with Linux systems.
Supports multiple operating systems.
Allows advanced configurations.
Windows Boot Manager:
Default bootloader for Windows.
Supports dual-boot setups with other OS like Linux.
rEFInd:
A boot manager for UEFI systems, designed for dual-boot systems with macOS, Windows, and Linux.
Examples of Dual-Boot Systems
Windows + Linux (GRUB Bootloader)
Install Windows first (if not already installed).
Install Linux on a separate partition.
GRUB will detect Windows and allow you to select the OS during boot.
macOS + Windows (Boot Camp)
Use macOS's Boot Camp utility to partition the drive and install Windows.
Choose the OS during startup by holding the Option key.
Linux + Linux (Multiple Distributions)
Install the first Linux distribution.
Install the second Linux distribution on a separate partition.
The GRUB bootloader from the second distribution will detect the first and allow switching.
Troubleshooting Boot Issues
Missing OS in Bootloader Menu:
Use update-grub (Linux) or repair the bootloader using the OS installation media.
Wrong Boot Order:
Check BIOS/UEFI settings and reorder boot devices.
Corrupt Bootloader:
Reinstall the bootloader using a live USB or recovery tools.
Would you like assistance with a specific booting scenario or setting up a dual-boot system?




Comments