Ubuntu Dual Boot with Windows on Dell XPS 13 9300
Once again I bought a laptop, a Dell XPS 13 9300, and tried to install Ubuntu as a dual boot (along with Windows 10). I expected no problems but was met with some surprises. Long story short, below are the expected and the actual steps needed.
Expected steps:
- Enter BIOS/UEFI
- Change boot order
- Boot from USB device and install Linux
Actually needed steps:
- Disable device encryption on Windows
- Enter BIOS/UEFI
- Change boot order
- Disable RST (Enable AHCI)
- Boot from USB device and install Linux
Disable device encryption on Windows⌗
This step is only needed to install Ubuntu as dual boot alongside Windows. If dual boot is not needed, skip this step.
Steps that worked in my case. Note that the labels might be different as I used Windows in a different language than English.
- Open Settings
- Go to
Updates & Security - Select last item on the left:
Device Encryption - Disable (press
Turn Off-button)
Additional Information about Device Encryption⌗
I encountered the Windows device encryption (Bitlocker) the first time. If its encryption key
is needed, then here are some commands that might be useful. In order to execute them, open
a terminal (cmd) with administrator rights (right-click terminal link)
- Get
Bitlockerkey (for deviceC:):manage-bde -protectors -get C: - Set
Bitlockerkey (for deviceC:):manage-bde -protectors -add C: -RecoveryPassword - Disable encryption on device
C::manage-bde -off C: - Check
Bitlockerstatus:manage-bde -status
Enter BIOS/UEFI⌗
Make sure to plug in your USB stick with the bootable Linux before restart/bootup.
From Windows:
- Open Settings,
- Go to
Updates & Security - Select
Recovery - Press
Restart - In the blue menu do:
Troubleshoot->Advanced Options->Startup Settingsand then:Restart
Or press F2 or F12 during startup.
In the menu:
- Go to
Boot Optionsto change the boot sequence (and apply changes) - Go to
General Settingsand change fromRST(Rapid Storage Technology) toAHCI(and apply changes)
After Exit the Dell XPS should boot from the USB stick.