You are not logged in.

#1 2013-02-18 17:47:08

slash_blog
Member
Registered: 2010-07-29
Posts: 15

systemd hangs

I just upgraded my laptop after one year. In the process I upgraded to systemd. I have uninstalled sysinit. During boot process systemd hangs at "Reached target Multi-user". Nothing happens afterwards. I can do Alt+F2, etc. and login but the first console window freezes.

The same story is repeated if I choose Graphical Interface Target.

Can somebody kindly give me pointers as to how to go about fixing this?

Offline

#2 2013-02-18 18:10:52

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: systemd hangs

The first thing to diagnoise is what cause the hang? Wait a couple of minute and try Ctrl-C or something, systemd normally eventually will put you in recovery mode, from there

journalctl

. If you can't access the system at all, then be sure that the disk is sync'ed, boot from a bootable CD, chroot into your system and do a journalctl from there (not tested, I hope journalctl works within a chroot).

Offline

#3 2013-02-18 20:45:29

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

Re: systemd hangs

@olive, it actually sounds like the OP is achieving a boot, albeit not a fully successful one. Since he/she indicated that ctrl+alt+f2 gets to a login, it would seem that it is not the recovery target, and is actually multi-user.target.

@OP, as suggested by olive, you need to help us help you, can do a bit of investigating.  You need to look through your logs or do something to actually give us some kind of clue as to what is failing.  It sounds like getty@tty1.service is failing, but from what you indicated in your fist post this is not certain.  You can issue a "systemctl" with no options and it will report back to you what is running/done, and what failed.  Read through the systemd wiki page to find more info on how to get this info and other helpful debugging tips.

Offline

#4 2013-02-18 23:55:18

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: systemd hangs

While you are reading the systemd wiki, double-check that you did everything required to migrate to systemd. As I remember them, the instructions there specifically suggest *not* uninstalling sysinit until you have booted successfully with systemd. Tell us what you did to upgrade and whether you got any errors.

A year is a long time not to upgrade Arch and there have been a lot of changes. Did you get any other errors? You could also try using the rescue target instead of the multi-user target to see if you can boot into that.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2013-02-19 00:06:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: systemd hangs

Are you sure it actually freezes?  Can you press enter and get a prompt.  It sounds silly I know - but it's happened to a few of us: a startup message prints to the screen after the login prompt and masks it, then nothing else happens and it looks "frozen", but it's really just waiting for a log in.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB