Results 1 to 7 of 7

Thread: GRUB's resume equation refers to a non-existent partition, which adds 90 secs to boot time

  1. Default GRUB's resume equation refers to a non-existent partition, which adds 90 secs to boot time

    Hi,

    My UEFI system has GRUB on Tumbleweed set up as the primary bootloader. For some reason for my Tumbleweed bootloader entry (i.e. the one, that if selected in GRUB, will boot Tumbleweed) on the right-hand side of the resume= equation there's the UUID of a file system that doesn't exist. As a result of this a device service (wherein it attempts to mount the file system mentioned in the resume equation) is started by systemd that times out after 1 & 1/2 minutes (or 90 seconds). If you're wondering if I've re-formatted a file system since the entry was made and that's the reason, well I just re-ran
    Code:
    grub2-mkconfig -o /boot/grub2/grub.cfg
    and the grub.cfg file still refers to this non-existent file system. Here's my grub.cfg: https://gist.github.com/6aa0c3fcc81c...68be9d7d0ab606. Here's the output of ls -ld /dev/disk/by-uuid/*:

    Code:
    lrwxrwxrwx 1 root root 11 Jul 25 18:52 /dev/disk/by-uuid/18dcb84f-49c1-4eeb-90fa-37b86ef97e79 -> ../../sda11 lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/201eacc5-8f08-4a59-8829-3c4792470ad3 -> ../../sda6 lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/2fa289f7-79f3-43be-9793-b7602198e5be -> ../../sdb1 lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/4F57-FE22 -> ../../sda1 lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/668611a1-7d16-4872-afc8-faa393f9283c -> ../../sda2 lrwxrwxrwx 1 root root 11 Jul 25 18:52 /dev/disk/by-uuid/6d48f49e-2c17-423c-a0dd-61204eed91cb -> ../../sda10 lrwxrwxrwx 1 root root 11 Jul 25 18:52 /dev/disk/by-uuid/73b90f7d-6e62-4830-a0be-33e03f6fa3ae -> ../../sda13 lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/763a246e-0dbf-44e5-88d6-17043ff04a13 -> ../../sda8 lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/9394efce-720e-41ee-8fae-39ba00758730 -> ../../sda9 lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/a368b435-545f-4e54-a5ec-e2d4eaca7542 -> ../../sda3 lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/d40c33fe-d462-40df-9cca-e9f10d841013 -> ../../dm-0 lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/d812f12e-615d-4520-b8d7-5ffd484fdd9a -> ../../sda7 lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/e9d16603-27f2-4efa-a53a-00d2944cfec2 -> ../../sda4 lrwxrwxrwx 1 root root 11 Jul 25 18:52 /dev/disk/by-uuid/f5b2ec55-c66c-4847-94d8-2a430bd13ce7 -> ../../sda12
    /dev/sda8 is my Tumbleweed partition and the non-existent partition in the resume line, in case I have to name it is /dev/disk/by-uuid/02d3b8dd-d584-491f-8c09-8b8444419e72.

    Thanks for your time,
    Brenton
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

  2. Default Re: GRUB's resume equation refers to a non-existent partition, which adds 90 secs to boot time

    A more readable form of `ls -ld /dev/disk/by-uuid/*` is:

    Code:
    lrwxrwxrwx 1 root root 11 Jul 25 18:52 /dev/disk/by-uuid/18dcb84f-49c1-4eeb-90fa-37b86ef97e79 -> ../../sda11
    lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/201eacc5-8f08-4a59-8829-3c4792470ad3 -> ../../sda6
    lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/2fa289f7-79f3-43be-9793-b7602198e5be -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/4F57-FE22 -> ../../sda1
    lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/668611a1-7d16-4872-afc8-faa393f9283c -> ../../sda2
    lrwxrwxrwx 1 root root 11 Jul 25 18:52 /dev/disk/by-uuid/6d48f49e-2c17-423c-a0dd-61204eed91cb -> ../../sda10
    lrwxrwxrwx 1 root root 11 Jul 25 18:52 /dev/disk/by-uuid/73b90f7d-6e62-4830-a0be-33e03f6fa3ae -> ../../sda13
    lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/763a246e-0dbf-44e5-88d6-17043ff04a13 -> ../../sda8
    lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/9394efce-720e-41ee-8fae-39ba00758730 -> ../../sda9
    lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/a368b435-545f-4e54-a5ec-e2d4eaca7542 -> ../../sda3
    lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/d40c33fe-d462-40df-9cca-e9f10d841013 -> ../../dm-0
    lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/d812f12e-615d-4520-b8d7-5ffd484fdd9a -> ../../sda7
    lrwxrwxrwx 1 root root 10 Jul 25 18:52 /dev/disk/by-uuid/e9d16603-27f2-4efa-a53a-00d2944cfec2 -> ../../sda4
    lrwxrwxrwx 1 root root 11 Jul 25 18:52 /dev/disk/by-uuid/f5b2ec55-c66c-4847-94d8-2a430bd13ce7 -> ../../sda12
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,644
    Blog Entries
    14

    Default Re: GRUB's resume equation refers to a non-existent partition, which adds 90 secs to boot time

    And,
    Code:
    cat /etc/fstab
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. Default Re: GRUB's resume equation refers to a non-existent partition, which adds 90 secs to boot time

    Code:
    /dev/sda1                                  /                         ext4     acl,user_xattr  0  0
    /dev/sda1                                  /boot/efi                 vfat     defaults        0  0
    /dev/sda2                                  swap                      swap     defaults        0  0
    /dev/sdb1                                  /data                     ext4     defaults        0  1
    /dev/sda3                                  /gentoo                   ext4     defaults        0  1
    /dev/sdb1                                  /gentoo/data              ext4     defaults        0  1
    #/dev/sda4                                  /debian                   ext4     defaults        0  1
    #/dev/sdb1                                  /debian/data              ext4     defaults        0  1
    #/dev/mapper/fedora-root                    /fedora                   ext4     defaults        0  1
    #/dev/sdb1                                  /fedora/data              ext4     defaults        0  1
    #/dev/sda6                                  /mageia                   ext4     defaults        0  1
    #/dev/sdb1                                  /mageia/data              ext4     defaults        0  1
    #/dev/sda7                                  /mint                     ext4     defaults        0  1
    #/dev/sdb1                                  /mint/data                ext4     defaults        0  1
    #/dev/sda9                                  /arch                     ext4     defaults        0  1
    #/dev/sdb1                                  /arch/data                ext4     defaults        0  1
    #/dev/sda10                                 /solus                     ext4     defaults        0  1
    #/dev/sdb1                                  /solus/data                ext4     defaults        0  1
    #/dev/sda12                                 /deepin                   ext4     defaults        0  1
    #/dev/sdb1                                  /deepin/data              ext4     defaults        0  1
    #/dev/sda11                                 /leap                     ext4     defaults        0  1
    #/dev/sdb1                                  /leap/data                ext4     defaults        0  1
    
    efivarfs                                   /sys/firmware/efi/efivars efivarfs defaults        0  0
    I don't use UUIDs in it any more as I do distro hop a fair bit on other partitions so before long some of the UUIDs become incorrect. I have commented many out because with all of them included I find I'm sent to emergency mode as some fail to mount, although I don't know why /data partitions exist on each distro and each partition exists.
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

  5. #5
    Join Date
    Jun 2008
    Location
    Yorkshire
    Posts
    318

    Default Re: GRUB's resume equation refers to a non-existent partition, which adds 90 secs to boot time

    Check /etc/default/grub. Particularly the line "GRUB_CMDLINE_LINUX_DEFAULT=".
    Pete

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,345
    Blog Entries
    3

    Default Re: GRUB's resume equation refers to a non-existent partition, which adds 90 secs to boot time

    Quote Originally Posted by fusion809 View Post
    \For some reason for my Tumbleweed bootloader entry (i.e. the one, that if selected in GRUB, will boot Tumbleweed) on the right-hand side of the resume= equation there's the UUID of a file system that doesn't exist.
    Yes, that happened to me and to several other folk. It's an installer bug (reported as Bug 1071354.

    It is also possible that you caused the problem yourself.

    It comes from "/etc/default/grub". You can fix it there. Or you can fix it with Yast Bootloader where it shows up as the kernel command line. The "resume=" parameter should be for your swap partition. You can find the correct UUID of the swap partition, using the "blkid" command (as root).

    My best guess is that this was caused by your installing of another linux system. Some linux installers insist on reformatting the swap partition (or restructuring with "mkswap"), and that changes the UUID. Maybe recheck that after every new linux install. Or define swap with the "/dev/disk/by-id" way of accessing it, since that won't change when the UUID changes.

    Your swap seems to be "/dev/sda2". So use
    Code:
    ls -l /dev/disk/by-id/* | grep sda2
    and the output should give you the "by-id" device to use in "resume=". If it gives more than one choice, just pick one (probably the first if you don't have a reason for a different choice).
    openSUSE Leap 15.1; KDE Plasma 5;

  7. Default Re: GRUB's resume equation refers to a non-existent partition, which adds 90 secs to boot time

    Rofl, I feel so silly. Yes I apparently did add that to GRUB_CMDLINE_LINUX_DEFAULT. Can't even remember why I did that, but I think it was part of what I found on the net to quiet the boot process (as I also have "splash=silent quiet" in it).
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •