All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] cryptsetup: WARNING: Target has an invalid header
@ 2018-11-29  9:43 Carabus
  2018-11-30  9:49 ` Ondrej Kozina
  2018-11-30 11:13 ` Guilhem Moulin
  0 siblings, 2 replies; 4+ messages in thread
From: Carabus @ 2018-11-29  9:43 UTC (permalink / raw)
  To: dm-crypt

Hello.

i`m trying to mount luks volume with detached header on boot (debian 
testing), exactly the same method, as i do on very old system, which is 
work fine before.

i use external usb flash with two partition, one for /boot 
(TYPE="ext3"), and another one for 10 mb partition for  luks header 
(TYPE="crypto_LUKS")

in my crypttab i set

buster /dev/disk/by-id/xxxx none luks,header=/dev/disk/by-uuid/xxxx

where header have exact uuid of second partition of usb flash (crypto_LUKS)

but cryptsetup say, i`m do it wrong

cryptsetup: WARNING: Target buster has an invalid header
     /dev/disk/by-uuid/xxxx

but this header work fine when open with this command:

cryptsetup open /dev/disk/by-id/xxxx --header /dev/disk/by-uuid/xxxx buster

would you please give me examples of crypttab `header=` option which 
will work?

in case of header detached to external usb flash partition, with own 
uuid, type crypto_LUKS,

and in case of header is image file, which have not uuid, on `ext` file 
system on /boot/

?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-30 11:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-29  9:43 [dm-crypt] cryptsetup: WARNING: Target has an invalid header Carabus
2018-11-30  9:49 ` Ondrej Kozina
2018-11-30 11:13 ` Guilhem Moulin
2018-11-30 11:55   ` Carabus Savvey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.