Add nameserver 1.1.1.1 to /etc/resolv.conf
to fix DNS resolving in Ubuntu Live
I couldn't install deb files with the GUI, it said that it couldn't satisfy the dependencies.
sudo dpkg -i package.debcommand:
systemctl hibernate
I created my swap partition like this: https://links.lburgy.ch/shaare/WSOAMQ
On Kubuntu 24.04, create the file /etc/polkit-1/rules.d/10-enable-hibernate.rules with this content:
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.login1.hibernate" ||
action.id == "org.freedesktop.login1.hibernate-multiple-sessions" ||
action.id == "org.freedesktop.upower.hibernate" ||
action.id == "org.freedesktop.login1.handle-hibernate-key" ||
action.id == "org.freedesktop.login1.hibernate-ignore-inhibit")
{
return polkit.Result.YES;
}
});
https://www.reddit.com/r/Kubuntu/comments/1c2frkd/enabling_hibernation_on_2404/
In fstab, I used this instead:
/dev/nvme0n1p6 swap swap defaults 0 0
I also had to do this (on 24.04):
https://community.frame.work/t/responded-ubuntu-24-04-and-hibernation-fw-13-12th-gen/51626/4
resume=/dev/nvme0n1p6 to the GRUB_CMDLINE_LINUX_DEFAULT line of /etc/default/grubsudo update-grub