You are not logged in.

#1 2014-09-29 03:59:25

DakotaTheGiraffe
Member
Registered: 2014-09-29
Posts: 4

[SOLVED] Encryption hook doesn't prompt for key

I'm trying to dual boot an encrypted arch (64bit luks encryption without lvm) and windows 8 on uefi. Everything installs pretty smoothly until it tries to decrypt the root partition, it doesn't prompt for the passphrase. Using a g55vw laptop, there's a wiki page for it apparently which I've been trying to follow. When I search for related problems most people solve it by moving the encrypt hook around but I've found that doesn't help
(yes I run mkinitpio -p linux).

My output when grub loads arch:

:: running early hook [udev]
:: running hook [udev]
:: Triggering uevents...
:: running hook [keymap]
:: loading keymap . . . done
:: running hook [encrypt]
Waiting 10 seconds for device /dev/mapper/root ...
Waiting 10 seconds for device /dev/mapper/root ...
ERROR: device '/dev/mapper/root' not found.  Skipping fsck
ERROR: Unable to find root device '/dev/mapper/root'
You are being dropped to a recovery shell
	Type 'exit' to try and continue booting
sh: can't access tty: job control turned off

/etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="cryptsetup=/dev/sda2:root"
GRUB_DISABLE_LINUX_UUID=true

/etc/mkinitcpio.conf

MODULES=""
BINARIES=""
FILES=""
HOOKS="base udev autodetec modconf block keymap keyboard encrypt filesystems fsck"

Last edited by DakotaTheGiraffe (2014-09-29 04:31:21)

Offline

#2 2014-09-29 04:15:42

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: [SOLVED] Encryption hook doesn't prompt for key

You need to use "cryptdevice=/dev/sda2:root" instead of "cryptsetup=/dev/sda2:root".

Offline

#3 2014-09-29 04:29:55

DakotaTheGiraffe
Member
Registered: 2014-09-29
Posts: 4

Re: [SOLVED] Encryption hook doesn't prompt for key

wow I tried that last install and it didn't work but it solved it this time. Thanks for your quick response

Offline

Board footer

Powered by FluxBB