Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

cryptsetup format open mkfs close; cryptmount error bad superblock

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
gnuismo
Posts: 9
Joined: 2019-03-05 08:16

cryptsetup format open mkfs close; cryptmount error bad superblock

#1 Post by gnuismo »

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

Post Reply