Ubuntu – Dell XPS 13 9360 Dualboot Windows 10 and Ubuntu 16.04

dual-bootgrub2initramfsuefiuuid

EDIT: don't do what I did in this question, check out the answer section below!

Screen shows up with this after running Ubuntu from grub64efi:

gave up waiting for root device. Common problems:
        boot args (cat /proc/cmdline)
        Check rootdelay= (did the system wait for long enough?)
        Check root= (did the system wait for the right device?)
    Missing modules (cat /proc/modules; ls /dev)
ALERT! UUID=1234-etc... does not exist. Dropping to a shell!

BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) _

I made dualboot of Windows 10 and Ubuntu 16.04.

How I got this far:

  1. First installed Windows, updated it, drivers and bios.
  2. made Ubuntu live-USB with Rufus (Uefi option or both).
  3. I manually changed from bios(F2 on DELL-logo screen on start):
  4. Secureboot disabled,
  5. Enabled legacy options ROMS,
  6. added option to boot sequence to the USB,
  7. and changed boot sequence to UEFI, run that new boot option(F12 on DELL screen)
  8. I made 30GB free partition space in SSD with GParted on live-USB-ubuntu.
  9. and Installed Ubuntu 16.04 on it. (Option with something like: "on side with windows")
  10. restarted, pressed F2 to go to bios and added Boot option of new partition and looked up (FS0:)/EFI/ubuntu/grubx64.efi
  11. After that it loads grub and when I select Ubuntu and it gives me that initramfs-shell.

ls root gives nothing, same as with ls boot.

I'm pretty new to Linux, so I'm glad at least 1 OS works on it, though it would be great if I could get Linux working on it too..

EDIT:

I run that Boot-Info-program in live-usb.

it gave me this on uefi mode: http://paste2.org/6aO3Lf5B

and this on legacy mode: http://paste2.org/P5U5ms9V

Best Answer

  • 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 doesn't 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:

    1. If you have installed Windows already and maybe you should. Do a recovery USB-stick.(minimum 16Gb USB-stick, I used 32GB stick).
    2. Update BIOS, if link doesn't work, Google: "Dell XPS 13 9360 drivers"

    Setting up live-ubuntu USB

    1. Download Rufus and Ubuntu.
    2. 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

    1. Restart, open bios(F2) when DELL logo comes up.
    2. Change secure boot disabled: BIOS->Settings->Secure Boot->Disabled.
    3. Change Sata Operation to AHCI: BIOS->Settinsg->System Configuration->SATA Operation->AHCI.
    4. Click "Apply"-button at bottom right in bios.
    5. 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.

    1. Disable fastboot in Windows: Power Options->Choose what the power buttons do->Change settings that are currently unavailable->uncheck "Turn on fast startup"

    Installing Ubuntu

    1. 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".
    2. Select in Boot Sequence your usb and move it all the way up with the arrow buttons, so it boots first.
    3. Then, in BIOS, click "Apply" and "Exit". This will restart your laptop.
    4. Now you should boot up in grub like environment, select "try ubuntu".
    5. Open Gparted, resize biggest partition so we can fit Ubuntu. Make at least 20GB for Ubuntu. I did 50GB.
    6. 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!

    1. You can go to BIOS settings and set the option "Ubuntu" in boot sequence first so you start up in grub.

    UPDATE:

    I've updated to BIOS 1.3.7 few days ago. Seems to work fine. If you have problems with trackpad 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

    UPDATE 2:

    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.

    EDIT:

    Dell released a guide to make a dualboot for Windows and Linux on Dec. 2017, that might be very helpful: http://www.dell.com/support/article/nz/en/nzdhs1/sln301754/how-to-install-ubuntu-and-windows-8-or-10-as-a-dual-boot-on-your-dell-pc

  • Related Question