Enter disk decryption passphrase error
#1
I've been using my Pinephone CE running Mobian for a few months. Recently, I apparently executed a command in terminal that has caused the phone on startup to display this message that I can't dismiss because I don't know the passphrase:

Enter disk decryption passphrase

Can I fix this easily? Or, should I flash and install another system on the phone?  Huh
  Reply
#2
That's what I'd expect to see if you had used the installer image to set up an encrypted root filesystem. The purpose of that is to prevent anyone who doesn't know the password from accessing any of the data. I don't know how you could accidentally trigger that from ordinary mobian, but IF you have then reinstalling will almost certainly be the only option. Someone else may have a better idea of what you might have done.
  Reply
#3
I'm going through this atm.  I've actually forgotten my disk password.

I installed the fel boot mode onto the sdcard and plugged in the usb cable and powered on.

https://linux-sunxi.org/FEL#Through_a_sp...card_image

On my computer (usb host) I run.

$> dmesg -w &

usb 1-2: new full-speed USB device number 74 using xhci_hcd

$> ./boot-tools/sunxi-tools/sunxi-fel  -l

USB device 001:074  Allwinner A64    92c089ba:24204620:78f4c71c:0c030710

$> cd boot-tools && make pinebook_ums

Code:
usb 1-2: New USB device found, idVendor=0bb4, idProduct=0fff, bcdDevice= 2.00
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: AllWinner Technology
usb 1-2: Manufacturer: 20101201120001
usb 1-2: SerialNumber: USB Mass Storage
usb-storage 1-2:1.0: USB Mass Storage device detected
scsi host5: usb-storage 1-2:1.0
scsi 5:0:0:0: Direct-Access    USB2.0  USB Storage      0100 PQ: 0 ANSI: 2
sd 5:0:0:0: Attached scsi generic sg4 type 0
sd 5:0:0:0: [sdd] 61071360 512-byte logical blocks: (31.3 GB/29.1 GiB)
sd 5:0:0:0: [sdd] Write Protect is off
sd 5:0:0:0: [sdd] Mode Sense: 03 00 00 00
sd 5:0:0:0: [sdd] No Caching mode page found
sd 5:0:0:0: [sdd] Assuming drive cache: write through
sdd: sdd1 sdd3

Then I can try to unlock the partition using cryptdisk
$>cryptsetup isLuks /dev/sdd1 && echo $?
1
$>cryptsetup isLuks /dev/sdd1 && echo $?
0
$>cryptsetup luksOpen /dev/sdd3 mobian

If all else fails then reinstall.
  Reply
#4
(09-05-2021, 12:57 AM)warrenc5 Wrote: I'm going through this atm.  I've actually forgotten my disk password.

I'm sure you've noticed this already but just in case...

I realised on mine that the keyboard for entering the encryption passphrase on boot differs from the keyboard in use once it's fully booted.
The most notable difference is the Shift key - it actually works like a Caps-Lock.
Once you press it, everything you type from then on will be in uppercase until you press it again.

I didn't notice on my first few attempts and was trying to work out where I'd made a mistake in my phrase!
Grr.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  boot gets stuck shortly after disk decryption vortex 9 5,600 09-11-2024, 05:40 AM
Last Post: normangraves
  Chatty Matrix Decryption Key jojuma 2 1,165 02-26-2024, 12:48 PM
Last Post: tophneal
  [Megapixels] Flash strobe, pictures viewer and MPCamera error 22 freelectro 1 1,520 08-30-2023, 03:59 AM
Last Post: karensather
  low disk space on file system root revisited benedikt55 2 2,048 09-24-2022, 10:16 AM
Last Post: benedikt55
  Low Disk Space on Filesystem root ichbins 9 5,542 08-28-2022, 10:52 AM
Last Post: Eugo
  Error - megapixels not opening user641 17 12,413 03-29-2022, 03:43 PM
Last Post: bcnaz
  Flatpak error during apt update user641 0 1,355 02-14-2022, 08:35 AM
Last Post: user641
  Waydroid error: not using Wayland. But I am! quixote 7 7,836 01-09-2022, 02:47 PM
Last Post: jsch
  Help request: upgrade failed, locked out at decryption passphrase tiikeri 7 5,141 11-27-2021, 07:29 AM
Last Post: zetabeta
  Video playback error (Totem/Videos) Zebulon Walton 0 1,284 08-19-2021, 05:37 PM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 1 Guest(s)