"Evgeny M. Zubok" <evgeny.zu...@tochka.ru> writes:

> Заголовок, по-моему, располагается в первых 1024 байтах
> раздела. Эквивалентная операция сохранения хидера -- это dd этой
> области.

Жестоко наврал про область. Бекап делается при помощи dd, но надо
сначала в luksDump узнать Payload Offset.

If you really think you know what you are doing, do it:

cryptsetup luksDump <your luks dev>

search for a line
Payload offset: <payloadnumber>

Now to backup your metadata — that is everything before the payload —
run

dd if=<your luks dev> of=<destination, see below> count=<payloadnumber>

To restore the metadata, reverse "of=" and "if=" in the command above.


-- 
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87bp9uymu8....@tochka.ru

Ответить