DUALBOOT Windows & Ubuntu on Dell XPS 13 9360
Big thanks to @oldfred for help!
Short answer: Dell XPS 13 2016 (intel i5 9360, KabyLake) has SATA operation in RAID mode, which doesnt' work for Ubuntu. You need to change it to AHCI. Also disable secureboot so you can see usb and install it. You may need to add usb in boot sequence as option. In windows you need to disable fastboot so Ubuntu can recognize partitions correctly.
This is for future reference for me and all of you Dell XPS 13 9360 owners. I'm Using BIOS version 1.2.3. Ubuntu 16.04. Windows 10. Dell XPS 13 9360 manufacture date: 11/2016. It may or may not work on your setup.
Long answer/steps to take you through it:
Setting up windows and bios:
- If you have installed Windows already and maybe you should. Do a
recovery USB-stick.(minimum 16Gb USB-stick, I used 32GB stick).
- Update BIOS, if link doesn't work google: "Dell XPS 13 9360 drivers"
Setting up live-ubuntu USB
- Download Rufus and Ubuntu.
- use Rufus to add Ubuntu in the USB (min 6-8GB?) (another USB than the one with recovery): choose UEFI option.
Installing Windows in AHCI mode
- restart, open bios(F2) when DELL logo comes up.
- Change secure boot disbled: BIOS->Settings->Secure Boot->Disabled.
- Change Sata Operation to AHCI: BIOS->Settinsg->System Configuration->SATA Operation->AHCI.
- Click "Apply"-button at bottom right in bios.
- If Windows loads you're golden, if not select: more options, and somewhere in there is "restore with default settings" or something in those lines.
You may try to install Windows with your recovery USB too. (you may need to add the usb to boot sequence in BIOS)
Now if your Windows starts up you need to do one more thing so Ubuntu can recognize partitions correctly.
- Disable fastboot in Windows: Power Options->Choose what the power buttons do->Change settings that are currently unavailable->uncheck "Turn on fast startup"
- You may need to add USB to boot-sequence if it doesn't load when you restart with ubuntu-USB on laptop: go to BIOS(F2 on dell logo)->Settings->Boot Sequence->"Add Boot Option"-button, add name and choose option with usb in File System List, not the one with "Pci"-in the name.. click "OK".
- Select in Boot Sequence your usb and move it all the way up with the arrow buttons, so it boots first.
- Then in BIOS click "Apply" and "Exit". This will restart your laptop.
- Now you should boot up in grub like environment, select "try ubuntu".
- Open Gparted, resize biggest partition so we can fit Ubuntu. Make atleast 20GB for Ubuntu. I did 50GB.
- Run the Ubuntu Installer. Do your configurations, select all update options. Choose the option with "along side Windows".
Now you should have Windows and Ubuntu on your laptop!
- You can go to BIOS settings and set the option "Ubuntu" in boot
sequence first so you start up in grub.
If this helped you, please give me 1+up, so others can find this answer easier.
I've updated to BIOS 1.3.7 few days ago. Seems to work fine.
If you have problems with tracpad palm recognition in Ubuntu, update your Ubuntu or try this: https://medium.com/@patrickmmartin/dell-xps-13-9360-journey-to-linux-trackpad-fix-a2d9b551d291
If you still are in Safe mode in Windows try this:http://www.pcworld.com/article/3085034/windows/how-to-get-out-of-windows-safe-mode.html
I've updated to BIOS 2.3.1 and everything seems to work fine. Though same problems exists that I've found before:
- touch-pad gets uncontrollable after a long time of use in Ubuntu.
- Windows shuts down itself unexpectedly sometimes for unknown reason, going blue-screen.
- Windows shutting itself down after no use, gets error shutting down.
- usb 2.0 devices don't work correctly, like external-SSD and such. Though I got Logitech's Unifying USB receiver working after installing their software. Unifying receiver works fine in Ubuntu.
I think errors in Windows might be due to incompatibility with grub-launcher or dual-boot itself. As of now if you want trustworthy experience in Windows side I don't recommend dual-boot.
Dell released a guide to make a dualboot for windows and linux on dec. 2017, that might be very helpful: