Sysvinit works, Systemd doesn't  [Solved]

Message
Author
User avatar
dolphin_oracle
Developer
Posts: 22052
Joined: Sun Dec 16, 2007 12:17 pm

Re: Sysvinit works, Systemd doesn't

#21 Post by dolphin_oracle »

Huckleberry Finn wrote: Fri Nov 26, 2021 9:45 am I know, you meant "sudo touch" :)
you know me too well :p
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Huckleberry Finn

Re: Sysvinit works, Systemd doesn't

#22 Post by Huckleberry Finn »

:biggrin:

User avatar
zoli62
Posts: 46
Joined: Tue Dec 18, 2018 6:55 am

Re: Sysvinit works, Systemd doesn't

#23 Post by zoli62 »

dolphin_oracle wrote: Fri Nov 26, 2021 9:34 am I wonder if the systemd-fstab-generator or maybe the systemd-gpt-generator is failing. I tend to think its the second, since a swap file is also referenced.

maybe make an empty file

Code: Select all

sudo touch /etc/systemd/system-generators/systemd-gpt-auto-generator
and reboot. can't hurt to try.
Thanks, next time I'm at the machine, I'll try this too.

User avatar
Richard
Posts: 1590
Joined: Fri Dec 12, 2008 9:31 am

Re: Sysvinit works, Systemd doesn't  [Solved]

#24 Post by Richard »

Many years ago, systemd would go to emegency shell
if the swap was formatted during installation of another distro.
UUID of swap changed.
Maybe it still does?
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
__kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
__Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
HP Ryzen 5 17-cp3xxx with MX23.4 AHS & Liquorix 6.10-12~mx23ahs amd64

User avatar
asqwerth
Developer
Posts: 7771
Joined: Sun May 27, 2007 5:37 am

Re: Sysvinit works, Systemd doesn't

#25 Post by asqwerth »

Nah, it would just have a 90s countdown, then still boot up if swap uuid has changed.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
zoli62
Posts: 46
Joined: Tue Dec 18, 2018 6:55 am

Re: Sysvinit works, Systemd doesn't

#26 Post by zoli62 »

Richard wrote: Sat Nov 27, 2021 3:23 pm Many years ago, systemd would go to emegency shell
if the swap was formatted during installation of another distro.
UUID of swap changed.
Maybe it still does?
You maybe right. I remember seeing a similar error message in the terminal at startup and it was in the log. For me, this is exactly the situation above that the installation of another distribution has formatted the. swap partition. What to do in such cases? Maybe temporarily turn off the swap partition?

User avatar
Richard
Posts: 1590
Joined: Fri Dec 12, 2008 9:31 am

Re: Sysvinit works, Systemd doesn't

#27 Post by Richard »

use blkid & lsblk to check the actual UUID.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
__kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
__Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
HP Ryzen 5 17-cp3xxx with MX23.4 AHS & Liquorix 6.10-12~mx23ahs amd64

profhawk
Posts: 7
Joined: Fri Nov 19, 2021 6:57 am

Re: Sysvinit works, Systemd doesn't

#28 Post by profhawk »

I'm surprised sysv is even running at all. From what I read in the logs your efi partition is improperly configured causing time out issues.

profhawk
Posts: 7
Joined: Fri Nov 19, 2021 6:57 am

Re: Sysvinit works, Systemd doesn't

#29 Post by profhawk »

@zoli62 That's why I always recommend swap to file instead of a swap partition. It's not as catastrophic then a swap partition. It works much better with things like snapshots or cloning software like clonezilla.

User avatar
zoli62
Posts: 46
Joined: Tue Dec 18, 2018 6:55 am

Re: Sysvinit works, Systemd doesn't

#30 Post by zoli62 »

profhawk wrote: Tue Nov 30, 2021 11:50 pm I'm surprised sysv is even running at all. From what I read in the logs your efi partition is improperly configured causing time out issues.
I created the EFI partition during the installation of another distribution.

Post Reply

Return to “General”