You are not logged in.

#1 2012-11-14 21:20:42

BentB
Member
From: Birkerød, Denmark
Registered: 2007-01-17
Posts: 19
Website

[SOLVED] Cannot boot into systemd first time

I ry to switch to systemd following the wiki article https://wiki.archlinux.org/index.php/Systemd. I have installed the 'systemd' package and try to boot into systemd after having manually added 'init=/usr/lib/systemd/systemd' to the kernel parameters in GRUB. The boot starts, but hangs after a while and then drops me into emergency mode.

The last lines on the console are:

...
[  OK  ]  Mounted /var
              Starting Load Random Seed
[  OK  ]  Started Load Random Seed
[  OK  ]  Mounted /boot
[ TIME ] Timed out waiting for device dev-mapper-vg2\x2dmusik.device
[DEPEND] Dependency failed for /musik
[DEPEND] Dependency failed for Local File System
[DEPEND] Dependency failed for D-Bus System Messages Bus Socket
[DEPEND] Dependency failed for Avahi mDNS/DNS-SD Stack
[DEPEND] Dependency failed for Login Services
[DEPEND] Dependency failed for /D-Bus System Messages Bus
[DEPEND] Dependency failed for Avahi mDNS/DNS-SD Stack Activation Socket
[DEPEND] Dependency failed for Basic System
[DEPEND] Dependency failed for Multi-User
[DEPEND] Dependency failed for Graphical Interface
Welcome to emergency mode! Type "systemctl default" or ^D to enter default mode.
Type "journalctl -b" to view system logs. Type "systemctl reboot" to reboot.
(or type Control-D to continue): _

(There may be errors in the above code - it is hand typed. If you would just accept photos ...)

The only way so far has has been to reboot into the 'old' system.

What have I done wrong??

Any help and/or pointers will be much appreciated.

Bent

PS replacing the 'sysvinit' package with 'systemd-sysvcompat' only makes things worse, because doing that makes it try to boot into systemd every time, even though the 'init=/usr/lib/systemd/systemd' line is no longer present among the kernel parameters. I had to use SystemResqueCD to remedy that situation.

Last edited by BentB (2012-11-15 09:14:54)

Offline

#2 2012-11-14 21:50:30

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] Cannot boot into systemd first time

[ TIME ] Timed out waiting for device dev-mapper-vg2\x2dmusik.device

It fails to find your LVM volume. I guess you are simply missing lvm.service. Log into emergency boot, enable lvm.service and reboot.

systemctl enable lvm

Offline

#3 2012-11-15 09:14:16

BentB
Member
From: Birkerød, Denmark
Registered: 2007-01-17
Posts: 19
Website

Re: [SOLVED] Cannot boot into systemd first time

That was it! Thanks a lot, 65kid. It also solved my automounting problem https://bbs.archlinux.org/viewtopic.php?id=152953. I can now continue my climb up the learning curve.

Offline

Board footer

Powered by FluxBB