"Evgeny M. Zubok" <[email protected]> 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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Ответить