partitioning - cryptsetup luksFormat error: access denied or device doesnt exist - Ask Ubuntu


i trying initialize luks encryption on usb stick partition. i'm on ubuntu. partition size 43.7gb

i have double checked fdisk -l partition i'm trying access exists: /dev/sdb3; tried use flag -y instead; , sudo.

it gives me error when run cryptsetup --verify-passphrase luksformat /dev/sdb3:

device /dev/sdb3 doesn't exist or access denied.` 

i can't figure out i'm missing here

df -h output:

disk /dev/sdb: 58.3 gib, 62579015680 bytes, 122224640 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 disklabel type: dos disk identifier: 0x77e6cfe3 

fdisk -l /dev/sdb output:

disk /dev/sdb: 58.3 gib, 62579015680 bytes, 122224640 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 disklabel type: dos disk identifier: 0x77e6cfe3 


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User