You are not logged in.

#1 2024-06-15 21:24:36

iestynapmwg
Member
Registered: 2021-09-27
Posts: 28

Problem resuming from hibernate with external HD

Let me begin by describing my setup... I have a laptop that i occasionally boot off an external HD attached via USB. As the USB connection is slower than an internal drive would be, i'd like to speed up my boot time by simply hibernating the system and later resuming. The swap partition that my system hibernates to is also on the external HD. There is also an EFI partition on the drive so that when i want to boot off the external drive, i hold down the laptop's F2 key when powering it up, choose that EFI partition, hit "save" and "ok".

This has worked fine until recently, but lately the resume from hibernate is failing. I think this happened after upgrading from a 6.7 kernel to a 6.8 (and now 6.9). If I hit esc at my Plymouth loading screen, i now see a message:

Reported hibernation image: ID=manjaro kernel=6.9.3-3-MANJARO UUID=long-hex-string offset=0
Failed to stat resume device '/dev/disk/by-uuid/long-hex-string': No such file or directory
/: recovering journal

And now the boot process takes even longer than usual because it has to fsck the disk first.

The long-hex-string is the correct UUID of my swap partition on the external HD. I've tried this with and without the

resume=UUID=long-hex-string

kernel parameter (the wiki's Hibernation documentation suggests it's not necessary for an EFI system because the UUID is stored in a variable [Sidenote: where is this variable stored?]).

The laptop's boot-up process is seeing the HD (i can select it's EFI partition to boot off). The boot sequence is obviously finding my root parition and initramfs, because the rest of the boot process works fine. But for some reason it can't find my swap partition to resume the hibernated state. And i did not have this problem until just recently.

Do i need to include something in my initramfs to make the swap partition visible? Or does the problem occur before that in the boot process? I can't find the error message i quoted above in dmesg or journalctl output, i had to actually take a picture of it and copy it.

Offline

#2 2024-06-21 23:07:49

kursatufuk
Member
Registered: 2015-05-03
Posts: 1

Re: Problem resuming from hibernate with external HD

Hello! I have the same problem. Any solutions?

Offline

#3 2024-06-22 06:10:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,277

Re: Problem resuming from hibernate with external HD

Reported hibernation image: ID=manjaro kernel=6.9.3-3-MANJARO UUID=long-hex-string offset=0

https://bbs.archlinux.org/misc.php?action=rules

@kursatufuk sure you've the *same* issue w/ an external USB drive and since 6.7 or 6.8 (but not eg. with the LTS kernel) and not just trouble since updating to systemd 256 and have an nvidia GPU?

Offline

Board footer

Powered by FluxBB