[note] Windows 11 + Ubuntu Dual-Boot Installation Record

Note: This page is an AI-generated (gpt-5-mini-2025-08-07) translation from Traditional Chinese and may contain minor inaccuracies.

๐ŸŽ’ Preparations

๐Ÿ’ป Computer information

  • Model: VivoBook 14 X1405VA-0041K
  • OS: Windows 11
  • CPU: i5-13500H
  • SSD: NVMe SAMSUNG MZVL4512HBLU-00BTW
  • BIOS access key: F2
  • Boot device selection key: F12

๐ŸŽฏ Goal

The current SSD already has Win 11 installed. The goal is to partition the 1 TB SSD and install Ubuntu 20.04 LTS

  • - 350 GB
  • Ubuntu - 650 GB

๐Ÿ’ป Procedure

๐Ÿšจ Notes

  • According to online tutorials, most changes are made in the BIOS menu
  • However, some manufacturers disable these options (to prevent users from damaging the computer)
  • That also makes changes troublesome, and in the end you may need to reset Windows, so back up your computer
  1. Turn off BitLocker
  2. Ensure BIOS is updated to the latest version
    • The latest BIOS typically includes bug fixes and improved hardware compatibility, which helps avoid unnecessary issues during installation
  3. Set the BIOS Boot Mode to UEFI
    • UEFI is the modern standard boot mode, offering better disk partition support, faster startup, and security features. Both Ubuntu and Windows are recommended to use UEFI rather than legacy BIOS (CSM)
  4. Disable Secure Boot
    • Secure Boot prevents unauthorized operating systems from booting, but some Ubuntu releases or custom drivers may not pass verification, causing installation failures
    • Find the Secure Boot setting in BIOS and set it to Disabled
  5. Disable Fast Boot (BIOS & Windows Control Panel)
    • Fast Boot skips some hardware initialization and may cause the USB boot drive to not be detected, affecting Ubuntu installation
    • In BIOS, find Fast Boot and set it to Disabled
    • In Windows Control Panel under Hardware and Sound -> Power Options, turn off Fast Startup
  6. Confirm SATA Configuration is set to AHCI mode (this is the most likely place to encounter issues; some BIOSes donโ€™t expose these options)
    • It must not be RAID
  7. Disable CSM (Compatibility Support Module)
    • CSM provides compatibility for legacy BIOS; disabling it makes the system focus on UEFI booting and reduces potential compatibility problems
    • In BIOS, find CSM and set it to Disabled

Step 1 Partition the disk

  • First, partition the disk in Windows into Windows and Ubuntu systems
  • Search on the computer for Create and format hard disk partitions

image

Step 2 Turn off fast startup

  1. Windows - Fast Startup
  2. BIOS - Fast Boot

Windows

  • In Windows Control Panel, find the power management options and turn off fast startup

image

image

image

image

  • This step will cause the computer to fail to boot afterward and will require resetting the entire computer (you need a strong heart ๐Ÿ’”๐Ÿ’”๐Ÿ’”โ€ฆ)
  • But only after resetting can you successfully turn off RST (change the disk from RAID to AHCI); otherwise Ubuntu cannot detect the SSD during installation

Press Win + X and open Device Manager

  • Inside, find Storage Controllers, where you will see the Intel RST driver
    image
  • This is the main culprit that causes the SSD to not be detected during the Ubuntu installation!!!
  • Please follow the steps in Ubuntu Documentation - RST & Ubuntu installation to uninstall the Intel RST driver step by step

Press Win + R, search regedit

  1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStorV\
    • Find the Start entry and change its value to 0
    • Find StartOverride and change its value to 0
  2. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\
    • Find the Start entry and change its value to 0
    • Find StartOverride and change its value to 0

Uninstall the Intel RST driver

  • Completely uninstall the Intel RST driver, then reboot
  • During reboot you will get a blue screen showing INACCESSIBLE_BOOT_DEVICE; the solution is to reset the entire computer

After resetting

  • Again press Win + X to open Device Manager and check Storage Controllers to confirm whether Intel RST is still present

    image

Step 4 Install Ubuntu

Install Ubuntu using a USB drive

  • Press F12 to select the USB drive as the boot device
  • Since partitions were pre-created, choose Installation Type -> Something else
    image
  • Keep confirming through the prompts; the subsequent installation should not have many problems

Driver issues

  • In the past, installing on a desktop and my old laptop I didnโ€™t encounter Wi-Fi driver issues
  • But this Vivobook had issues; the quickest fix was to buy a Linux-compatible USB wireless adapter
  • TP-Link TL-WN725N22
    image

Glossary

  • CSM - Compatibility Support Module
  • Intel RST - Intel Rapid Storage Technology

  1. Ubuntu Documentation - RST & Ubuntu installation
    https://help.ubuntu.com/rst/ โ†ฉ๏ธŽ

[note] Windows 11 + Ubuntu Dual-Boot Installation Record

https://hsiangjenli.github.io/blog/note-window-11-ubuntu.en/

Author

Hsiang-Jen Li

Posted on

2025-01-17

Updated on

2025-09-15

Licensed under