You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, this is with Calamares 3.2.61 on Debian 12 (SpiralLinux configuration). libkpmcore12 is at version 22.12.3-1. I'm testing on real hardware (Thinkpad T530 with 128GB SSD), and I have tested in UEFI and legacy BIOS modes. I am installing with the "Erase Disk" partitioning option and "Swap (with hibernate)", on Btrfs root and also testing with XFS. This is from my settings.conf :
The first problem is that the initrd.img* don't get generated with resume parameters when LUKS is involved. Once booted into the installed system I can manually run update-initramfs -u -k all and it starts hibernating and resuming correctly. I can't figure out how to make it include the resume stuff when it's running inside the chroot environment. The only thing I can think of is to add a single-run service on the first boot of the live system that runs update-initramfs -u -k all, but I don't like that slowing down the boot process of the first boot.
Here's a log from that kind of installation: calamares_XFS.log.txt
There is an additional complication: When the root FS is Btrfs (@ subvolume, and the other subvolumes are: @snapshots, @home, @root, @var@log, @var@lib@AccountsService, @var@lib@blueman, @tmp ) the keyfile_device_mount_options in /etc/openswap.conf is not generated, that line just remains commented. So although the swap partition does work, it doesn't work for resuming from hibernation. When I manually change it to keyfile_device_mount_options="--options=subvol=@" and do a update-initramfs it starts hibernating and resuming correctly.
This is the related bug that I found: #1659
And the commit that should provide this functionality: 6444b42
Here's the log from my installation: calamares.log.txt
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered:
Hi there, this is with Calamares 3.2.61 on Debian 12 (SpiralLinux configuration).
libkpmcore12
is at version 22.12.3-1. I'm testing on real hardware (Thinkpad T530 with 128GB SSD), and I have tested in UEFI and legacy BIOS modes. I am installing with the "Erase Disk" partitioning option and "Swap (with hibernate)", on Btrfs root and also testing with XFS. This is from mysettings.conf
:The first problem is that the
initrd.img*
don't get generated with resume parameters when LUKS is involved. Once booted into the installed system I can manually runupdate-initramfs -u -k all
and it starts hibernating and resuming correctly. I can't figure out how to make it include the resume stuff when it's running inside the chroot environment. The only thing I can think of is to add a single-run service on the first boot of the live system that runsupdate-initramfs -u -k all
, but I don't like that slowing down the boot process of the first boot.Here's a log from that kind of installation: calamares_XFS.log.txt
There is an additional complication: When the root FS is Btrfs (
@
subvolume, and the other subvolumes are:@snapshots
,@home
,@root
,@var@log
,@var@lib@AccountsService
,@var@lib@blueman
,@tmp
) thekeyfile_device_mount_options
in/etc/openswap.conf
is not generated, that line just remains commented. So although the swap partition does work, it doesn't work for resuming from hibernation. When I manually change it tokeyfile_device_mount_options="--options=subvol=@"
and do aupdate-initramfs
it starts hibernating and resuming correctly.This is the related bug that I found: #1659
And the commit that should provide this functionality: 6444b42
Here's the log from my installation: calamares.log.txt
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: