Page 3 of 4
Re: Sysvinit works, Systemd doesn't
Posted: Fri Nov 26, 2021 9:54 am
by dolphin_oracle
you know me too well

Re: Sysvinit works, Systemd doesn't
Posted: Fri Nov 26, 2021 10:01 am
by Huckleberry Finn
Re: Sysvinit works, Systemd doesn't
Posted: Sat Nov 27, 2021 11:42 am
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.
Re: Sysvinit works, Systemd doesn't [Solved]
Posted: Sat Nov 27, 2021 3:23 pm
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?
Re: Sysvinit works, Systemd doesn't
Posted: Sat Nov 27, 2021 10:58 pm
by asqwerth
Nah, it would just have a 90s countdown, then still boot up if swap uuid has changed.
Re: Sysvinit works, Systemd doesn't
Posted: Sun Nov 28, 2021 12:46 pm
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?
Re: Sysvinit works, Systemd doesn't
Posted: Sun Nov 28, 2021 9:20 pm
by Richard
use blkid & lsblk to check the actual UUID.
Re: Sysvinit works, Systemd doesn't
Posted: Tue Nov 30, 2021 11:50 pm
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.
Re: Sysvinit works, Systemd doesn't
Posted: Tue Nov 30, 2021 11:56 pm
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.
Re: Sysvinit works, Systemd doesn't
Posted: Wed Dec 01, 2021 5:50 am
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.