Put crypttab back to original: ~$ cat /etc/crypttab cryptswap1 /dev/sda7 /dev/urandom swap,cipher=aes-cbc-essiv:sha256 # cryptswap1 UUID= /dev/urandom swap,cipher=aes-cbc-essiv:sha256
Booted without the external USB drive connected. I now have cryptswap: $ free total used free shared buffers cached Mem: 3012820 1104584 1908236 0 102960 597320 -/+ buffers/cache: 404304 2608516 Swap: 5829984 0 5829984 $ sudo blkid /dev/sda1: LABEL="SYSTEM" UUID="C2E04BE0xyz" TYPE="ntfs" /dev/sda2: LABEL="Win7" UUID="32B682AExyz" TYPE="ntfs" /dev/sda4: LABEL="RECOVERY" UUID="120C19Fxyz" TYPE="ntfs" /dev/sda5: LABEL=".." UUID="8ed19201-fabf-4364-a507-xyz" TYPE="ext4" /dev/sda6: LABEL="." UUID="6C94DF5A9xyz" TYPE="ntfs" /dev/mapper/cryptswap1: UUID="aa98592b-39c3-42f3-82f0-858f1616ec97" TYPE="swap"
Notice that the drives are now /dev/sda# instead of /dev/sdb#. If I now plugin the USB drive & mount, the partitions are mounted as /dev/sdb#.
$ sudo dmsetup status cryptswap1: 0 11659977 crypt
Put crypttab back to original: aes-cbc- essiv:sha256 aes-cbc- essiv:sha256
~$ cat /etc/crypttab
cryptswap1 /dev/sda7 /dev/urandom swap,cipher=
# cryptswap1 UUID= /dev/urandom swap,cipher=
Booted without the external USB drive connected. I now have cryptswap: fabf-4364- a507-xyz" TYPE="ext4" cryptswap1: UUID="aa98592b- 39c3-42f3- 82f0-858f1616ec 97" TYPE="swap"
$ free
total used free shared buffers cached
Mem: 3012820 1104584 1908236 0 102960 597320
-/+ buffers/cache: 404304 2608516
Swap: 5829984 0 5829984
$ sudo blkid
/dev/sda1: LABEL="SYSTEM" UUID="C2E04BE0xyz" TYPE="ntfs"
/dev/sda2: LABEL="Win7" UUID="32B682AExyz" TYPE="ntfs"
/dev/sda4: LABEL="RECOVERY" UUID="120C19Fxyz" TYPE="ntfs"
/dev/sda5: LABEL=".." UUID="8ed19201-
/dev/sda6: LABEL="." UUID="6C94DF5A9xyz" TYPE="ntfs"
/dev/mapper/
Notice that the drives are now /dev/sda# instead of /dev/sdb#. If I now plugin the USB drive & mount, the partitions are mounted as /dev/sdb#.
$ sudo dmsetup status
cryptswap1: 0 11659977 crypt