Backing up encryption keys

Encryption keys stored on USB flash drives are necessary to initialize the file system, which stores session data. If the USB flash drive is lost or damaged, it will be impossible to boot the system and access session data.

Microsoft Windows

Warning

After connecting the flash drive to your computer, do not initiate or format it. Ignore the system message about it not being able to read data and proceed with the backup procedure.

  1. Download and install HDD Raw Copy Tool.

    http://hddguru.com/software/HDD-Raw-Copy-Tool/ (portable version is also available)

  2. Start the program.

  3. On the source drive selection window, choose the USB drive with the encription key and click Continue.

../../_images/1.png
  1. Click FILE twice, select the target image file and click Continue.
  2. Click START to proceed with copying data.
../../_images/2.png
  1. Once the following message occurs

    Operation terminated at offset... close the application and disconnect the USB drive.

../../_images/3.png
  1. Connect another USB drive and start HDD Raw Copy Tool.
  2. On the source drive selection screen select FILE and browse the file system to find the encryption keys image file.
  3. Select the newly connected USB flash drive as a target device and click Continue.
../../_images/4.png
  1. Click Continue.

  2. Click START.

  3. The copying will end once the following message occurs:

    Operation terminated at offset....

../../_images/5.png
  1. Close the application and disconnect the USB drive.

Mac OS X

  1. Start the terminal.
  2. Execute the sudo -s command and enter password.
  3. Execute the diskutil list to list connected drives.
  4. Find the drive with the following partitions layout:
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *8.0 GB disk2
1: F649773F-1CD6-11E1-9AD2-00262DF29F0D 3.1 KB disk2s1
2: 2B163C2B-1FE5-11E1-8300-00262DF29F0D 1.0 KB disk2s2
  1. Execute the dd if=/dev/disk2 of=fudo_pen.img bs=1m command, where if points to the USB drive.
  2. Disconnect the flash drive and connect the new one.
  3. Execut the dd if=fudo_pen.img of=/dev/disk2 bs=1m command.
  4. Execute the sync command.
  5. Disconnect the USB flash drive from your computer.

Linux

  1. Start the terminal.
  2. Execute the sudo -s command and enter password.
  3. Execute the dmesg | less command to determine the USB flash drive identifier.
  4. Execute the dd if=/dev/disk2 of=fudo_pen.img bs=1m command, where if points to the USB drive.
  5. Disconnect the flash drive and connect the new one.
  6. Execut the dd if=fudo_pen.img of=/dev/disk2 bs=1m command.
  7. Execute the sync command.
  8. Disconnect the USB flash drive from your computer.

Related topics: