You are not logged in.
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 set 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-uuid/{{UUID}}
A start job is running for /dev/mapper/cryptrootUntil 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.
I booted the same virtual machine instance with the Arch live CD: that one boots and the partitions' UUID seem to match the ones I see from Linux running native.
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?
I can try different virtualization software if Hyper-V has problems, but I was told it's the only (free) one that works well on Windows hosts.
Last edited by IRunArchLinuxBTW (2022-04-04 15:10:39)
Offline
Boot the fallback initramfs. It sounds like the normal initramfs doesn't have the drivers needed to access your disk, which is pretty normal when using the autodetect hook.
Offline
Boot the fallback initramfs. It sounds like the normal initramfs doesn't have the drivers needed to access your disk, which is pretty normal when using the autodetect hook.
Yes, that did it! Thanks.
I'm feeling so stupid for not thinking about it.
Offline