UNSOLVED

Christophe14

updated

8 years ago

C

Christophe14

1 Rookie

42 Posts

2

31609

October 17th, 2018 02:00

XPS 13 9370 Ubuntu full disk encryption

Hi,

I have just received a XPS 13 9370 Ubuntu and I have some questions.

I will post one thead per question.

First question:

During the Ubuntu 18.04 configuration installation, there was no full disk encryption (LUKS) option.

From what I have understood, this shall be done during Ubuntu configuration, otherwise it seems more complicated.
Did I miss something ? Has Dell removed this option in Ubuntu installation process ?

Shall I reinstall from a Dell Recovery Ubuntu USB key so that the option is proposed ?

Thanks in advance for your hints.

Kind regards

  • Dave137

    1 Rookie

    3 Posts

    5640

    0

    Posted April 7th, 2019 15:00

    Same here, I have a XPS 9380, I followed michaelzap's instructions, and it worked fine.

    I was interested in trying out dell-recovery_1.61, for the feature of not requiring the "apt install" step -- but I see on github there is no prebuilt deb file for that version --  so I stuck to the original script.

  • 5635

    0

    Posted April 7th, 2019 17:00

    1.61 had a typo, 1.62 is just 1.61 with that bug fixed.  You should be able to use 1.62.

  • Lex_dell

    2 Posts

    5625

    0

    Posted April 8th, 2019 11:00

    I managed to do this as well , but the gnome software center now shows a permanent progress indicator on the icon....

     

    How do I remove this?

  • 5616

    0

    Posted April 8th, 2019 23:00

    try

    # apt -f install

  • Lex_dell

    2 Posts

    5638

    0

    Posted April 9th, 2019 13:00

    Hi Lemonjello

     

    It doesn't work unfortunately.

    Anyone else suggestions? Perhaps reinstall software center somehow? Or use a different version than the 1.60 deb that I have used?

  • schmorpl

    1 Message

    3860

    0

    Posted August 15th, 2019 04:00

    Just a heads up to mention the solution described in https://www.dell.com/community/Linux-Developer-Systems/XPS-13-9370-Ubuntu-full-disk-encryption/td-p/6200577/page/4#messageview_8 worked for me, with the latest dell-recovery release (1.62 at the time of writing this post). I reinstalled a fresh non encrypted version, then followed the steps. I don’t remember seeing any of the errors mentioned though.
  • rolts

    1 Message

    3568

    0

    Posted September 27th, 2019 13:00

    Same solution works for XPS 13 9380 too.

  • anomalroil

    1 Message

    3455

    0

    Posted October 18th, 2019 08:00

    I was sad to discover the same problem impacted the XPS 13 7390.

    I tried the workaround, using the 1.63 Dell-Recovery release that was published 4 days ago, but it didn't work: I ended up on a OEM installation version of Ubuntu, with no Wifi driver nor any Dell PPAs, and when I ran the script "Prepare for shipping to end user", it prompted me with the usual Ubuntu install prompt, I set it up, but ended up with a broken installation that was expecting some PPA to be cdroms, or files... (Altough it enabled FDE correctly, the rest just wasn't working.)

    I will try with the 1.62, to see if it makes a differences.

  • coroa

    1 Message

    3992

    1

    Posted October 18th, 2019 14:00

    Hi,

    it's relatively annoying how many hoops one has to jump through to make it work. Here's the shortest path I was able to take on my Dell XPS 9380:

    1. Get recovery image from Dell's support pages for your machine
    2. Take an usb stick (>=4GB, which can be wiped) and create a new msdos type partition table with a single vfat partition (i used gparted) and flag the partition as bootable
    3. Mount the new partition on the usb stick and extract (sic!) the recovery image into it, ie. (mount /dev/sdb1 /mnt; cd /mnt; sudo 7z x ~/Downloads/Dell_XPS_9380_....iso)
    4. Get dell_recovery_1.62_all.deb from the dell-recovery releases github page. (Version 1.63 does not work, since it depends on python of at least version 3.7 which is not available in bionic, causing the entire installation to fail!!) and copy it into the debs/main directory on the pendrive.
    5. Reboot and press F12 during the boot sequence, where your pendrive should now be listed in the EFI drive options to launch directly into the Ubuntu installation.
    6. At the beginning of the setup, there should be two options: "Restore Entire HD" and "Restore Only Linux" choose the second ("Restore Only Linux").
    7. Choose "Erase Disk and Install Ubuntu" and mark "Encrypt the new Ubuntu", this will auto-mark also the LVM option.
    8. When asked for an encryption password, pick any password (some users with non-QWERTY keyboards have reported issues, so watch out for this!).

    The steps have been extracted from:

    https://www.dell.com/community/Linux-Developer-Systems/XPS-13-9370-Ubuntu-full-disk-encryption/m-p/6223948/highlight/true#M8812

    and

    https://www.dell.com/community/Linux-Developer-Systems/XPS-13-9370-Ubuntu-full-disk-encryption/m-p/7195610/highlight/true#M8892

    Good luck,

    Jonas

     

  • Godspell

    3 Posts

    3705

    0

    Posted November 7th, 2019 17:00

    Wow...what a rollercoaster ride this whole thread has been. So good to see everybody (a lot of smart people) working together.

    I've got a Dell XPS 13 9380 and I'm about to attempt this (I think FDE is a must in this day and age) however I'm puzzled about a few things and would like to check.

    • Does the TPM come into this equation at all? I mean this thing has TPM 2 so it should be used to save the encryption key, right? So that you won't have to enter it on boot every time.
    • Should I still go with Dell Recovery v1.62?
    • Can I not use the startup disk creator as opposed to the manual way you've done?
    • Will the USB still be detected if plugged in through USB C - USB 3 adapter?
    • Will the Dell software and updates work as smoothly as they do now (in a vanilla setup) afterward?

    Thank you.