AES-256 LUKS Encryption
by flyingsaucely3_ from LinuxQuestions.org on (#6N3FQ)
Linux+ student here. AES-256 is the current standard for encryption, by industry. I placed a key on a usb-fat32 drive, but was interrupted during the process. The drive was assigned a mapped name--and that's where I left off. How do I locate the mapped name?
"Cannot use device /dev/sdb1 which is in use (already mapped or mounted)"
Below is my output for sudo fdisk -l:
Disk /dev/sdb: 57.77 GiB, 62025367552 bytes, 121143296 sectors
Disk model: USB 3.2.1 FD
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xaac9d6dd
Device Boot Start End Sectors Size Id Type
/dev/sdb1 8064 121143295 121135232 57.8G c W95 FAT32 (LBA)
Disk /dev/mapper/luks-00e6a16a-3324-44fd-8cdd-589a5b4e895e: 57.75 GiB, 62004461568 bytes, 121102464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
$ cryptsetup luksOpen /dev/sdb1
Command requires device and mapped name as argument
-----------------------------------------------------------------------------
My system--Kali, does not auto-detect the drive as an icon. So I'm going about this text-based command.
https://www.cyberciti.biz/security/h...setup-command/
"Cannot use device /dev/sdb1 which is in use (already mapped or mounted)"
Below is my output for sudo fdisk -l:
Disk /dev/sdb: 57.77 GiB, 62025367552 bytes, 121143296 sectors
Disk model: USB 3.2.1 FD
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xaac9d6dd
Device Boot Start End Sectors Size Id Type
/dev/sdb1 8064 121143295 121135232 57.8G c W95 FAT32 (LBA)
Disk /dev/mapper/luks-00e6a16a-3324-44fd-8cdd-589a5b4e895e: 57.75 GiB, 62004461568 bytes, 121102464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
$ cryptsetup luksOpen /dev/sdb1
Command requires device and mapped name as argument
-----------------------------------------------------------------------------
My system--Kali, does not auto-detect the drive as an icon. So I'm going about this text-based command.
https://www.cyberciti.biz/security/h...setup-command/