You are not logged in.

#1 2012-09-26 23:37:20

slavik262
Member
From: WA, USA
Registered: 2012-07-12
Posts: 46
Website

systemd fails on boot

After running systemd with absolutely no issues for a good month or two, my arch setup fails to boot with a cascade of errors, the first of which is

[Failed] Failed to start Setup Virtual Console

Consequently, I can't even get a terminal to attempt diagnostics. Using a live CD to create /var/log/journal/ for persistent logs (as instructed by the wiki) seems useless as nothing is saved to that directory.

Are there any diagnostic or repair steps I can take, or is my best bet to back up my files off of that partition and reinstall Arch?

Last edited by slavik262 (2012-09-26 23:38:03)

Offline

#2 2012-09-27 01:57:36

denisfalqueto
Member
From: ES, Brazil
Registered: 2006-03-24
Posts: 197

Re: systemd fails on boot

I used boot parameter called systemd.confirm_spawn=true. It helped me to at least be able to locate a problematic service and fix the issue. Or you can use systemd.unit=multi-user.target, so it stops before the graphical system is started. One of the two will help you.


Satisfied users don't rant, so you'll never know how many of us there are.

Offline

#3 2012-09-27 02:06:53

slavik262
Member
From: WA, USA
Registered: 2012-07-12
Posts: 46
Website

Re: systemd fails on boot

How can I edit these boot parameters?

Last edited by slavik262 (2012-09-27 02:09:35)

Offline

#4 2012-09-27 03:04:06

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: systemd fails on boot

What do you use to boot?  Grub?  If so, I think you use <tab> (or is that syslinux or lilo maybe) when you see the grub screen.  In any case it should tell you what key to press when you see the grub screen.

Offline

#5 2012-09-27 04:45:29

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: systemd fails on boot

I'm not sure this helps, but did you configure your /etc/vconsole.conf?
https://wiki.archlinux.org/index.php/Sy … and_keymap

Offline

#6 2012-09-27 19:14:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: systemd fails on boot

WonderWoofy wrote:

What do you use to boot?  Grub?  If so, I think you use <tab> (or is that syslinux or lilo maybe) when you see the grub screen.

Grub2 is "e", Syslinux is <tab>. I don't remember what lilo is, it's been too long.

Offline

#7 2012-09-27 20:12:44

slavik262
Member
From: WA, USA
Registered: 2012-07-12
Posts: 46
Website

Re: systemd fails on boot

archie0 wrote:

I'm not sure this helps, but did you configure your /etc/vconsole.conf?
https://wiki.archlinux.org/index.php/Sy … and_keymap

I don't believe I have one set up, but the defaults should be just fine. My other arch setup on my laptop doesn't have vconsole.conf and I'm having no issues.

Offline

#8 2012-09-28 05:03:50

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: systemd fails on boot

slavik262 wrote:
archie0 wrote:

I'm not sure this helps, but did you configure your /etc/vconsole.conf?
https://wiki.archlinux.org/index.php/Sy … and_keymap

I don't believe I have one set up, but the defaults should be just fine. My other arch setup on my laptop doesn't have vconsole.conf and I'm having no issues.

By default, the file should be empty. Are you using SystemD on your laptop as well?

Offline

#9 2012-09-28 13:56:10

slavik262
Member
From: WA, USA
Registered: 2012-07-12
Posts: 46
Website

Re: systemd fails on boot

I am also using systemd on my laptop. I was able to use grub to set systemd.confirm_spawn=true like denisfalqueto suggested, but the initialization failed before the system even started accepting keyboard inputs. I ended up just backing up my files and reinstalling Arch to that partition.

As a bit of a post-mortem, does anybody know what could have caused something like this to happen? It was sudden and with no warning signs; I just turned the machine on the other day and it wasn't working.

Offline

#10 2012-09-28 14:38:32

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: systemd fails on boot

Scimmia wrote:
WonderWoofy wrote:

What do you use to boot?  Grub?  If so, I think you use <tab> (or is that syslinux or lilo maybe) when you see the grub screen.

Grub2 is "e", Syslinux is <tab>. I don't remember what lilo is, it's been too long.

Thanks for the clarification.  I not just use the EFI Stub loader w/ an efibootmgr entry, and when I want to change boot parameters, I just use the uefi shell.

Offline

Board footer

Powered by FluxBB