You are not logged in.

#1 2017-06-26 20:08:02

ahmadelmorshedy
Member
Registered: 2015-10-10
Posts: 4

Failed to Boot Arch on encrypted partitions

Hi,

I've installed Arch yesterady

I have already Windows 10

I made an extended partition /dev/sda4, which have

/dev/sda5         linux-swap
/dev/sda6         ext4
/dev/sda7         ext4

I used LUKS to encrypt the three partitions

For Booting, I used the following commands/sequence

pacman -S grub
pacman -S os-prober

then I've added `GRUB_ENABLE_CRYPTODISK=y` in /etc/default/grub file

grub-install --recheck /dev/sda

grub-mkconfig -o /boot/grub/grub.cfg

After Rebooting, grub asked me for passphrase.. then displayed two options for Arch...

Choosing the first (the normal) one , it generates the following:

Error parsing PCC subspaces from PCCT
ACPI Error: Needed type [Reference], found [Integer] ....
ACPI Exception: AE_AML_OPERAND_TYPE, while resolving operands for [OpcodeName unavailable] .....
ACPI Error: Method parse/execution failed [\_PR.CPU0._PDC] (Node ...., AE_AML_OPERAND_TYPE (20170119/psparse-543)   
starting version 232
ERROR: device `UUID-=.....' not found. skipping fsck
mount: can't find UUID=....
You are now being dropped into an emrgency shell
sh: can't access tty; job control turned off

Unfortunatley, I can't figure exactly what is the problem, but it seems it is something related to the encryption I made

Any help would be appreciated...

Offline

#2 2017-06-29 02:59:23

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: Failed to Boot Arch on encrypted partitions

Apparently you haven't include the encrypt hook in the initramfs. Add it to the HOOKS array in /etc/mkinitcpio.conf and regen the initramfs images with mkinitcpio -P.

You also need to include the `cryptdevice` parameter in your bootloader conf (/etc/default/grub if you make use of grub-mkconfig) for the encrypt hook to know which encrypted partition to open. See https://wiki.archlinux.org/index.php/GR … _arguments

You don't need `GRUB_ENABLE_CRYPTODISK=y` if it has an unencrypted /boot partition.

Offline

Board footer

Powered by FluxBB