You are not logged in.
I just installed arch on a USB flash drive and it refuses to boot properly, mainly because the encrypt hook is ran directly after the udev hook and before all others, thus resulting in no disks being created in /dev and an unbootable system.
[root@archiso /]# grep HOOKS /etc/mkinitcpio.conf
HOOKS="base udev autodetect modconf block keyboard encrypt filesystems fsck"
[root@archiso /]#
[root@archiso /]# lsinitcpio -a /boot/initramfs-linux.img
...
==> Hook run order:
udev
encrypt
...
Also, I don't understand why only two hooks are listed on the run order and not all of them
Edit: After trying to boot, waiting for 10 seconds for /dev/sdXX appears after which the system falls to the emergency shell. /proc/partitions is empty, there are no devices (sdXX) in /dev and also /dev/disk/* directories are all empty
Thanks!
Last edited by flegma (2017-06-03 12:54:54)
Offline
Does it work w/o the autodetect hook? Then it's just missing modules.
Online
The hook run order list from lsinitcpio seems fine. Are you using /dev/sdXX or UUID to tell the kernel which partition to decrypt? Share the kernel command line from your bootloader's config and your fstab.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Offline