PINE64
Enter disk decryption passphrase error - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Enter disk decryption passphrase error (/showthread.php?tid=14606)



Enter disk decryption passphrase error - healthyliving101 - 08-08-2021

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


RE: Enter disk decryption passphrase error - wibble - 08-09-2021

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.


RE: Enter disk decryption passphrase error - warrenc5 - 09-05-2021

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_special_SD_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.


RE: Enter disk decryption passphrase error - Fenellakw - 09-07-2021

(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.