Hello All,
I’m trying to get hibernate to work with a fully encrypted disk.
All setup was done within Yast installation; VERSION_ID=“20210817”.
> lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 445.8G 0 part
│ └─cr_root 254:1 0 445.8G 0 crypt /var
└─sda3 8:3 0 19.4G 0 part
└─cr_swap 254:0 0 19.4G 0 crypt [SWAP]
Here’s the hardware:
> lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
02:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
I told Yast to increase the swap size to about 20 GB to match the RAM.
Then I performed the step mentioned here: https://forums.opensuse.org/showthread.php/555820-Hibernation-Sleep-Configuration
I wasn’t sure about the last step: What’s the correct setting for the boot command line for resume=??? in combination with a fully encrypted drive (i.e. LUKS and btrfs)?
Current status: Hibernating seem to work (how can I tell?), but resuming hangs. I’m being asked about the disk password and then the boot spinner turns forever.
Is this such an uncommon setup or are there better solutions, because I couldn’t find any recent discussions on this topic.
Thanks a lot for any hints!
PS: There are some old threads from 2008 which are most probably outdated: https://forums.opensuse.org/showthread.php/395039-Full-Disk-Encryption-with-Support-for-Hibernation