= Running the same Arch Linux installation both natively on my computer and in a Virtual Machine (hyper-v?) =
![ ](httpswww.redditstatic.com/desktop2x/img/renderTimingPixel.png)
My computer broke so I put my hard drive in my sister's until I get a new one. Now she has two disks: hers with her Windows 10 and its ESP partition, and mine with my Arch and my ESP partition. My Arch partition is encrypted with LUKS.
I put my hard drive offline in my sister's OS, then added it to hyper-v and tried to run it. The bootloader (systemd-boot) shows correctly, Linux starts booting, but gets stuck right before asking for the decryption password. It blinks between the following two lines:
A start job is running for /dev/disk/by-uuidUUID}}
A start job is running for /dev/mapper/cryptroot
Until it timeouts and fails, saying:
Dependency failed for Cryptography Setup for cryptroot.
Dependency failed for Local Encrypted Volumes.
Dependency failed for /dev/mapper/cryptroot.
Dependency failed for Initrd Root Device.
Dependency failed for /sysroot.
Dependency failed for Initrd Root File Systems.
Dependency failed for Reload Configuration from the Real Root.
Dependency failed for File System Check on /dev/mapper/cryptroot.
It also says that I'm in a emergency mode and can continue, but it actually doesn't respond.
Does anyone knows what's up? Do I need to change something in order to be able to boot my Arch's disk in hyper-v ?
My keyboard hook is already before the encrypt one. The order of my hooks is:
base systemd autodetect keyboard sd-vconsole modconf block sd-enccrypt filesystem fsck
I can boot from an Arch live CD, mount my partition and work with it. The UUIDs are fine, but I don't understand why the installed Arch isn't booting.
== About Community ==
Members
Online