Author Topic: [WORKAROUND-FOUND] Peppermint 7 ... full disk encryption  (Read 5536 times)

Offline Gre9J

  • Newly Subscribed
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
[WORKAROUND-FOUND] Peppermint 7 ... full disk encryption
« on: September 07, 2016, 01:07:06 pm »
I was running Peppermint 6 successfully. Now I'm trying to upgrade to 7. Boot from memory stick is good, but after installation my laptop hangs at 'Starting Up'.
« Last Edit: September 11, 2016, 09:03:22 am by Gre9J »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Peppermint 7 ... Starting UP
« Reply #1 on: September 07, 2016, 01:22:09 pm »
If you hit the Esc or Tab key at the "Starting up" screen .. is anything displayed on screen ?

And from the Peppermint 7  LiveCD/LiveUSB can you post the output from:
Code: [Select]
inxi -F
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Gre9J

  • Newly Subscribed
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #2 on: September 08, 2016, 11:56:04 am »
Thanks for your reply PCNetSpec  :)

When I hit ESC once my display goes blank and, after a second press, reverts to 'Starting Up'. No response when I hit Tab.

Output from 'inxi -F':
Spoiler (click here to view / hide)
[close]

I should add that I'm using the 64-bit image and only have this problem when attempting to install with full disk encryption. During that process I get an 'Unsafe swap space detected' warning, despite specifying that it should wipe the whole disk, so I go back to the terminal, and run:

Code: [Select]
sudo swapoff --all
then re-run the installation.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Peppermint 7 ... Starting UP
« Reply #3 on: September 08, 2016, 12:13:12 pm »
Are you able to boot to the desktop if you...

Turn on the PC

Hit the Shift key to access the GRUB menu

then select "recovery mode"

?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Gre9J

  • Newly Subscribed
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #4 on: September 08, 2016, 01:10:33 pm »
My lappy displays 'GNU GRUB version 2.02~beta2-36ubuntu3' menu whether I do or don't hit Shift during boot and the only recovery option I see, at the menu root, is 'Windows Recovery Environment (loader) (on /dev/sdb1)'.

I was reluctant to go there since I'm trying to put as much distance as possible between me and MS Windows but I reasoned it couldn't possibly be MS Windows so I took the chance.  ;D

It displays 3 errors before dropping back to the menu root.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Peppermint 7 ... Starting UP
« Reply #5 on: September 08, 2016, 03:32:52 pm »
Is there a recovery option under the "Advanced" submenu ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Gre9J

  • Newly Subscribed
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #6 on: September 09, 2016, 09:15:44 am »
Yes, there are 3 options in the sub menu. One of them reads 'Peppermint GNU/Linux, with Linux 4.4.0-24-generic (recovery mode)'.

Selecting it results in lots of scrolling white text on a black background, eventually it asks me for the encryption key which I enter. After that it displays 'Recovery Menu (filesystem state: read-only)' menu with options for resume, clean, dpkg, fsck, grub, network, root and system-summary.

At this point I'm completely out of my depth but, what the heck, I decided to try to go further. I guess that 'repair broken packages' or 'update grub bootloader' will probably need internet access so I select 'network'. Doing that displays ...:

grep: /etc/resolv.conf: No such file or directory
Trying to start NetworkManager ...
[ OK ] Stopped LSB: Start NTP daemon.
Unknown username "whoopsie" in message bus configuration file
greg: /etc/resolv.conf: No such file or directory

... plus a little more that I couldn't catch. Now I'm thinking that isn't going to work so, to my thinking, the only other option worth trying is 'Check all file system'. Lots more scrolling, before 'press Return to continue'. So I do, then reboot and it still hangs at 'Starting Up'.

I hit Tab .. nothing ... then Esc and, this time, it displays ...

[     4.367792] [ drm: intel_dp_link_training_channel_equalization [i915]] *ERROR* failed to train DP, aborting
lvmetad is not active yet, using direct activation during sysinit
Volume group "peppermint-vg" not found
Cannot process volume group peppermint-vg

Please unlock disk sda_crypt**

... so I enter my encryption key. Lots more scrolling text before .. it loads to the desktop  8)

Now I feel we're making some kind of progress so I shutdown before powering back-on and...  it still hangs at 'Starting Up'. I wait for 3 or 4 minutes and hit Esc .. blank screen.

Does all this tell you anything?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Peppermint 7 ... Starting UP
« Reply #7 on: September 09, 2016, 10:20:14 am »
Select "recovery mode" and when you get to the next menu select "Continue to boot" (top option) .. this should continue a normal boot but in low graphics mode and with text displayed during the boot sequence so if it hangs we can get an idea what the last thing it did was.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Gre9J

  • Newly Subscribed
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #8 on: September 09, 2016, 12:21:43 pm »
I don't see 'Continue to boot' .. here's what I see:



and, if I wait:



Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Peppermint 7 ... Starting UP
« Reply #9 on: September 09, 2016, 12:48:48 pm »
When you get to the screen in the top picture, hit the Enter key twice

if you still end up at the bottom pic .. what happens if you hit Ctrl+D like it's prompting ?



Out of interest, have you tried a non-encrypted install ?

And if it's a UEFI system does disabling "Secureboot" make any difference ?
« Last Edit: September 09, 2016, 12:50:26 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Gre9J

  • Newly Subscribed
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #10 on: September 09, 2016, 12:59:34 pm »
Gotcha  :)

Hitting Enter twice at the top pic gets me to the desktop  8)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Peppermint 7 ... Starting UP
« Reply #11 on: September 09, 2016, 01:03:40 pm »
okay, looks like a graphics issue then

First thing to do is run a full system update then reboot and see if that fixes anything .. if not, we can try adding a more recent kernel
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Gre9J

  • Newly Subscribed
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #12 on: September 09, 2016, 01:12:21 pm »
Yup, unencrypted install seems to be fine.

For me full disk encryption is a should, could rather than a must. I'd prefer to have full encryption to match my tin-foil hat  :P I ran Peppermint 6 with full disk encryption for more than a year and was hoping to do the same with 7.

I'm not Jimmy Bond and I don't subscribe to the 'do nothing wrong, nothing to hide' camp.


Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Peppermint 7 ... Starting UP
« Reply #13 on: September 09, 2016, 01:15:30 pm »
See if a full system update makes a difference .. at least we're tying it down to one of two things (graphics/encryption), I'm leaning towards graphics if it boots in recovery mode encryption must be working.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Gre9J

  • Newly Subscribed
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #14 on: September 09, 2016, 01:30:12 pm »
What do you mean 'full system update'?  What should I do?

Frankly, I was amazed that full disk encryption worked in 6 .. it's normally a premium option and not trivial to realise.

If we can't get it working in 7 it's not a deal-breaker for me. I'll still install un-encrypted 7 and be happy.