TROMjaro Forum

Fix: Device does not exist or access denied

Not only that but also this ugly thing too: ERROR: resume: hibernation device '/dev/mapper/luks-XXXXXXXX-XXXX-XXXX-XXXX-XXXX

This seems to happen when BTRFS is used in combo with encryption and a swap with hibernate.

Make sure that the file /etc/openswap.conf contains this (open as root to edit - right click it):

## cryptsetup open $swap_device $crypt_swap_name
# cryptsetup open $swap_device $crypt_swap_name
## get uuid using e.g. lsblk -f

## one can optionally provide a keyfile device and path on this device
## to the keyfile

## additional arguments are given to mount for keyfile_device
## has to start with --options (if so desired)

## additional arguments are given to cryptsetup
## --allow-discards options is desired in case swap is on SSD partition
cryptsetup_options="--type luks"

The keyfile_device is the root device. And of course the swap is the swap partition. So you need 2 ID’s to replace in that code, with your own (root and swap ID’s).

To get those IDs open the terminal and do sudo blkid.

If you need any help, let us know.