You are not logged in.
Hi all,
I'm seeing this error during boot:
Error: resume: no device specified for hibernation.
So hibernation does not work (suspend does).
This is what I have done:
sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX="quiet resume=UUID=..."
sudo nano /etc/mkinitcpio.conf
HOOKS=(base udev autodetect keyboard modconf block filesystems resume fsck)
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo mkinitcpio -p linux
sudo mkinitcpio -p linux-ltsAs far as I have seen it should work by doing the previous steps. I don't know what I'm doing wrong. Any ideas?
(The boot folder is on a btrfs subvolume, if that matters...)
Last edited by karcher (2018-05-25 22:05:47)
Offline
Does the output of `cat /proc/cmdline` contain the resume option?
Offline
Does the output of `cat /proc/cmdline` contain the resume option?
Indeed, it doesn't:
cat /proc/cmdline
BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=... rw rootflags=subvol=@ quietHow can I fix this?
Offline
I take it you have actually replaced the ... with the correct UUID?
Offline
I take it you have actually replaced the ... with the correct UUID?
Of course...I'm not so clueless.
Offline
Offline
Is boot on a separate filesystem? If so was it mounted when you ran `grub-mkconfig -o /boot/grub/grub.cfg`?
If you edit the boot entry from grub itself is the resume option present?
Offline
Well what was the point of obfuscating it then?
Because it adds no value to the question and it's weird habit of mine.
Is boot on a separate filesystem? If so was it mounted when you ran `grub-mkconfig -o /boot/grub/grub.cfg`?
If you edit the boot entry from grub itself is the resume option present?
Sorry, I didn't check before I write this about boot on subvolume. I thought that was the case because that was my original plan. Just checked with:
sudo btrfs subvolume list -p /and boot is not among the subvolumes.
Hibernation seems to be working now and I don't see the previous mentioned error anymore. The problem was that the entry I was choosing in the GRUB boot menu didn't contain the resume option. I've checked this with Grub Customizer. There are 5 entries:
1. Arch Linux, with Linux linux-lts
2. Arch Linux, with Linux linux-lts (fallback initramfs)
3. Arch Linux, with Linux linux
4. Arch Linux, with Linux linux (fallback initramfs)
plus one entry I created myself by copying the content of Arch Linux, with Linux linux after I installed Arch instead of moving the entry up. My mistake! All 4 entries contain the resume option except the last one...
Sorry guys. Thanks!
Offline