Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum Linuxiarze.pl

Author Topic: [SOLVED] Suspend is not working  (Read 1627 times)

Offline lami07

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 305
  • Karma: 6
    • Sparky Community Repos
Re: Suspend is not working
« Reply #30 on: March 20, 2021, 08:57:07 pm »
@rektal. Boot into Tumbleweed. Update bootlader from command line or yast and reboot. This time sparky kernel will be there.
Quote from: forum rules
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at irc.freenode.net

Offline rektal

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
Re: Suspend is not working <SOLVED>
« Reply #31 on: March 20, 2021, 11:12:12 pm »
Success!

I have updated grub in Tumbleweed.
Then  reboot to Sparky. Now it is kernel 5.11.8. Thank you @lami07

After this and a new Sparky kernel 5.11.8, suspend is working again. Thank you @MoroS.
There is one problem. When I boot to Sparky there is no plymouth boot theme and I see console.
« Last Edit: March 21, 2021, 06:56:01 am by rektal »

Offline rektal

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
Re: [SOLVED] Suspend is not working
« Reply #32 on: March 21, 2021, 08:37:15 am »
When I press F2 while booting I see grey screen with 3 white dots

Before that I had.Sparky Blue plymouth theme.
How to fix it?

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: 0
  • Problem solver ;)
Re: [SOLVED] Suspend is not working
« Reply #33 on: March 21, 2021, 09:27:29 am »
So, it was a stock Debian kernel issue then. I wasn't rooting for that one, actually. ;)

I also kind of missed the fact, that you have multiple distros on a single machine and thought that you're booting M$ or Tumbleweed from live media (yeah, didn't occur to me, that practically no one suspends the machine while on a live distro ;) )., hence my confusion. Luckily @lami07 swooped in and saved the day (thanks!! :) ), as I was getting really confused. ;D

As for the GRUB theme, then this one will be a bit tricky to do. It was probably set up with Sparky's configuration (installer updated the GRUB config). Now, that you did an update from Tumbleweed, it might have used it's own configuration and theming in that place. It's only a hypothesis, as I never actually tried installing two different distros aside one another. What you would probably need to do is to update the GRUB config from Sparky's side again with the same tool that was used in Tumbleweed (I'm assuming it's GRUB2, which, as you mentioned, you don't have installed on Sparky - the initial configuration was made from the installer, which had that).
There's no such thing as "impossible". :)

Offline lami07

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 305
  • Karma: 6
    • Sparky Community Repos
Re: [SOLVED] Suspend is not working
« Reply #34 on: March 21, 2021, 11:19:45 am »
I strongly advice not to mess with grub configuration.
You are in a delicate situation where if you make small mistake and replace tumbleweed bootloader with sparkys you wont be able to boot tumbleweed any more. Why? Because opensuse strongly pushes btrfs file system. Their btrfs utils and grub config contains additional patches not found in debian/sparky. Debian grub can't property boot opensuse tumbleweed.
« Last Edit: March 21, 2021, 11:57:16 am by lami07 »
Quote from: forum rules
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at irc.freenode.net

Offline rektal

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
Re: [SOLVED] Suspend is not working
« Reply #35 on: March 21, 2021, 01:42:35 pm »
OK. I will not to mess with grub.
I will take advice from @lami07.

I will use Sparky as my default distro. Then I will replace Tumbleweed permanently.

Thank you @lami07 and @MoroS for help.
I really appreciate it.
« Last Edit: March 21, 2021, 02:00:46 pm by rektal »

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: 0
  • Problem solver ;)
Re: [SOLVED] Suspend is not working
« Reply #36 on: March 21, 2021, 02:47:51 pm »
I strongly advice not to mess with grub configuration.
You are in a delicate situation where if you make small mistake and replace tumbleweed bootloader with sparkys you wont be able to boot tumbleweed any more.

Then how did @rektal get a Sparky-themed GRUB menu in the first place (he lost it after running configuration updates from Tumbleweed)? It seems that at the very least the configuration from Sparky was applied (installer perhaps?) and he could still boot into Tumbleweed.

@rektal: Did the GRUB theme change (to Sparky's) when you installed Sparky?
There's no such thing as "impossible". :)

Offline rektal

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
Re: [SOLVED] Suspend is not working
« Reply #37 on: March 21, 2021, 03:47:50 pm »
It is a little complicated. I try to explain it.
I have got 3 disks.
sda - this is my first disk where I have got Tumbleweed and Windows10.
sdb - the second one is my disk to backup Windows files. It is parted to ntfs partiton and ext4 partition. This ext4 partition I am using to test linux distros f.e. Sparky. My previous distro was MX Linux 19.3.
sdc - it is external drive for backup.

My default disk to boot is sda disk. Grub2 shows me Tumbleweed, Sparky and Windows 10.
When I want to try another distro I disconnect my sda and sdc hard drives. Then I install distro on sdb drive.
Then I reconnect my sda and sdc drives and set sda drive as my first boot drive (Tumbleweed). In Tumbleweed I update grub2.
I can choose from boot menu Sparky linux. First time, before changing kernel from 5.10.04 to 5.11.8, my plymouth theme Sparky-Blue was working fine. After kernel upgrade it didn't work.
« Last Edit: March 21, 2021, 03:50:56 pm by rektal »

Offline rektal

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
Re: [SOLVED] Suspend is not working
« Reply #38 on: March 21, 2021, 05:13:17 pm »
Why grub2 is not a default grub in Sparky?

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: 0
  • Problem solver ;)
Re: [SOLVED] Suspend is not working
« Reply #39 on: March 21, 2021, 05:28:23 pm »
Why grub2 is not a default grub in Sparky?

It is. That should be the case for you also. You can try running, let's say this:
Code: [Select]
sudo grub-mkconfig --version
GRUB1 is out of usage for quite a few years now and I don't know if there's any distro out there that still uses it. Maybe some packages are not available on Sparky out-of-the-box, when you choose not to install GRUB during installation, but I didn't look at the installer's code or configuration too much (only when bugfixing it a while back) to confirm or deny it.
There's no such thing as "impossible". :)

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2218
  • Karma: 4
    • SparkyLinux
Re: [SOLVED] Suspend is not working
« Reply #40 on: March 21, 2021, 05:37:21 pm »
There is no GRUB1 in Sparky for years, all edytions use GRUB2.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

Offline rektal

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
Re: [SOLVED] Suspend is not working
« Reply #41 on: March 21, 2021, 09:20:55 pm »
I use on Tumbleweed btrfs file system. Is it possible to use it on Sparky?
Is it safe to use it on Debian system or should I stay on ext4 file system?

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: 0
  • Problem solver ;)
Re: [SOLVED] Suspend is not working
« Reply #42 on: March 22, 2021, 04:13:02 pm »
It's probably possible to use it in any modern Linux distro. Sparky doesn't have any customizations related to this, so you can follow the general Debian guidelines: https://wiki.debian.org/Btrfs
There's no such thing as "impossible". :)

Offline rektal

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
Re: [SOLVED] Suspend is not working
« Reply #43 on: March 23, 2021, 07:35:08 am »
Thank you. I will end this thread.

Thank you @pavroo and @MoroS.