Choose style:

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

0 Members and 1 Guest are viewing this topic.

Offline Gre9J

  • nOOb
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
[WORKAROUND-FOUND] Peppermint 7 ... full disk encryption
« on: September 07, 2016, 04: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, 12:03:22 pm by Gre9J »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26280
  • Karma: 2855
  • "-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, 04: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

  • nOOb
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #2 on: September 08, 2016, 02:56:04 pm »
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)
System:    Host: peppermint Kernel: 4.4.0-24-generic x86_64 (64 bit)
           Desktop: N/A Distro: Peppermint Seven
Machine:   System: Acer product: Aspire E5-573 v: V3.72
           Mobo: Acer model: ZORO_BH v: Type2 - A01 Board Version
           Bios: Insyde v: V1.13 date: 05/11/2015
CPU:       Dual core Intel Core i7-5500U (-HT-MCP-) cache: 4096 KB
           clock speeds: max: 3000 MHz 1: 2419 MHz 2: 2708 MHz 3: 2511 MHz
           4: 2420 MHz
Graphics:  Card: Intel Broadwell-U Integrated Graphics
           Display Server: X.Org 1.18.3 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.02hz
           GLX Renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2)
           GLX Version: 3.0 Mesa 11.2.0
Audio:     Card-1 Intel Wildcat Point-LP High Definition Audio Controller
           driver: snd_hda_intel
           Card-2 Intel Broadwell-U Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.4.0-24-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: enp2s0 state: down mac: 2c:60:0c:92:31:4d
           Card-2: Intel Wireless 7265 driver: iwlwifi
           IF: wlp3s0 state: up mac: 60:57:18:00:95:4c
Drives:    HDD Total Size: 247.8GB (2.2% used)
           ID-1: /dev/sda model: SanDisk_SDSSDHII size: 240.1GB
           ID-2: /dev/sdb model: Name n/a size: 7.8GB
Partition: ID-1: / size: 3.9G used: 44M (2%) fs: overlay dev: N/A
           ID-2: swap-1 size: 1.04GB used: 0.00GB (0%) fs: swap dev: /dev/zram0
           ID-3: swap-2 size: 1.04GB used: 0.00GB (0%) fs: swap dev: /dev/zram1
           ID-4: swap-3 size: 1.04GB used: 0.00GB (0%) fs: swap dev: /dev/zram2
           ID-5: swap-4 size: 1.04GB used: 0.00GB (0%) fs: swap dev: /dev/zram3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 44.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 188 Uptime: 12 min Memory: 597.7/7904.0MB
           Client: Shell (bash) inxi: 2.2.35
[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: 26280
  • Karma: 2855
  • "-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, 03: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

  • nOOb
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #4 on: September 08, 2016, 04: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: 26280
  • Karma: 2855
  • "-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, 06: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

  • nOOb
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #6 on: September 09, 2016, 12:15:44 pm »
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: 26280
  • Karma: 2855
  • "-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, 01:20:14 pm »
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

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



and, if I wait:



Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26280
  • Karma: 2855
  • "-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, 03: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, 03: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

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

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

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26280
  • Karma: 2855
  • "-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, 04: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

  • nOOb
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #12 on: September 09, 2016, 04: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: 26280
  • Karma: 2855
  • "-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, 04: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

  • nOOb
  • *
  • Posts: 20
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Peppermint 7 ... Starting UP
« Reply #14 on: September 09, 2016, 04: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.