Disk setting for dual booting (linux and window)

Published:

Problem statement

  • When install Ubuntu, it can’t find the empty disk

Cause

  • In case of my laptop (Dell xps series), the ssd setting was raid on. That’s the reason why Ubuntu can’t find the empty disk.

Solution

  1. Switch your disk setting in the BIOS from RAID ON to AHCI
  2. If your window was installed in RAID ON, don’t worry, it can be changed to AHCI setting Switch your window setting to AHCI
    1. Right-click the Windows Start Menu. Choose Command Prompt (Admin).
    2. If you don’t see Command Prompt listed, it’s because you have already been updated to a later version of Windows. If so, use this method instead to get to the Command Prompt:
    3. Click the Start Button and type cmd
    4. Right-click the result and select Run as administrator
    5. Type this command and press ENTER:
      1. bcdedit /set {current} safeboot minimal
    6. If this command does not work for you, try bcdedit /set safeboot minimal
    7. Restart the computer and enter BIOS Setup (the key to press varies between systems).
    8. Change the SATA Operation mode to AHCI from either IDE or RAID (again, the language varies).
    9. Save changes and exit Setup and Windows will automatically boot to Safe Mode.
    10. Right-click the Windows Start Menu once more. Choose Command Prompt (Admin)
    11. Type this command and press ENTER: bcdedit /deletevalue {current} safeboot
    12. If you had to try the alternate command above, you will likely need to do so here also: bcdedit /deletevalue safeboot
    13. Reboot once more and Windows will automatically start with AHCI drivers enabled.