How to Dual Boot Windows and Linux

Dual booting allows you to run two separate operating systems on a single computer, providing the flexibility to switch between different OS environments according to your needs. By setting up a dual-boot system with Windows and Linux, you can enjoy the robust performance and extensive software library of Windows alongside the powerful, open-source features of Linux.

Starting with Linux

Step 1: Backup Your Data

Backup any important files from your Linux system to an external drive or cloud storage.

Step 2: Prepare Partition for Windows

Boot into Linux, open GParted or a similar partition manager. Resize your Linux partition to create enough unallocated space for Windows (at least 20GB for Windows 10 and at least 64GB for Windows 11 are required).

You can optionally create an NTFS partition in the unallocated space for Windows installation. This can sometimes make the Windows installer more straightforward to use.

Step 3: Create Windows Installation Media

Download the Windows ISO file from the official Microsoft website HERE. Use Rufus to create a bootable USB drive from the Windows ISO file.

  • Download Rufus from the official website at https://rufus.ie/.
  • Insert your USB drive into one of your computer’s USB ports.
  • Open Rufus by double-clicking on the Rufus icon that you downloaded.
  • In the Device section of Rufus, select the USB drive you want to use as the bootable drive.
  • In the Boot selection section, click on the Select button to choose the Windows ISO file that you want to install.
  • In the Image option section, select Standard Windows installation.
  • Leave all remaining options with their default settings.
  • Click on the Start button to create the bootable USB drive. Rufus will format the USB drive and copy the Windows installation files to the drive. This may take a few minutes, depending on the size of the ISO file and the speed of your USB drive.
  • Once the process is complete, eject the USB drive from your computer. Your bootable USB drive is now ready to use.

Step 4: Disable Fast Startup and Secure Boot (Optional)

Disabling Fast Startup in Windows is crucial for a seamless dual-boot experience with Linux. Fast Startup, while speeding up Windows boot time, can lead to issues when accessing Windows partitions from Linux. Here’s how to disable it:

  • Boot into your Windows environment.
  • Navigate to Control Panel > Power Options.
  • Click on Choose what the power buttons do.
  • Select Change settings that are currently unavailable.
  • Uncheck the option Turn on fast startup (recommended).
  • If you don’t see Turn on fast startup (recommended) listed, then you don’t have fast startup enabled and thus don’t need to disable it.
  • Save your changes and exit.

Additionally, you have the option to disable Secure Boot, which is a firmware-level security feature. While many modern Linux distributions support Secure Boot, disabling it can simplify the installation process and improve compatibility, especially with custom kernels or drivers. However, this step is optional and depends on your specific setup and needs. To disable Secure Boot:

  • Reboot your computer and enter the BIOS/UEFI settings (typically by tapping F2 or del while the system is booting up).
  • Locate the Secure Boot setting in the security or boot settings menu.
  • Disable Secure Boot and save your changes.

Remember, these adjustments are reversible. You can re-enable Fast Startup and Secure Boot anytime if you decide to return to a Windows-only setup or if they are needed for specific security requirements.

Step 5: Install Windows

  • Insert the Windows USB drive, restart your computer, and boot from the USB. If your system doesn’t boot from the USB, you need to enter the BIOS/UEFI (typically by tapping F2 or del while the system is booting up) and change the boot order so your USB drive is listed above the drive that has your operating system on it.
  • Follow the Windows installation process. When asked where to install Windows, select the unallocated space or the NTFS partition you created.
  • Follow the on-screen instructions to complete the installation, including setting up your region, user account, and other settings.

Step 6: Select Boot Loader

If the system boots directly into Windows then you need to enter the BIOS/UEFI (typically by tapping F2 or del while the system is booting up) and click on BBS Properties under the Boot menu and set your Linux boot loader as the #1 option. Save and exit.

Step 7: Setup GRUB Menu (Optional)

If you don’t see the GRUB menu when the system boots, run:

sudo nano /etc/default/grub
Look for lines GRUB_TIMEOUT=0 or GRUB_HIDDEN_TIMEOUT=0. Change the GRUB_TIMEOUT value to something greater than zero (e.g., 10 for a 10-second menu display).

If GRUB_HIDDEN_TIMEOUT is present, then comment it out by adding # at the beginning of the line. Save and exit the editor by pressing Ctrl+X, then Y, then Enter.

Then run:

sudo update-grub

If the Windows boot loader doesn’t show up on the GRUB menu, run:

sudo nano /etc/grub.d/40_custom

On UEFI systems, add:

menuentry “Windows Boot Manager” {
insmod part_gpt
insmod chain
set root='(hd0,gpt1)’
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

Replace hd0,1 with the partition the Windows boot loader is on. hd0,1 should work on most systems. This means the Windows boot loader is on the first partition of the first hard drive. Save and exit the editor by pressing Ctrl+X, then Y, then Enter.

On legacy BIOS systems, add:

menuentry “Windows” {
set root=(hd0,msdos1)
chainloader +1
}

Replace hd0,msdos1 with the partition the Windows boot loader is on. hd0,msdos1 should work on most systems. This means the Windows boot loader is on the first partition of the first hard drive. Save and exit the editor by pressing Ctrl+X, then Y, then Enter.

Then run:

sudo update-grub

Step 8: Finalizing Dual Boot Setup

Once you have both operating systems installed, ensure they are both updated.

Verify that both operating systems boot correctly and that all hardware components function as expected in both.

Starting with Windows

Step 1: Backup Your Data

Use a backup tool or manually copy important files to an external drive or cloud storage. Don’t overlook personal documents, photos, and application data.

Step 2: Prepare Partition for Linux

  • Open Disk Management in Windows.
  • Right-click on the Windows partition (usually C: drive) and select Shrink Volume.
  • Decide how much space to allocate for Linux (at least 20GB is recommended) and shrink the volume.

Step 3: Create Linux Installation Media

Choose a Linux distribution e.g., Ubuntu and download its ISO file from the official website. Use Rufus to create a bootable USB drive from the Linux ISO file.

  • Download Rufus from the official website at https://rufus.ie/.
  • Insert your USB drive into one of your computer’s USB ports.
  • Open Rufus by double-clicking on the Rufus icon that you downloaded.
  • In the Device section of Rufus, select the USB drive you want to use as the bootable drive.
  • In the Boot selection section, click on the Select button to choose the Linux ISO file that you want to install.
  • Leave all remaining options with their default settings.
  • Click on the Start button to create the bootable USB drive. Rufus will format the USB drive and copy the Linux installation files to the drive. This may take a few minutes, depending on the size of the ISO file and the speed of your USB drive.
  • Once the process is complete, eject the USB drive from your computer. Your bootable USB drive is now ready to use.

Step 4: Disable Fast Startup and Secure Boot (Optional)

Disabling Fast Startup in Windows is crucial for a seamless dual-boot experience with Linux. Fast Startup, while speeding up Windows boot time, can lead to issues when accessing Windows partitions from Linux. Here’s how to disable it:

  • Boot into your Windows environment.
  • Navigate to Control Panel > Power Options.
  • Click on Choose what the power buttons do.
  • Select Change settings that are currently unavailable.
  • Uncheck the option Turn on fast startup (recommended).
  • If you don’t see Turn on fast startup (recommended) listed, then you don’t have fast startup enabled and thus don’t need to disable it.
  • Save your changes and exit.

Additionally, you have the option to disable Secure Boot, which is a firmware-level security feature. While many modern Linux distributions support Secure Boot, disabling it can simplify the installation process and improve compatibility, especially with custom kernels or drivers. However, this step is optional and depends on your specific setup and needs. To disable Secure Boot:

  • Reboot your computer and enter the BIOS/UEFI settings (typically by tapping F2 or del while the system is booting up).
  • Locate the Secure Boot setting in the security or boot settings menu.
  • Disable Secure Boot and save your changes.

Remember, these adjustments are reversible. You can re-enable Fast Startup and Secure Boot anytime if you decide to return to a Windows-only setup or if they are needed for specific security requirements.

Step 5: Install Linux

  • Insert the Linux USB drive, restart your computer, and boot from the USB. If your system doesn’t boot from the USB, you need to enter the BIOS/UEFI (typically by tapping F2 or del while the system is booting up) and change the boot order so your USB drive is listed above the drive that has your operating system on it.
  • Follow the prompts to start the installation process.
  • When prompted for installation type, select Install Linux alongside Windows Boot Manager or a similar option.
  • Allocate the unallocated space you created earlier for the Linux installation.
  • Follow the remaining instructions to complete the installation.

Step 6: Select Boot Loader

If the system boots directly into Windows then you need to enter the BIOS/UEFI (typically by tapping F2 or del while the system is booting up) and click on BBS Properties under the Boot menu and set your Linux boot loader as the #1 option. Save and exit.

Step 7: Setup GRUB Menu (Optional)

If you don’t see the GRUB menu when the system boots, run:

sudo nano /etc/default/grub
Look for lines GRUB_TIMEOUT=0 or GRUB_HIDDEN_TIMEOUT=0. Change the GRUB_TIMEOUT value to something greater than zero (e.g., 10 for a 10-second menu display).

If GRUB_HIDDEN_TIMEOUT is present, then comment it out by adding # at the beginning of the line. Save and exit the editor by pressing Ctrl+X, then Y, then Enter.

Then run:

sudo update-grub

If the Windows boot loader doesn’t show up on the GRUB menu, run:

sudo nano /etc/grub.d/40_custom

On UEFI systems, add:

menuentry “Windows Boot Manager” {
insmod part_gpt
insmod chain
set root='(hd0,gpt1)’
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

Replace hd0,1 with the partition the Windows boot loader is on. hd0,1 should work on most systems. This means the Windows boot loader is on the first partition of the first hard drive. Save and exit the editor by pressing Ctrl+X, then Y, then Enter.

On legacy BIOS systems, add:

menuentry “Windows Boot Manager” {
set root=(hd0,msdos1)
chainloader +1
}

Replace hd0,msdos1 with the partition the Windows boot loader is on. hd0,msdos1 should work on most systems. This means the Windows boot loader is on the first partition of the first hard drive. Save and exit the editor by pressing Ctrl+X, then Y, then Enter.

Then run:

sudo update-grub

Step 8: Finalizing Dual Boot Setup

Once you have both operating systems installed, ensure they are both updated.

Verify that both operating systems boot correctly and that all hardware components function as expected in both.

Conclusion

You now have a computer that dual-boots Windows and Linux. This setup allows you to choose between operating systems at each startup, offering the versatility and benefits of both Linux and Windows environments. Remember to maintain regular backups of your data to protect against potential data loss during system updates or changes.

Please Leave Feedback and Corrections in the Comments

More to Explore

Why MALIBAL?

When it comes to choosing a laptop, you have numerous options from well-known brands like Dell, HP, Lenovo, and Apple. Each of these companies offers a range of products designed to meet the diverse needs of their customers. However, if you’re looking for a brand that stands out in terms

Read More »

Table of Contents

Leave a Reply

Availability

We wish to inform our valued customers that, due to significant business growth and existing supply chain constraints, our laptop inventory is expected to be sold out this holiday season.

To secure a laptop for your personal or professional needs in anticipation of Christmas, we recommend placing your order at your earliest convenience.

Upon order placement, the estimated delivery date will be clearly indicated on the cart page, assuring the receipt of your purchase well ahead of the holiday festivities.

We appreciate your understanding and are dedicated to serving you with excellence.

What are you looking for?

Type in a question or keyword below

Search

Frequently Asked Questions

Why MALIBAL?

In a marketplace dominated by large corporations, MALIBAL offers a refreshing alternative that focuses on open-source support, the right to repair, hardware integration in the USA, personalized US-based customer support, and the unique combination of customization and high-performance technology in sleek, user-friendly designs. For those who value these qualities, MALIBAL stands out as a distinct and appealing choice among laptop brands.

Learn More

Are all the parts soldered to the motherboard?

In many modern laptops, especially thin and light models (like Apple’s MacBook Air or Pro, Dell’s XPS 13, or many of Lenovo’s ThinkPad X1 Carbon models), the memory, storage, battery, and wireless module are often soldered directly onto the motherboard. This is done to save space and allow the laptop to be thinner, but it means that the RAM and SSD are not user-upgradeable.

However, as part of our commitment to the Right to Repair Movement, the memory, storage, battery, and wireless module all MALIBAL laptops are user-upgradeable or user-replaceable.

Do any of your laptops support coreboot?

Coreboot is an open-source project aimed at replacing the proprietary BIOS (Basic Input/Output System) firmware found in most computers. BIOS firmware is the first piece of software that runs when a computer is turned on. It initializes the hardware and starts the operating system.

Coreboot is designed to perform only the minimum amount of hardware initialization necessary to load and run a modern 32-bit or 64-bit operating system. This minimalist approach not only reduces the complexity and potential attack surface of the firmware, but it can also speed up the system boot time significantly.

Coreboot can be used with payloads such as a Linux kernel, SeaBIOS, or UEFI firmware to provide a complete firmware solution. It’s appreciated by users who want to have more control over their hardware, value the transparency and security that come from open-source software, or have specialized requirements.

Coreboot with EDK II is supported on our Aon line of laptops.

Can your laptops be charged or powered via USB-C?

USB-C is revolutionizing the way we charge laptops. As a universal charging standard, USB-C has a number of advantages that make it particularly suited for this task.

First and foremost, it offers high power delivery capability – up to 100 watts – which is sufficient to charge even power-hungry laptops. This eliminates the need for proprietary laptop chargers and allows for charging via common adapters, power banks, or even other laptops.

Additionally, USB-C is a reversible connector, meaning it can be inserted either way, making it more user-friendly.

It also supports data transfer and display output, allowing for a single cable to provide power, transfer data, and connect to external monitors.

All MALIBAL laptops can be powered via the Thunderbolt 4 port.

Who is MALIBAL?
MALIBAL is an innovative technology company that produces high-performance, custom linux laptops for developers and content creators; mobile workstations for engineers, scientists, video editors, 3D modelers, and animators; and mobile servers for enterprise applications. On our site, you will find information about the best linux laptops, such as our Aon S1 and Aon L1 models, our customers, new articles, latest news, guides, features, and more.
How do I get a quote?

If you need a quote for any reason, e.g., to submit to accounting for approval, before ordering, simply add the laptop(s) you want to purchase to the Cart, then click Checkout, and on the checkout page, click Convert Cart to Quote. We will email you a PDF of the quote with a link to make payment once you are ready to complete the order.

How do I cancel an order?

You may cancel an order any time up until it ships. After it ships, you will not be able to cancel it, but will instead have to use our return policy in order to return the laptop for a refund. To cancel an order, simply open a sales ticket or sales chat and give the representative your order information, and they will cancel the order for you and send you confirmation via email and text.

How do I make a change to my order?

You may make changes to your order up until it ships. To modify an order, simply open a sales ticket or sales chat and give the representative your order information and specify which changes you want to make.

When is my order shipping?

If all parts are in stock, the average build time for laptops is 5-7 business days. This means laptops will ship 5-7 business days after the order is placed. If a component is backordered, it will say which parts are backordered in your order confirmation email.

To see the estimated delivery date of your laptop, please check your order confirmation email for the Estimated Delivery Date. You can also see this information on your My Account > Order Details page. The estimated delivery date is the build time (plus backorder delay, if applicable) plus the shipping time.

Once your laptop ships out, we will email you the tracking information. An adult will need to be at the address to sign for the package when it arrives.

How do I track my order after it ships?

You can view your tracking status via the order details page in your account.