You are not logged in.

#1 2013-05-12 17:28:20

doubleslash
Member
Registered: 2011-08-16
Posts: 80

[SOLVED] Cannot migrate to systemd

Hello,
I did a full system upgrade. After that I can't get on the internet anymore. I tried starting wicd manually and got error messages concerning dbus. I figured it probably has to do with having to switch from initscripts to systemd. I followed the instructions Systemd Wiki
by adding to /boot/syslinux/syslinux.cfg the following line
init=/usr/lib/systemd/systemd
After rebooting, systemd still doesn't seem to work since
cat /proc/1/comm
returns "init"
systemctl enable dbus returns  "Operation failed. Invalid argument"
Thanks for your help.

Last edited by doubleslash (2013-05-14 17:43:26)

Offline

#2 2013-05-12 17:36:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Cannot migrate to systemd

Have you removed initscripts?

Offline

#3 2013-05-12 17:45:53

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] Cannot migrate to systemd

Removing initscripts can wait (as wiki suggests), but replacing initscripts+sysvinit by systemd-sysvcompat means you don't need to add the init parameter.

doubleslash wrote:

I followed the instructions Systemd Wiki
by adding to /boot/syslinux/syslinux.cfg the following line
init=/usr/lib/systemd/systemd

That is not a line to add to syslinux.cfg. It is a kernel parameter to include in one of the existing lines in your bootloader config. For syslinux, that is the APPEND line. Edit: this is explained perfectly on the wiki, if you follow the "kernel parameters" link in the migration instructions.

Last edited by Raynman (2013-05-12 17:51:22)

Offline

#4 2013-05-12 17:57:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Cannot migrate to systemd

https://wiki.archlinux.org/index.php?ti … to_systemd might help a bit (it's an old version of the wiki article).

https://wiki.archlinux.org/index.php/Kernel_parameters tells you more about the syslinux, because I'm pretty sure it's not in the systemd wiki and I don't know what part of the wiki told you to do, what you did with the bootloader.

Offline

#5 2013-05-12 18:01:47

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED] Cannot migrate to systemd

Are we talking wired or wireless Internet?  It is trivial to bring wired up by hand to complete your installation.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2013-05-13 23:57:08

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Re: [SOLVED] Cannot migrate to systemd

I'm following the instructions Kernel Parameters. When the boot menu shows up, I press TAB, which then allows me to edit this line

.linux ../vmlinuz-linux root=/dev/sda3 ro initrd=../initramfs-linux.img

I add the foollowing

init=/usr/lib/systemd/systemd 

After this, I'm greeted with the following screen

Welcome to Emergency Mode. After logging in type ...Give root password for maintenance or type Control-D to conitinue

I can only login as root. After login,

 cat /proc/1/comm

does produce "systemd." What services am I supposed to enable to get wireless working again? Also, I want to be able to login as a normal user.

Offline

#7 2013-05-14 01:27:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED] Cannot migrate to systemd

Okay, there is something more serious going on here.  It is not a matter of not having a wireless connection, you are getting dumped into an emergency shell.

Does it give you a reason in the few lines before it dumps you, unceremoniously, into emergency mode?
What, specifically, is the kernel command line in your boot loader?

Edit: Never mind, I missed the point of your previous thread.  What if try it with no init= clause?

Last edited by ewaller (2013-05-14 01:29:05)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2013-05-14 01:59:36

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Re: [SOLVED] Cannot migrate to systemd

What if try it with no init= clause?

Without it, I would log in as normal. The problem is dhcp is not started neither is dbus. Probably other daemons in my rc.conf are not started either.

Last edited by doubleslash (2013-05-14 02:03:15)

Offline

#9 2013-05-14 02:00:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Cannot migrate to systemd

There is no rc.conf in Arch anymore...
https://www.archlinux.org/news/final-sy … n-warning/


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2013-05-14 02:05:03

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Re: [SOLVED] Cannot migrate to systemd

jasonwryan wrote:

There is no rc.conf in Arch anymore...

That's why I'm trying to migrate to systemd. The file rc.conf is still there.

Last edited by doubleslash (2013-05-14 02:05:38)

Offline

#11 2013-05-14 02:17:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Cannot migrate to systemd

Remove it. And then enable the services you require (like dhcpcd, etc) as per the wiki.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2013-05-14 02:28:48

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

Re: [SOLVED] Cannot migrate to systemd

jasonwryan wrote:

Remove it. And then enable the services you require (like dhcpcd, etc) as per the wiki.

The OP has not successfully migrated to systemd yet.

Offline

#13 2013-05-14 14:43:03

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Re: [SOLVED] Cannot migrate to systemd

ewaller wrote:

Does it give you a reason in the few lines before it dumps you, unceremoniously, into emergency mode?

It gives 2 warnings

FAILED: Failed to mount /mnt/dvd

and

DEPEND: Dependency failed for local filesystem

Offline

#14 2013-05-14 14:48:49

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

Re: [SOLVED] Cannot migrate to systemd

Systemd takes real issue with fstab entries that are either borked or it doens't like for whatever reason.  What is in your fstab, and do you ahve something with a mountpoint of /dev/dvd in your fstab?

Offline

#15 2013-05-14 17:42:50

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Re: [SOLVED] Cannot migrate to systemd

WonderWoofy wrote:

Systemd takes real issue with fstab entries that are either borked or it doens't like for whatever reason.  What is in your fstab, and do you ahve something with a mountpoint of /dev/dvd in your fstab?

My /etc/fstab has some auto-mount options for mounting usb and dvd devices. I commented them out and repeated the instructions on Systemd Wiki. It works now. Many thanks to all.

Offline

#16 2013-05-14 22:04:48

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

Re: [SOLVED] Cannot migrate to systemd

Hey, glad to hear its a workin'!  Enjoy the systemd.  Though you can read many opinions otherwise, I really do think it is a pretty nice piece of software.

Offline

Board footer

Powered by FluxBB