How can I install Kubuntu 26.04 with hibernation enabled?

I would like to have hibernation available on my Dell XPS 15 9560 laptop. It currently does not run Kubuntu. But I am running Kubuntu 26.04 in a virtual machine. I would like to know how to install Kubuntu 26.04 when it is released with hibernation.

This is a distro specific thing, not related to KDE so you probably will get better info from Ubuntu/Kubuntu.

But swapping to my Kubuntu thinking cap, enabling hibernation should be the same as it has always been.

There are many tutorials on this.

Basically you need to make sure you have enough swap space (you won’t ootb), test that hibernation actually works with linux on your system, then enable it in grub.

You may need to disable secure boot as well.

i have to turn off secure boot before hibernation is available to my install of 24.04 … i imagine 26.04 will be the same.

there are also some other tweaks you are going to have to make (after installation) for hibernation to work properly

you are going to need a proper amount of swap space on disk… rule of thumb is RAM + sqrt(RAM), so for my 64GB system, i have 72GB for swap in a partition.

then you will need to pass that partition info to the kernel by adding the resume= key value pair to your kernel parameters.

then if you have nvida, you are likely going to have to add some more kernel module parameters for storing the VRAM, the arch wiki does good job of covering this, but for kubuntu i just used this

Wow! Seems complicated to enable hibernation. I’ll leave it up to the distro maintainers to enable it someday and to hopefully make it work with secure boot. It’s too advanced for me to enable hibernation, that’s outa my league.

1 Like

Not likely. Ubuntu, and thus it’s flavours like kubuntu have had hibernation disabled for a very long time. They do have discussions about it every now and then, for sure.

The steps seem hard but it really isn’t difficult to do, physically. It does look daunting, though, I’ll give you that.

it’s a lot, esp if you have a nvidia card as most ppl do.

by default with secure boot enabled you should be able to sleep and wake using the built in GUI for such power management.

sleep will leave the ram powered on, which consumes a bit of energy when you are not using the machine, and you are vulnerable to loosing any unsaved work if the power goes out.

you can instead invest in a UPS with enough capacity to operate the PC for a time without power (say 1500W), and that will give you time to save your work and shut things down properly.