Answer the question
In order to leave comments, you need to log in
How to get all information from under lvm+luks on kubuntu?
The following situation was a PC with two 320GB hard drives that worked in software RAID-1.
One of the hard drives had to be quickly formatted and sold, so I didn’t even have time to back up the information anywhere.
Now I can't boot from one screw, it takes a very long time to load and then BusyBox starts up.
I installed another 250GB HDD in parallel on my PC and installed kubuntu on it.
Now I needed information from an encrypted hard drive, but I don’t know how to get it there, since it was my first experience with LVM + LUKS + RAID1.
Who can tell me what to get one-there information without loss, since the information is very valuable to me.
Answer the question
In order to leave comments, you need to log in
And what was the access to LUKS? By password or key file?
In any case, in order to open an encrypted container, you need to know them, otherwise nothing.
The simplest scenario of how to get information is as follows:
Boot from another system, try to find a physical device, try to rescan lvm (pvscan, etc.), find a supposedly encrypted partition and try to open it via cryptsetup, and then mount it and try to copy the info.
First, you can try to mount the disk.
mdadm --assemble /dev/mdN /dev/sdXY
mount /dev/mdN /mnt/mdN
vgscan
vgchange -ay
pvdisplay
vgdisplay
lvdisplay
cryptsetup luksOpen <device> luks
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question