jasmine
sql
+
quarkus
+
+
&
hack
+
+
+
sublime
+
+
bitbucket
rest
+
vault
>=
+
+
+
+
+
+
+
+
+
termux
+
eslint
numpy
+
supabase
rider
+
k8s
+
+
!==
micronaut
dart
vue
โŠ‚
+
groovy
+
!==
+
strapi
+
vite
%
matplotlib
+
android
rb
+
+
+
+
+
+
+
&&
rs
+
ts
dask
junit
vb
+
terraform
+
+
+
::
+
sqlite
bundler
+
+
phoenix
+
rb
+
+
+
jquery
surrealdb
Back to Blog
๐Ÿ–ฅ๏ธ AlmaLinux Dual Boot with Windows: Complete Installation Guide
almalinux dual-boot windows

๐Ÿ–ฅ๏ธ AlmaLinux Dual Boot with Windows: Complete Installation Guide

Published Sep 16, 2025

Master dual boot setup with AlmaLinux and Windows! Step-by-step guide for running both operating systems safely. Perfect for beginners trying Linux without losing Windows.

20 min read
0 views
Table of Contents

๐Ÿ–ฅ๏ธ AlmaLinux Dual Boot with Windows: Complete Installation Guide

Want to try Linux but keep Windows? ๐Ÿš€ Dual booting is the perfect solution! Run both AlmaLinux and Windows on the same computer, choosing which one to use at startup. This complete guide walks you through every step safely, so you can explore Linux without losing your Windows setup. Letโ€™s build the best of both worlds! โšก

๐Ÿค” Why Dual Boot AlmaLinux with Windows?

Dual booting gives you incredible flexibility! ๐ŸŒŸ Hereโ€™s why itโ€™s perfect:

  • ๐Ÿ”„ Best of Both Worlds: Use Windows for gaming, Linux for development
  • ๐Ÿ›ก๏ธ Risk-Free Learning: Keep Windows as backup while learning Linux
  • ๐Ÿ’ผ Professional Growth: Learn Linux skills worth $90k+ salaries
  • ๐ŸŽฎ Gaming & Work: Windows for games, Linux for programming
  • ๐Ÿ†“ Save Money: Try Linux before deciding to switch completely
  • ๐Ÿ“š Educational: Perfect for students and tech enthusiasts
  • ๐Ÿ”ง Problem Solving: Two systems mean more troubleshooting options
  • ๐ŸŒ Future Proof: Linux skills are increasingly valuable

Millions of users successfully run dual boot setups! ๐Ÿ†

๐ŸŽฏ What You Need

Letโ€™s prepare for dual boot success! โœ…

  • โœ… Computer with Windows 10/11 already installed
  • โœ… At least 4GB RAM (8GB+ recommended)
  • โœ… 50GB+ free disk space for AlmaLinux
  • โœ… USB drive 8GB+ for installation media
  • โœ… Windows recovery disk (create backup)
  • โœ… Important files backed up to cloud/external drive
  • โœ… 2-3 hours for complete setup
  • โœ… Patience and careful reading! ๐ŸŽ‰

Letโ€™s safely add Linux to your system! ๐Ÿš€

๐Ÿ“ Step 1: Backup Windows and Important Data

Safety first! Letโ€™s protect your Windows installation! ๐Ÿ›ก๏ธ

Create Windows Recovery Drive:

# In Windows:
1. Type "recovery drive" in Start Menu
2. Click "Create a recovery drive"
3. Insert USB drive (will be erased)
4. Follow wizard to create recovery media
5. Keep this USB safe - it's your Windows lifeline!

Backup Important Files:

# Backup locations:
๐Ÿ“ Documents folder
๐Ÿ“ Pictures and videos
๐Ÿ“ Desktop files
๐Ÿ“ Browser bookmarks
๐Ÿ“ Email data
๐Ÿ“ Software license keys
๐Ÿ“ Game saves

# Backup methods:
โ˜๏ธ Cloud storage (OneDrive, Google Drive)
๐Ÿ’พ External hard drive
๐Ÿ”— Network storage
๐Ÿ“€ Additional USB drives
# Windows built-in backup:
1. Control Panel โ†’ System and Security
2. Backup and Restore (Windows 7)
3. Create a system image
4. Choose external drive
5. Start backup (takes 1-2 hours)

# Or use third-party tools:
- Macrium Reflect (free)
- AOMEI Backupper
- Clonezilla

Perfect! ๐ŸŽ‰ Your Windows system is protected!

๐Ÿ”ง Step 2: Prepare Disk Space for AlmaLinux

Letโ€™s make room for Linux! ๐Ÿ’พ

Check Current Disk Usage:

# In Windows:
1. Right-click "This PC"
2. Choose "Manage"
3. Click "Disk Management"
4. Review current partitions

# What you'll see:
C: Drive (Windows) - Usually largest partition
Recovery - Small Windows recovery partition
EFI System - Boot partition (UEFI systems)

Shrink Windows Partition:

# Method 1: Windows Disk Management
1. Right-click C: drive
2. Select "Shrink Volume"
3. Enter shrink amount in MB:
   - 51200 MB = 50GB (minimum)
   - 102400 MB = 100GB (recommended)
   - 204800 MB = 200GB (comfortable)
4. Click "Shrink"
5. You'll see "Unallocated" space

# Method 2: Command Prompt (Admin)
diskpart
list disk
select disk 0
list partition
select partition 2  # Usually C: drive
shrink desired=51200
exit

Alternative: Use Third-Party Tools:

# Free tools for better control:
- GParted Live USB
- AOMEI Partition Assistant
- MiniTool Partition Wizard

# Advantages:
- More precise control
- Better error handling
- Can handle complex scenarios

Amazing! ๐ŸŒŸ Disk space is prepared!

๐ŸŒŸ Step 3: Download and Create AlmaLinux Installation Media

Letโ€™s get AlmaLinux ready! ๐Ÿ“ฅ

Download AlmaLinux:

# Visit official website:
https://almalinux.org/get-almalinux/

# Choose version:
AlmaLinux 9.3 (Latest - Recommended)
AlmaLinux 8.9 (Long-term stable)

# Download options:
AlmaLinux-9.3-x86_64-dvd.iso (8.5GB)
- Complete desktop environment
- Best for dual boot

AlmaLinux-9.3-x86_64-minimal.iso (1.5GB)
- Smaller download
- Add desktop later

Create Bootable USB:

# Windows - Using Rufus:
1. Download Rufus from https://rufus.ie/
2. Insert USB drive (8GB+)
3. Run Rufus
4. Device: Select USB drive
5. Boot selection: Click SELECT
6. Choose AlmaLinux ISO
7. Partition scheme: GPT
8. Target system: UEFI
9. Click START
10. Wait for completion

# Windows - Using Balena Etcher:
1. Download from https://balena.io/etcher/
2. Install and run
3. Flash from file โ†’ Select ISO
4. Select target USB
5. Flash!

Excellent! โšก Installation media is ready!

โœ… Step 4: Configure BIOS/UEFI Settings

Prepare your computer to boot from USB! โš™๏ธ

Access BIOS/UEFI:

# Restart computer and press:
F2, F10, F12, or Delete (during startup)
Look for "Setup" message on screen

# On Windows 10/11:
1. Hold Shift while clicking Restart
2. Troubleshoot โ†’ Advanced options
3. UEFI Firmware Settings
4. Restart

Important Settings:

# Security settings:
Secure Boot: Disable (temporarily)
Fast Boot: Disable

# Boot settings:
Boot Mode: UEFI (recommended)
Legacy Support: Enable (if needed)

# Boot Priority:
1. USB/Removable Devices
2. Hard Drive/SSD

# Save settings and exit

For Newer Systems:

# Windows 11 specific:
TPM 2.0: Leave enabled
Secure Boot: Disable for installation
           Re-enable after setup

# BitLocker warning:
If using BitLocker, suspend it:
manage-bde -protectors -disable C:

Perfect! ๐Ÿ† System is ready to boot Linux!

๐Ÿ”ง Step 5: Install AlmaLinux Alongside Windows

Time for the main installation! ๐Ÿš€

Boot from USB:

# Insert AlmaLinux USB
# Restart computer
# Press F12 (or F10/F11) for boot menu
# Select USB drive

# AlmaLinux boot menu:
> Install AlmaLinux 9.3
Press Enter

Language and Keyboard:

# Select language: English
# Choose keyboard layout
# Click "Continue"

Installation Summary:

# Main configuration hub appears
# We'll configure each section carefully

Critical: Installation Destination

# Click "Installation Destination"
# You'll see your disk(s)

# Select your main drive (usually 1TB, 500GB, etc.)

# Storage Configuration: Custom
# Click "Done"

# Manual partitioning screen appears
# This is the most important step!

Partition Setup (CRITICAL STEP):

# You should see existing Windows partitions:
/dev/sda1: EFI System Partition (500MB)
/dev/sda2: Microsoft Reserved (16MB)
/dev/sda3: Windows C: (remaining space)
/dev/sda4: Windows Recovery (450MB)
Plus: Unallocated space (your shrunk space)

# Create Linux partitions in unallocated space:

# 1. Root partition (/)
Click "+" to add
Mount Point: /
Desired Capacity: 25GB (or leave blank for auto)
File System: ext4

# 2. Home partition (/home) - Optional but recommended
Click "+"
Mount Point: /home
Desired Capacity: 20GB+
File System: ext4

# 3. Swap partition
Click "+"
Mount Point: [leave blank]
Desired Capacity: 4GB (same as RAM or 8GB max)
File System: swap

# IMPORTANT: Don't modify Windows partitions!
# Only use the unallocated space

Verify Partitioning:

# Double-check your setup:
โœ… Windows partitions: UNCHANGED
โœ… EFI partition: UNCHANGED (will be shared)
โœ… Linux root (/): ~25GB ext4
โœ… Linux home (/home): Remaining space ext4
โœ… Swap: 4-8GB

# Click "Done" โ†’ "Accept Changes"

Fantastic! ๐ŸŽฏ Partitioning is configured safely!

๐ŸŒŸ Step 6: Complete AlmaLinux Installation

Finish the installation process! ๐Ÿ

Software Selection:

# Click "Software Selection"
# Choose: Workstation (for desktop)
# Or: Server with GUI (lighter option)
# Additional software: Development Tools
# Click "Done"

Network & Host Name:

# Click "Network & Host Name"
# Ethernet: Turn ON
# WiFi: Configure if needed
# Host name: almalinux-dual (or your choice)
# Click "Apply" โ†’ "Done"

User Settings:

# Root Password:
# Set strong password: LinuxRoot2025!
# Confirm and click "Done"

# User Creation:
# Full name: Your Name
# Username: yourname
# โ˜‘ Make this user administrator
# Password: YourLinuxPass123!
# Click "Done"

Begin Installation:

# Review all settings
# Click "Begin Installation"

# Installation progress (20-30 minutes):
Phase 1: Preparing installation
Phase 2: Installing packages
Phase 3: Post-installation setup
Phase 4: Installing bootloader (GRUB)

# CRITICAL: Bootloader setup
# GRUB will be installed to detect both systems
# This creates the dual boot menu

Amazing! ๐ŸŒŸ AlmaLinux is installing!

โœ… Step 7: Configure GRUB Bootloader

Set up the dual boot menu! ๐ŸŽ›๏ธ

First Boot After Installation:

# Remove USB drive
# Click "Reboot System"

# GRUB menu should appear:
AlmaLinux 9.3
Advanced options for AlmaLinux
Windows Boot Manager
System setup

# Test both options work!

Customize GRUB (Optional):

# Boot into AlmaLinux
# Open terminal

# Edit GRUB configuration
sudo nano /etc/default/grub

# Useful settings:
GRUB_TIMEOUT=10          # Wait time in seconds
GRUB_DEFAULT=0           # Default OS (0=Linux, 2=Windows)
GRUB_TIMEOUT_STYLE=menu  # Always show menu

# Apply changes
sudo grub2-mkconfig -o /boot/grub2/grub.cfg

# For EFI systems
sudo grub2-mkconfig -o /boot/efi/EFI/almalinux/grub.cfg

Perfect! ๐Ÿ† Dual boot menu is working!

๐ŸŽฎ Quick Examples

Master dual boot management! ๐ŸŽฏ

Example 1: Switching Between Systems

# Default boot process:
1. Power on computer
2. GRUB menu appears (10 seconds)
3. Choose operating system:
   - AlmaLinux (default)
   - Windows Boot Manager
4. System boots

# From AlmaLinux to Windows:
sudo systemctl reboot
# Choose Windows at GRUB menu

# From Windows to AlmaLinux:
Restart โ†’ Choose AlmaLinux

Example 2: Set Windows as Default

# In AlmaLinux:
sudo nano /etc/default/grub

# Change default:
GRUB_DEFAULT=2  # Usually Windows position

# Update GRUB
sudo grub2-mkconfig -o /boot/grub2/grub.cfg

# Reboot to test
sudo reboot

Example 3: Access Windows Files from Linux

# Mount Windows partition
sudo mkdir /mnt/windows
sudo mount /dev/sda3 /mnt/windows

# Access Windows files
cd /mnt/windows/Users/YourName/Documents
ls -la

# Auto-mount at boot (optional)
echo '/dev/sda3 /mnt/windows ntfs defaults 0 0' | sudo tee -a /etc/fstab

Example 4: Backup and Recovery

# Create system snapshots
# In AlmaLinux:
sudo timeshift --create --comments "Fresh install"

# In Windows:
# Create restore point before major changes

# Emergency recovery:
# Boot from USB โ†’ Rescue mode
# Or use Windows recovery drive

๐Ÿšจ Fix Common Problems

Dual boot troubleshooting! ๐Ÿ”ง

Problem 1: No GRUB Menu (Boots Directly to Windows)

Solution:

# Boot from AlmaLinux USB
# Choose "Rescue a Linux system"
# Mount existing installation

# Reinstall GRUB:
chroot /mnt/sysimage
grub2-install /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg

# For EFI systems:
grub2-install --target=x86_64-efi --efi-directory=/boot/efi

Problem 2: Windows Doesnโ€™t Appear in GRUB

Solution:

# Install os-prober
sudo dnf install os-prober

# Enable Windows detection
echo 'GRUB_DISABLE_OS_PROBER=false' | sudo tee -a /etc/default/grub

# Regenerate GRUB config
sudo grub2-mkconfig -o /boot/grub2/grub.cfg

# Reboot to check
sudo reboot

Problem 3: Windows Time Issues

Solution:

# In AlmaLinux, make Windows time correct:
sudo hwclock --systohc --localtime

# Or in Windows (preferred):
# Run as Administrator:
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f

Problem 4: Canโ€™t Boot Either System

Solution:

# Use Windows recovery drive:
1. Boot from Windows recovery USB
2. Troubleshoot โ†’ Advanced โ†’ Command Prompt
3. Run: bootrec /fixmbr
4. Run: bootrec /fixboot
5. Restart

# Or use AlmaLinux rescue:
# Boot from USB โ†’ Rescue mode
# Follow GRUB reinstall steps above

๐Ÿ“‹ Simple Commands Summary

TaskLinux CommandWindows Action
Reboot to other OSsudo rebootRestart โ†’ Choose OS
Update boot menusudo grub2-mkconfig -o /boot/grub2/grub.cfgN/A
Mount Windows drivesudo mount /dev/sda3 /mnt/windowsAuto-mounted
Check disk spacedf -hFile Explorer
Create restore pointsudo timeshift --createSystem Properties
Change default OSEdit /etc/default/grubUse EasyBCD
Emergency bootBoot from USBRecovery drive

๐Ÿ’ก Tips for Success

Master dual booting like a pro! ๐ŸŒŸ

  • ๐Ÿ’พ Always Backup: Before any changes, backup everything
  • ๐Ÿ”„ Test Both Systems: Make sure both boot after setup
  • ๐Ÿ“– Keep Recovery Media: Windows and Linux rescue disks
  • ๐ŸŽฏ Use Separate /home: Easier to reinstall Linux later
  • ๐Ÿ“Š Monitor Disk Space: Both systems need room to grow
  • ๐Ÿ”ง Update Carefully: Windows updates can break GRUB
  • ๐Ÿ“ฑ Cloud Sync: Keep important files synced
  • ๐Ÿ›ก๏ธ Security Updates: Keep both systems patched
  • ๐Ÿ“š Learn Gradually: Donโ€™t rush to replace everything
  • ๐Ÿค Join Communities: Dual boot users share great tips

๐Ÿ† What You Learned

Congratulations! Youโ€™re now a dual boot expert! ๐ŸŽ‰

  • โœ… Safely backed up Windows system
  • โœ… Prepared disk space without data loss
  • โœ… Created AlmaLinux installation media
  • โœ… Configured BIOS/UEFI settings correctly
  • โœ… Installed Linux alongside Windows
  • โœ… Set up GRUB dual boot menu
  • โœ… Learned system switching methods
  • โœ… Gained troubleshooting skills

๐ŸŽฏ Why This Matters

Your dual boot setup unlocks amazing possibilities! ๐Ÿš€

  • ๐ŸŽฎ Gaming & Development: Windows games, Linux coding
  • ๐Ÿ’ผ Career Flexibility: Learn Linux while keeping Windows
  • ๐Ÿ”’ Risk Mitigation: Two systems mean better backup
  • ๐Ÿ“š Learning Path: Gradual transition to Linux
  • ๐Ÿ’ฐ Save Money: Try before you buy (free Linux)
  • ๐Ÿ› ๏ธ Tool Access: Best software from both worlds
  • ๐ŸŒ Global Skills: Linux knowledge is universal
  • ๐Ÿ”ฎ Future Ready: Prepared for any computing scenario

Youโ€™ve built the ultimate flexible computing environment! ๐Ÿ†

Enjoy both worlds! ๐Ÿ™Œ