Root account locked - can not mount decrypted disk

Encountered this issue: Root Account Locked :: Fedora Docs
As suggested I am following this steps, under Restoring the bootloader using the Live disk: Root Account Locked :: Fedora Docs

After successfully (I believe) decrypted the root disk, I fail to mount it.

root@localhost-live:/home/liveuser# lsblk -p
NAME                           MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
/dev/loop0                       7:0    0   1.6G  1 loop  /run/rootfsbase
/dev/sda                         8:0    1  57.6G  0 disk  
β”œβ”€/dev/sda1                      8:1    1   1.8G  0 part  /run/initramfs/live
β”œβ”€/dev/sda2                      8:2    1  12.6M  0 part  
└─/dev/sda3                      8:3    1   300K  0 part  
/dev/zram0                     252:0    0     8G  0 disk  [SWAP]
/dev/nvme0n1                   259:0    0 953.9G  0 disk  
β”œβ”€/dev/nvme0n1p1               259:1    0   600M  0 part  
β”œβ”€/dev/nvme0n1p2               259:2    0     1G  0 part  
└─/dev/nvme0n1p3               259:3    0 952.3G  0 part  
  └─/dev/mapper/crypto\x5cx202 253:0    0 952.3G  0 crypt 
root@localhost-live:/home/liveuser# mount "/dev/mapper/crypto\x5cx202" /mnt -o subval=root
mount: /mnt: special device /dev/mapper/crypto\x5cx202 does not exist.
       dmesg(1) may have more information after failed mount system call.

Have tried several different ways of writing the path to the disk, since I am not 100% the above is the correct way, but with the same result.

See nothing in dmesg that will help me. But I also am not sure what I am looking for.

Did you try using ls to see what exists under /dev/mapper?

Also, I think it’s subvol, not subval.

1 Like