Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

cryptsetup format open mkfs close; cryptmount error bad superblock

$
0
0
Hello, in Debian bullseye, This worked: (Encrypt an entire physical hard drive with luks to mount it later when you need it)

gdisk /dev/sdd
# Create table (gpt/msdos) and partition 1 and write
cryptsetup luksFormat /dev/sdd1
cryptsetup luksOpen /dev/sdd1 datos
mkfs.ext4 -L datos /dev/mapper/datos
cryptsetup luksClose datos
# Configure /etc/cryptmount/cmtab adding datos uuid...
cryptmount datos

But in Debian Bookworm, cryptmount get a error on bad superblock... but if I open with cryptsetup and mount it works
I don't know where error is?
I have encrypted it in bullseye and then I mount it in bookworm with cryptmount

Good night :D

Statistics: Posted by gnuismo — 2024-03-18 21:08 — Replies 0 — Views 27



Viewing all articles
Browse latest Browse all 3423

Trending Articles