system rescue Terminal cryptsetup open /dev/sdc5 secret

1 reply [Last post]
le-alex
Offline
Joined: 10/01/2021

I start from USB flash system rescue
When I type this command
cryptsetup open /dev/sdc5 secret
I write my password **********
It's ok! Recognition my password!
But I need open next door to my file in the /dev/sdc5
I need to write my root password!
Where is that keyhole?

AttachmentSize
kmc_20211030_000726.jpg145.73 KB
nadebula.1984
Offline
Joined: 05/01/2018

The /dev/sdc5 is a device file, not a directory. To access its logical volume (if present) or file system, you need to mount it.

If there is any volume group (VG) or logical volume (LV) on it, you'll first need to detect them using lvm2. Search for "logical volume management" for further instructions.