You are not logged in.

#1 2012-10-31 21:41:01

acidic
Member
Registered: 2011-11-24
Posts: 27

[SOLVED] Switch to systemd problem

Trying to switch to systemd I made a mistake.

I missed this step
3. Install systemd-sysvcompat. This conflicts with sysvinit, and will prompt you to remove it.

Now arch linux will not start. Is there anything I can do to fix this?

Thank you

Last edited by acidic (2012-10-31 23:55:21)

Offline

#2 2012-10-31 21:42:39

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

Re: [SOLVED] Switch to systemd problem

put init=/usr/lib/systemd/systemd in the kernel parameters in your bootloader.

Offline

#3 2012-10-31 21:43:12

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] Switch to systemd problem

What are the errors?  Do you have the "init=" line  in your bootloader?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#4 2012-10-31 22:08:22

acidic
Member
Registered: 2011-11-24
Posts: 27

Re: [SOLVED] Switch to systemd problem

It says "no innittab file found"

I have "init=/usr/lib/systemd/systemd" in the boot loader

Offline

#5 2012-10-31 22:16:00

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Switch to systemd problem

The package contains the following files:

pacman -Ql systemd-sysvcompat 
systemd-sysvcompat /sbin/
systemd-sysvcompat /sbin/halt
systemd-sysvcompat /sbin/init
systemd-sysvcompat /sbin/poweroff
systemd-sysvcompat /sbin/reboot
systemd-sysvcompat /sbin/runlevel
systemd-sysvcompat /sbin/shutdown
systemd-sysvcompat /sbin/telinit
systemd-sysvcompat /usr/
systemd-sysvcompat /usr/share/
systemd-sysvcompat /usr/share/man/
more manpages...

What you are missing is /sbin/init .

Explanation:
The kernel executes /sbin/init by default , which has been sysvinit before you removed it. The compat package now symlinks /sbin/init to /usr/lib/systemd/systemd to make the kernel execute systemd from /sbin/init .
If you provide the init=/usr/lib/systemd/systemd string on the kernel commandline the kernel starts this process instead of /sbin/init.
Change the string by pressing 'e' when selecting arch linux in grub2.

Offline

#6 2012-10-31 22:37:28

acidic
Member
Registered: 2011-11-24
Posts: 27

Re: [SOLVED] Switch to systemd problem

init=/usr/lib/systemd/systemd does not show up when I press e on arch linux

It was added to /etc/default/grub is this correct?

Offline

#7 2012-10-31 22:40:03

FlyingHappy
Member
From: Cincinnati, OH
Registered: 2011-04-18
Posts: 192

Re: [SOLVED] Switch to systemd problem

Did you run grub-mkconfig?  You need to do that for anything in /etc/default/grub to be written to the grub.cfg file

Offline

#8 2012-10-31 22:45:18

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Switch to systemd problem

acidic wrote:

init=/usr/lib/systemd/systemd does not show up when I press e on arch linux

Yes. Because it is you who has to add the string in the correct place. You have to enter the text on your own.

Last edited by teateawhy (2012-10-31 22:46:46)

Offline

#9 2012-10-31 23:54:39

acidic
Member
Registered: 2011-11-24
Posts: 27

Re: [SOLVED] Switch to systemd problem

Sorry I thought you meant to remove that string because I thought it would already be there from adding it to /etc/default/grub.

All fixed now thank you

Offline

Board footer

Powered by FluxBB