Mailinglist Archive: opensuse-bugs (4258 mails)

< Previous Next >
[Bug 1022880] New: system-sleep/grub2.sleep fails to find the correct grub target
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 31 Jan 2017 19:12:07 +0000
  • Message-id: <bug-1022880-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1022880


Bug ID: 1022880
Summary: system-sleep/grub2.sleep fails to find the correct
grub target
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.2
Hardware: x86-64
OS: openSUSE 42.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: carlos.e.r@xxxxxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

Created attachment 712324
--> http://bugzilla.opensuse.org/attachment.cgi?id=712324&action=edit
/boot/grub2/grub.cfg file

I see this in the log while trying to hibernate, and a delay:

<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - INFO: running
/usr/lib/systemd/system-sleep/grub2.sleep for hibernate
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - INFO: Running
prepare-grub ..
<3.6> 2017-01-30 20:23:20 Telcontar systemd 1 - - Stopping Deferred execution
scheduler...
<3.6> 2017-01-30 20:23:20 Telcontar systemd 1 - - Stopped Deferred execution
scheduler.
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - service: no such
service upsd.service
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sda1)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sda1)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sda1)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because it has the noresume option
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sda1)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because it has the noresume option
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sdb2)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sdb2)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sdb2)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sdb2)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sdb7)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sdb7)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sdb7)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sdb7)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub
entry #, because its root= parameter (/dev/sdb7)
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the
current root device (/dev/sdb8).
<3.4> 2017-01-30 20:23:25 Telcontar systemd-sleep 10697 - -
/usr/lib/systemd/system-sleep/grub2.sleep failed with error code 2.
<3.6> 2017-01-30 20:23:25 Telcontar systemd-sleep 10692 - - Suspending
system...
<0.6> 2017-01-31 12:04:55 Telcontar kernel - - - [158874.187341] PM: Syncing
filesystems ... done.


Then, on come back, I see the boot menu of grub waiting for a boot
selection. Fortunately it is the default one and boot proceeds after
some seconds correctly, and hibernation image is found.



It is true that the string "/dev/sdb8" is not found on
/boot/grub2/grub.cfg. It is an UUID:

linux /vmlinuz-4.4.36-8-default
root=UUID=c6a59497-85b9-454c-a5d1-1dcafa6eed3d splash=verbose loglevel=3
console=tty0 vga=0x31a resume=/dev/disk/by-label/Swap_0 splash=verbose showopts


cer@Telcontar:~> l /dev/disk/by-uuid/c6a59497-85b9-454c-a5d1-1dcafa6eed3d
lrwxrwxrwx 1 root root 10 Jan 27 13:47
/dev/disk/by-uuid/c6a59497-85b9-454c-a5d1-1dcafa6eed3d -> ../../sdb8
cer@Telcontar:~>

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
Follow Ups