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
- Switch your disk setting in the BIOS from RAID ON to AHCI
- If your window was installed in RAID ON, don’t worry, it can be changed to AHCI setting Switch your window setting to AHCI
- Right-click the Windows Start Menu. Choose
Command Prompt (Admin)
. - 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: - Click the Start Button and type
cmd
- Right-click the result and select
Run as administrator
- Type this command and press ENTER:
bcdedit /set {current} safeboot minimal
- If this command does not work for you, try
bcdedit /set safeboot minimal
- Restart the computer and enter BIOS Setup (the key to press varies between systems).
- Change the SATA Operation mode to AHCI from either IDE or RAID (again, the language varies).
- Save changes and exit Setup and Windows will automatically boot to Safe Mode.
- Right-click the Windows Start Menu once more. Choose
Command Prompt (Admin)
- Type this command and press ENTER:
bcdedit /deletevalue {current} safeboot
- If you had to try the alternate command above, you will likely need to do so here also:
bcdedit /deletevalue safeboot
- Reboot once more and Windows will automatically start with AHCI drivers enabled.
- Right-click the Windows Start Menu. Choose