Christophe14
2 Bronze

Re: XPS 13 9370 Ubuntu full disk encryption

Hi  @dell-mario l ,

I have got bad news.

I have unsuccessfully tested the proposed solution to recreate the Dell Recovery ISO file with the new dell-recovery deb (version 1.60 provided) during this weekend.

I have performed two attempts consisting of:

- reinstallation of Dell XPS Ubuntu factory image
- installation of new dell-recovery deb v1.60
- creation of the new Dell Recovery ISO file

The first attempt : I have created the ISO file from Dell Recovery application and after I have used Ubuntu Disk application to write the USB key.
Passphrase secret created was "eeeee" => Not recognized after new full disk encryption installation.

The second attempt : I have directly created the Dell Recovery Media USB key from Dell Recovery application.
Passphrase secret created was "rrrrr" => Still not recognized after new full disk encryption installation.

So, either the fix provided does not solve the issue, or Dell Recovery application is not injecting the changes into the new ISO file created.

Maybe I could provide you the new Dell Recovery Media ISO file created, so that you can test it.
Or you can provide me the new Dell Recovery Media ISO file including your fix, so that I can test it.
I am talking about the Dell Recovery Media ISO file and not the Dell XPS 13 Ubuntu factory image.

Thanking you in advance.

Kind regards.

0 Kudos
Christophe14
2 Bronze

Re: XPS 13 9370 Ubuntu full disk encryption

Hi @Christoph123

Were you in position to test Mario fix ?

I am also curious to know what .deb packages you have installed on top of standard Ubuntu 18.04.1.

Looking at Dell Recovery Media ISO content, there are a lot of .deb packages in different folders and I don't understand the sequence of installation and which packages shall be installed.

For example, there are NVIDIA packages whereas there is no NVIDIA video card inside (I think) in XPS 13 9370.

Thanks !

0 Kudos
dell-mario l
1 Nickel

Re: XPS 13 9370 Ubuntu full disk encryption

I did check that it failed previously and worked properly with that patched package on my side as did some of my colleagues.  Assuming you built it right (it sounds like you did) I do wonder if you are also having a second problem.

Can you please do the following:

1) Boot live media and unlock /mount the root partition.

2) Copy /var/log/installer/* and put it in a Github gist or somewhere that it can be viewed?

 

That will confirm the version of dell-recovery used and any errors from installation.

0 Kudos
dell-mario l
1 Nickel

Re: XPS 13 9370 Ubuntu full disk encryption

And also please confirm that you see in the debs/ directory or debs/main directory that updated dell recovery package in the ISO image.  You should.

0 Kudos
Christophe14
2 Bronze

Re: XPS 13 9370 Ubuntu full disk encryption

Hi @dell-mario l,

Unfortunately, I was not able to restore the XPS 13 9370 via the Dell Recovery Media or CloneZilla image backup yesterday.
I have to investigate first on this.

In case, I am blocked, how can I restore XPS 13 using the Dell factory ISO file ?

So, I am no more in position to go on tests proposed.

Meanwhile possible differences between your and my tests:

- French XPS 13 9370 (French keyboard)
- Dell Recovery 1.60 installed from GUI and not command line ?

Finally, I don't understand the tests you are proposing:

- which live media are you talking about ? Dell Recovery Media ? If I boot from it, it is fully graphical.
- how can I check that the debs folder have been updated ? Meaning which files should I check ?

I still believe exchanging ISO file including fix will speed up tests and bug resolution.

Kind regards

0 Kudos
Highlighted
dell-mario l
1 Nickel

Re: XPS 13 9370 Ubuntu full disk encryption

I can't share an ISO image.  Like I said there is a lengthy process to getting new images created and posted to the web.

In what I was proposing I was meaning to check booting any other image that manually mount the partition using the "Disks" utility.  This would allow you to fetch the logs out to further investigate where the problem you are seeing is.

You can look at the contents of the ISO by using "less" or opening it in file-roller on Ubuntu, 7z FM on Windows, or any tool that can look at the file listing on the ISO. 

 

FYI I won't be able to check on hardware again myself until after the US holiday on my side. 

0 Kudos
jdrogers
1 Copper

Re: XPS 13 9370 Ubuntu full disk encryption

dell-mario, thanks for you work on this. I am going to chime in with a couple of things. I know you won't have hardware until after the holiday, but if you see this and have any thoughts, I may have time to try some things.

christophe14: I don't think it has anything to do with french keyboard or installing from command line, as I see the same behavior.

Just to be sure we are all on the same page, this is what I have tried:

1. Download https://github.com/dell/dell-recovery/releases/download/1.60/dell-recovery_1.60_all.deb

2. sudo dpkg -i Downloads/dell-recover_1.60_all.deb

3. run the dell-recovery application, select build OS media

I have tried installing from the resulting flash drive, and it took be a bit to figure out that the option for encrypting is buried under an option where you select between using the whole disk or only the linux partition. When I choose the later, I see an option to use encryption. If I choose this, I can select a passwd, but after reboot, the passwd is not accepted as reported above.

dell-mario: I just checked and the resulting flash drive does NOT have dell-recover under debs or debs/main, so it appears that installing this on the OS before creating the recovery media does not cause it to be included in the recover media.

 

0 Kudos
Christophe14
2 Bronze

Re: XPS 13 9370 Ubuntu full disk encryption

Hi @jdrogers and @dell-mario l

From what I have seen dell-recovery_1.60_all.deb is updating chroot.sh. This file is copied locally on the hard disk.
But I don't see this file on the Dell Recovery Media USB key. Same thing for the .deb package, I confirm it is not in the USB key generated.
I wil be in position to post the var/log/installer files in the coming days.

Another strange thing when you create directly the Dell Recovery Media USB key after Ubuntu/Dell configuration, an ISO file is created in the Download folder. But the ISO file is not bootable: it contains only one partition and not the EFI one.

Kind regards

0 Kudos
Christophe14
2 Bronze

Re: XPS 13 9370 Ubuntu full disk encryption

Hi @dell-mario l,

I have sent you the var/log/installer content.

Thanks !

Kind regards.

0 Kudos
jdrogers
1 Copper

Re: XPS 13 9370 Ubuntu full disk encryption

One other thing I just noticed: I am able to write the .deb into the recovery partition on the ssd (as opposed to the usb flash key). I tried reinstalling using the recovery partition instead of the usbkey, but I can't seem to find a way to get the option to do encryption and it only has the choice of reinstalling.

In the end, I may do full disk encryption manually anyway, since I was just reading that the installer option does not allow setup of encrypted swap which is how I have had my previous laptop for years. I am still happy to test things if I can be of help for the next few days.

0 Kudos